• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Widget Titles in News Pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Widget Titles in News Pro

This topic is: resolved
  • This topic has 7 replies, 2 voices, and was last updated 11 years, 10 months ago by Brad Dalton.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 25, 2014 at 2:10 pm #115849
    australianbluegrass.com
    Member

    Is it possible to have 2 different styles of titles (.widget-title) for widgets in the side bar and widgets on the home area?

    http://australianbluegrass.com
    July 25, 2014 at 2:27 pm #115851
    Brad Dalton
    Participant

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


    Tutorials for StudioPress Themes.

    July 25, 2014 at 3:07 pm #115857
    australianbluegrass.com
    Member

    Thanks Brad, Looks like I have some study ahead.
    Looking forward to the challenge.

    Greg.

    July 25, 2014 at 3:20 pm #115859
    Brad Dalton
    Participant

    Just use Firebug to find the correct class


    Tutorials for StudioPress Themes.

    July 25, 2014 at 11:13 pm #115890
    australianbluegrass.com
    Member

    That works well. Thanks Brad.
    Is there a way of grouping all of the classes or will i need a separate class title for each widget?

    Here is one I have done to date. But there are separate widgets for #featured-post-2 through to #featured -post-10.

    #featured-post-2 .widget-title {
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    color: #FFF;
    background-color: #005566;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 18px;
    padding: 8px;
    text-align: center;
    text-transform: uppercase;
    }

    July 26, 2014 at 12:54 am #115892
    Brad Dalton
    Participant

    You can find the classes using Firebug.

    There are many options so you would need to be very specific.


    Tutorials for StudioPress Themes.

    July 26, 2014 at 2:52 pm #115930
    australianbluegrass.com
    Member

    ITo simplify the post I have removed some of the CSS.

    Currently I have added ten additional selectors and repeated the declarations for each one. This has worked well. Many thanks.

    #featured-post-2 .widget-title {
    color: #FFF;
    background-color: #005566;
    }
    #featured-post-3 .widget-title {
    color: #FFF;
    background-color: #005566;
    }
    #featured-post-4 .widget-title {
    color: #FFF;
    background-color: #005566;
    }

    Is it possible to reduce the number of selectors and declarations these by combining the "section ID" calls such as,

    #featured-post-2, #featured-post-4 #featured-post-4 .widget-title {
    color: #FFF;
    background-color: #005566;
    }

    Or similar?

    July 26, 2014 at 3:26 pm #115934
    Brad Dalton
    Participant

    Yes or you may also be able to use one I.D class #featuredpost

    .home #featuredpost .widget-title {
    color: #FFF;
    background-color: #005566;
    }

    Test the different I.D's and classes you can grab using Firebug to see what works.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Widget Titles in News Pro’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble