Changing one text widget, but not all of them?
-
Hi – I want to change one of the text widgets on one of my pages in my first sidebar in the Gridiculous Pro theme, but I don’t want to change every widget on every page. How do I use CCS to isolate just the one widget?
Thanks!
The blog I need help with is: (visible only to logged in users)
-
If you mean to change the style of Studio Schedule widget, then its CSS ID is text-8 so you can use
#text-8 { //add style rules here }
How do you wish to style it?
-
Thank you! The one I’m looking at is actually the “Web-Only Special”. I can figure out the code to change the background and the text color, but how do I figure out what the CSS ID of the individual widgets are?
thanks
-
Here are the selectors for
heading:
#text-28 h3 { color: green; background-color: yellow; }
text:
#text-28 .textwidget { color: green; background-color: yellow; }
The colors are not important. Change them to your preference.
The following support documents teach you how to find the selectors:
1. How to Find Your Theme’s CSS
2. An Intro to CSS: Finding CSS Selectors
- The topic ‘Changing one text widget, but not all of them?’ is closed to new replies.