How to pick the right IDs or class names to customize?
Posted 29 November 2011 - 06:11 PM
I am very new to css. I have done some stuff on my own in the past and didn't have much trouble since I named everything myself. But I am having a hell of a time trying to figure out what ID or class (if I am right in what it's called) to pick in order to apply my own css. For example, I am able to change the background behind the logo because I was able to find "brand" something or other using firebug. BUT for the life of me I can't figure out how to change the default font size for my text widgets all at once. I tried using firebug for it. It finds ".textwidget" or ".widget-pad". So I tried:
What am I missing and how can I pick the right ones in the future? I used the same method for the brand.nav section and didn't have any issues.
Posted 29 November 2011 - 06:18 PM
is the right selector, but you may need to add an !important to get it to overwrite the default (this is a good rule of thumb to either do first or try second). So just make it look like
That should work. If it doesn't, try adding the main parent in front of it (with a space in between), like #sidebar_primary or #sidebar1 or #sidebar2.
Posted 30 November 2011 - 02:38 AM
Posted 30 November 2011 - 03:29 AM
Posted 30 November 2011 - 02:41 PM