ThemeShaper Forums » Thematic


CSS for a specific widget title

(3 posts)
  • Started 10 years ago by oakview
  • Latest reply from oakview
  • This topic is resolved
  1. oakview

    Occasionally I might place two or more text widgets in one of the asides. Often I want to underline the widget title on just one of the widgets. Looking at the CSS with Firebug, I don't see an easy way to do this other than use the id="text-2" identifier. Is this a static identifier, or is it dynamic and I should not use it in the CSS for underlining? Other suggestions to isolate one text widget title in the same aside?

    <li id="text-2" class="widgetcontainer widget_text">
    <h3 class="widgettitle">Previous Issues</h3>
    <div class="textwidget">
    Coming soon...

    Posted 10 years ago #
  2. Hi oakview,

    The "text-2" id is the way to go. It is static and unique to each text widget created. I use the #text-* id all the time for specific styles with no problem :)


    Posted 10 years ago #
  3. oakview

    Sweet! Thank you again.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.