• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How route css or font files

#1
Hi
I download a template html and try use this html in my project Codeigniter
When i open site,the fonts cannot load
But when i add url to start of fonts manually,fonts are loading and it is OK
Why?
How do i can load fonts without add url in fonts url?
Reply

#2
When url is http://[::1] fonts not load but when url is localhost,there is no problem
Why?
Reply

#3
You haven't set your base_url in your application/config/config.php
Reply

#4
Specify a base URL for all relative URLs on a page:


Code:
<head>
  <base href="<?= base_url();?>">
</head>
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.