I'm doing Chris's Creating and Editing Custom Themes from Lynda.com and using the exercise files and am having a lot of trouble with the links and paths to files and images. For example, Chris puts the product.css file in the theme and links to it from the header using
If I put it in the same place and use the same link, it doesn't link. I have tried putting it in the root of the theme like style.css and linking with either /product.css or product.css , still no joy The only way I can get it to show is to paste the css into the style.css
The .htaccess file is as follows: [code]# BEGIN WordPress
Thanks, but that's not it, I tried several things and have removed the space in the code, it's good to know that. Got it now, sometimes the brain gets stuck on one thing and can't see anything else. The template name had a typo. Thanks
If I put it in the same place and use the same link, it doesn't link.
I have tried putting it in the root of the theme like style.css and linking with either /product.css or product.css , still no joy
The only way I can get it to show is to paste the css into the style.css
The .htaccess file is as follows:
[code]# BEGIN WordPress
RewriteEngine On
RewriteBase /widgetcorpWP/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /widgetcorpWP/index.php [L]
# END WordPress
[/code]
Am I right in thinking that this has something to do with it? Any ideas, this is driving me nuts.
do you have a space in the real code?
Coz that would probably be outputting:
which would break, as you can see :)
Got it now, sometimes the brain gets stuck on one thing and can't see anything else. The template name had a typo.
Thanks