Adding some classes or IDs
-
Hey there y’all.
Oooooooo boy oh boy! I would love anyone who could help me out here. So I am very comfortable in editing. But I’m trying to wrap my head around some WordPress stuff here.
For now, this is what I am working on and need help with: I am editing a theme for a buddy. There are two widgets in a sidebar. Both have a little “header” if you will, or title bar above the widget box. This is pulling it’s style of the stylesheet, and is pulling in a #color in the title bar.
Okay. So I want the two widget title bars to be different colors. So in the style sheet I’ve added a new id. Example:
#sidebar h3 {background: #1D3B4A;}
I added:
#sidebar #contact_newsletter h3 {background: #0DAACF;}Now I’m ready to add the ID of #contact_newsletter to the one widget that I want to change the color of. Sooooooo…..now I hit my wall. I understand that WordPress is PHP driven, and that the PHPs generate the HTML code. But I know somewhere there is some file that is telling wordpress that these widget areas should all have a “title bar” with H3 tag text, and #1D3B4A background.
Does that make sense? Thanks everyone.
- The topic ‘Adding some classes or IDs’ is closed to new replies.