WordPress.org

Ready to get started?Download WordPress

Forums

Changing a title style for a specific Widget? (3 posts)

  1. jonnyw
    Member
    Posted 4 years ago #

    I've styled the sidebar widget titles so they have an icon before the title

    #sidebar h4 {
    color: #FFFFFF;
    font-size: 20px;
    font-family: Times New Roman;
    font-weight: bold;
    margin: 0px 0px 10px 0px;
    padding: 3px 0px 3px 40px;
    background: url(images/homeicon.png) no-repeat scroll left center;
    }

    I have one particular widget where I want the icon to be different.

    The test site is here:

    http://scusiciao.com/prime

    The problem is, all sidebar widgets assume H4 for the title - I need a way to tell this particular widget (the video one) to use, say H8 which I can then style the same as H4 but jsut give it a different little icon in the stylesheet.

    Anyone have any clues?

    thanks :>

    J

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    There's no such tag as H8 so that approach won't work. You could, however, style on .vimeosidebar h4.

  3. jonnyw
    Member
    Posted 4 years ago #

    thank you thank you thank you!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags