Hi,
I've been looking in stylesheet.css and can't find it - how do I change the background color of my side boxes or side columns?
Thanks
Hi,
I've been looking in stylesheet.css and can't find it - how do I change the background color of my side boxes or side columns?
Thanks
Happy to be a Zen Cart Monthly Donor! :)
The columns:
#navColumnOne, #navColumnTwo {background-color: #ff0000;}
The sideboxes are changed individually:
#categoriesContent {background-color: #000;}
For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.
Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.
Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.
Some prefer Firebug, which does much the same thing.
(If you're using Firefox 4-10, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)
Bookmarks