I have been working on a subtheme (using genesis-1c) and I have added a dark background image. I used firebug to figure out how to add bg images to "body" and "body > #container" in style.css (not sure if this is the way to do it, but it looks like it works). Now, as can be expected, I am having trouble reading the dark text on a dark bg.
I have managed to add a white bg to the nodes and sidebars, so the text is ok there. (".node-inner" & ".node-form" in nodes.css, ".sidebar .block .block-content" in blocks.css)
My problem now is that I cannot figure out how to edit the background color on the admin, contact & user pages (/admin, /admin/*, etc.) without also changing the background on the front page nodes. When I use firebug, it looks like I need to edit #main-content, but then this affects the front page content as well (it fills in the space above and below each node so it creates a solid column of white which I don't want).
Sorry for the noob question, but can someone help me figure out what I need to edit to just change the background color (for the main column) on those pages?
Comments
Comment #1
Jeff Burnz commentedYeah, I feel your pain, reality is there is no easy way around this but the good old fashioned hard way...
On those pages you'll want to leverage the body classes that are set on the container div, the ones like page-xxx-xxx OR the section class that is like section-xxx and use that to target the #main-content div.
You'll end up with heaps of this such as:
.section-contact #main-content {background: #fff;}
Comment #2
billl4 commentedThanks Jeff. That does the trick. I was trying #main-content .section-admin {background: #fff;} and I could not figure out why it was not working. I guess it helps to know what you are doing. ;o))
Thanks also for your videos. They are very helpful. I'm almost done with the first version of my subtheme and it's really starting to look good (at least in firefox).
One other Q. When I update my theme to the next version that you release, will I be able to just copy my subtheme folder over, or will I have to take your new Genesis SUBTHEME and redo all the changes that I am currently making?
Cheers
Comment #3
Jeff Burnz commentedPretty much an upgrade just means upgrading the base theme and then looking at the whats not looking right in the subhtheme and fixing it.
In the next release I am not planning any major changes, just a few bug fixes and some smaller changes, so it should be very strait forward to upgrade.
Comment #4
billl4 commentedSounds good. Thanks again for your great theme and all your help.