style.css is not being accessed - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: style.css is not being accessed (/showthread.php?tid=5165) |
style.css is not being accessed - Lucianp - 2013-09-14 I am trying to convert HTML files to PHP using http://get-simple.info/wiki/themes:tutorial as a guide. My problem is that style.css is not being accessed. The code I am using is: Code: <link href=”<?php get_theme_url(); ?>/style.css” rel="stylesheet" type="text/css" media="screen" /> If I view the page source, I get this: Code: <link rel="canonical" href="http://localhost/My_CMS_Template/" /> thanks RE: style.css is not being accessed - n00dles101 - 2013-09-14 go to the settings page and make sure the site url is set to you full site url. RE: style.css is not being accessed - Lucianp - 2013-09-14 (2013-09-14, 03:10:09)n00dles101 Wrote: go to the settings page and make sure the site url is set to you full site url. The Website URL on the Settings page is http://localhost/My_CMS_Template/ I even changed it to http://localhost/My_CMS_Template/theme/ and http://localhost/My_CMS_Template/theme/My_Theme without any luck. From Code: <link rel="canonical" href="http://localhost/My_CMS_Template/" /> I don't think it is getting the theme url. thanks RE: style.css is not being accessed - Lucianp - 2013-09-14 I knew it was staring right at me. I had copied the code directly from the tutorial page. Code: <link href=”<?php get_theme_url(); ?>/style.css” rel="stylesheet" type="text/css" media="screen" /> Look at the first set of quotes. I retyped those in Notepad++ and now we're hunky dory thanks RE: style.css is not being accessed - Timbow - 2013-09-14 Ouch! How annoying for you. I see the quotes are all odd in the wiki text, I will fix it if I can. That should be all fixed now. Thanks for pointing it out, Lucian. RE: style.css is not being accessed - Lucianp - 2013-09-14 No probs mate, and thanks for the excellent tutorial. |