Possible noob question -- please be nice.
I'm doing up a theme options page using the sample from Themeshaper, and one of the options I want to have is to set the width of the sidebar.
To do this with the CSS I already have, I need to change class attributes in my HTML in two places (one for the main column width, one for the sidebar).
The Themeshaper code is fine for adding little theme option tweaks, but I can't figure out how to get a single option to modify two places in the code at once.
Possibly (hopefully!) a simple question, but beyond my current abilities.
Any help greatly appreciated. Thanks.
I should clarify that I'm not a programmer, and I'm already waaay out of my depth. That said, here's what I'm going for... In my theme options page, I want to have a drop-down menu with two options: 'wide sidebar' and 'narrow sidebar'. One of these will be the default. Changing the default needs to modify two CSS classes. I appreciate Rarst's answer below but I simply don't know enough about PHP to be able to get it to work. Is there a simple(r) explanation for how to get this to happen? Again, sorry if this is basic stuff.