WP 2.5 RC1.1 03-26-2008 Ignoring Header Style in CSS
-
I have a weird problem. I have my header parameters set in my stylesheet, but as far as I can tell WP is ignoring the CSS, and inserting its own code. In my CSS, I have the following:
#header { padding: 0px 0px 5px 0px; width: 750px; height: 200px; background: #000000 url(images/header.jpg) 0 0 no-repeat; }
But for some reason, my header has a white (#FFFFFF) background.
I inspected the code in Firebug, and noticed that my code in CSS is crossed out, and the style is instead being read from:
WordPress line 18.
If I view source of my index, I notice the following code inserted in the header:
<style type="text/css"> #header { background: #FFFFFF url(http://localhost/wordpress/wp-content/themes/mine_2.3/images/header.jpg) 0 0 no-repeat; height: 200px; width: 750px; } </style>
I have not inserted this code into the header. I have searched my CSS, and there isnt anything with a white background anywhere. I am also positive that I am editing the correct files. I have a feeling that has something to do with the “Custom Header Image” option in the admin panel, though I have no idea how to turn it off, or alter the background.
This is copied from Firebug. My CSS is clearly ignored, and it appears WordPress is doing the styling:
#header {wordpress (line 18) background:#FFFFFF url(http://localhost/wordpress/wp-content/themes/mine_2.3/images/header.jpg) no-repeat scroll 0pt; height:200px; width:750px; }
This is crossed out in Firebug:
#header {style.css (line 84) background:#000000 url(images/header.jpg) no-repeat scroll 0pt; height:200px; padding:0px 0px 5px; width:750px; }
Any ideas?
- The topic ‘WP 2.5 RC1.1 03-26-2008 Ignoring Header Style in CSS’ is closed to new replies.