Changing Theme background color in style.css
-
I’m using lilypad-25 for a theme, but have changed the header look completely, as well as the color scheme from blue to black and gray, but left the theme’s blue background alone. Last night, I decided to get rid of the blue altogether, but have not been successful in changing the underlying background color in style.css, so the blog looks pretty ugly right now:
Perhaps I’m trying to edit the wrong area? Here’s the text at the very top of style.css, which I think is the basic page background. I want to change the 304663 blue to plain black, #000000.
/* BODY {
background: #304663 url(images/bg.jpg) repeat-x;
*/
I want to change the 304663 blue to plain black, #000000
bg.jpg is a background image component, but is used only along the top row across the screen, and served (in the original, pre-modified theme) as a gradient area to transition from a very dark blue to the lighter blue of the background. The modified bg.jpg is now solid black.
I edited style.css in Notepad on the computer, and then ftp’d it to the theme directory. I don’t have a lot of knowledge about this–for instance, I couldn’t write a style sheet myself from scratch, and just know to keep any changes formatted exactly like the pre-change text.
My issue is that I either need to change the underlying background color, or just have bg.jpg repeat to fill the entire background, not just the top row.
I updated from 2.7 to 2.9 last night, too, and for some reason, I’m now getting borders around all images. I could do a separate post on it, but my guess is I just can’t find the right switch, or is this something I need to correct in style.css, too?
Thanks for any help!!
Ron H
- The topic ‘Changing Theme background color in style.css’ is closed to new replies.