html5-boilerplate-for-wordpress icon indicating copy to clipboard operation
html5-boilerplate-for-wordpress copied to clipboard

Wrong location for stylesheets called in header.php?

Open viktorphoenix opened this issue 14 years ago • 3 comments
trafficstars

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:

viktorphoenix avatar Feb 18 '11 00:02 viktorphoenix

Solution:

Move the files in the html5-boilerplate folder into a subfolder and it will find the files.

Jaktlund avatar Feb 19 '11 22:02 Jaktlund

  1. Create a new folder on the same directory as "html5-boilerplate"
  2. Copy files in "html5-boilerplate" into the new folder
  3. Delete the "html5-boilerplate" folder
  4. Rename the new folder "html5-boilerplate"

That solved it for me.

AndyHendy avatar Mar 24 '11 23:03 AndyHendy

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.

tjkelly avatar Sep 24 '11 04:09 tjkelly