Integrated blog not using style.css
-
I recently tried to integrate a WP blog into an existing website. I used the twenty ten default theme as my template. Here is an abreviated list of the steps I took:
- take a sample page from the website
- take out everything that makes up the header and save as header.php
- do the same for the footer
- take out what you don’t need from what’s left and insert the loop
I’ve got the blog working, but when I was trying to modify the style sheet none of the changes I mage had any impact. After several days of tinkering I discovered that the blog is not accessing the style sheet at all. I can delete everything from the style sheet except the opening php that WP needs and the blog still works using whatever styles it gets from my website’s main stylesheet. If I change the font color or size in my website’s style sheet the fonts change in the blog.
I tried linking the style sheet to the header.php but that didn’t work. I’m hoping that someone here has some suggestions. About the only thing I could think of was to copy the styles that I need from the style.css and copy them into my website’s css file.
- The topic ‘Integrated blog not using style.css’ is closed to new replies.