html5-boilerplate-for-wordpress
html5-boilerplate-for-wordpress copied to clipboard
Wrong location for stylesheets called in header.php?
After making a few changes to the stylesheet and noticing they weren't being applied, I saw that the stylesheet being called in the header wasn't the one that Wordpress is using.
Should be:
Solution:
Move the files in the html5-boilerplate folder into a subfolder and it will find the files.
- Create a new folder on the same directory as "html5-boilerplate"
- Copy files in "html5-boilerplate" into the new folder
- Delete the "html5-boilerplate" folder
- Rename the new folder "html5-boilerplate"
That solved it for me.
This problem occurs because of a conflict with the /theme-name-here/html5-boilerplate/.htaccess file.
The readme.markdown documentation tells us to paste the html5-boilerplate .htaccess content into the root-level .htaccess file. That's where it belongs.
What the docs don't say is that keeping a full copy of the .htaccess file inside the /theme-name-here/html5-boilerplate/ will cause access conflicts for files inside that directory.
Move, delete, rename, or empty that /theme-name-here/html5-boilerplate/.htaccess file and your problems should disappear.