How route css or font files - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: How route css or font files (/showthread.php?tid=75075) |
How route css or font files - omid_student - 12-17-2019 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? RE: How route css or font files - omid_student - 12-17-2019 When url is http://[::1] fonts not load but when url is localhost,there is no problem Why? RE: How route css or font files - jreklund - 12-17-2019 You haven't set your base_url in your application/config/config.php RE: How route css or font files - InsiteFX - 12-17-2019 Specify a base URL for all relative URLs on a page: Code: <head> |