Making fonts awesome work ? |
I've been struggling with fa fa icons not showing up. Then I found this solution on SO and it worked:
That's in config.php, I used to have $config['base_url'] = 'http://www.mysite.ca' Then I changed it to: Code: $root=(isset($_SERVER['HTTPS']) ? "https://" : "http://").$_SERVER['HTTP_HOST']; Is this a standard way to make fonts awesome work or there is a simpler way? And why it worked when I changed it? CI 2.2.2
Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time. The only people who never tumble are those who never mount the high wire.
|
Messages In This Thread |
Making fonts awesome work ? - by lexxtoronto - 05-31-2015, 12:11 PM
RE: Making fonts awesome work ? - by Diederik - 05-31-2015, 04:27 PM
RE: Making fonts awesome work ? - by wolfgang1983 - 05-31-2015, 06:05 PM
RE: Making fonts awesome work ? - by pgfepale - 03-14-2016, 04:14 AM
RE: Making fonts awesome work ? - by InsiteFX - 03-14-2016, 05:07 PM
RE: Making fonts awesome work ? - by souravlove - 06-08-2018, 02:44 PM
RE: Making fonts awesome work ? - by PaulD - 03-14-2016, 07:07 PM
RE: Making fonts awesome work ? - by albertleao - 03-14-2016, 09:11 PM
RE: Making fonts awesome work ? - by PaulD - 03-15-2016, 09:04 AM
RE: Making fonts awesome work ? - by AmarBunty - 05-05-2016, 10:01 PM
|