Adding additional stylesheets?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 20, 2016 12:59 pm
Reply with quote
Report this post
Hi all,

I am using some additional html social icons (non joomla based) and need to include the following:

Code: Select all
$doc->addStyleSheet($this->baseurl . '/templates/gk_simplicity/css/social.css');
    $doc->addStyleSheet( '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css');


But it seems no matter where i put the code, the stylesheets are not loading? Can you advise which php file i need to put these in to ensure they load?

Regards
Donna
User avatar
Fresh Boarder

teitbite
Tue May 24, 2016 2:41 pm
Reply with quote
Report this post
HI

This code should be placed in /layout/block/head.php
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.