Widget Title Styling

Community Forums Forums General Discussion Widget Title Styling

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #65332

    Fiesta
    Participant
    Post count: 13

    Could someone please explain a couple of points regarding the widgets titles which appear on the homepage of my Lifestyle theme:

    (1) In the source code of some Lifestyle sites I see:

    <h4 class=”widgettitle”>Text</h4>

    but on mine I see:

    <h4 class=”widget-title widgettitle”>Text</h4>

    Why the difference? Any significance?

    (2) Where do I style this title? I cannot see it in the style.css file.

    Thanks

    #65619

    braddalton
    Participant
    Post count: 10568

    The easiest way is to grab the section i.d for the widget using Firebug and use that in a new rule like this:
    [css]
    #categories-24 .widget-title {
    font-size: 2.7rem;
    color: white;
    }
    [/css]

    Source http://wpsites.net/web-design/style-widgets-individually-beginners-guide/


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.