• 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

Generate Pro – .sidebar widget-title tweak for only Latest Tweets widget

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 › Design Tips and Tricks › Generate Pro – .sidebar widget-title tweak for only Latest Tweets widget

This topic is: resolved
  • This topic has 6 replies, 3 voices, and was last updated 11 years, 11 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 21, 2014 at 1:48 am #120136
    Adam Lee Rosenfeld
    Member

    Hi, I just built a site using the Generate Pro theme. I would like to change the color of the widget title in the sidebar solely for one widget, the Genesis Latest Tweets widget - all other widgets I want to remain as they are. I made the necessary changes to ".sidebar .widget-title" in my functions.php file, but this effected all the sidebar widgets, and I want to change only the Genesis Latest Tweets widget. Any pointers? Thanks

    August 21, 2014 at 2:15 am #120143
    Brad Dalton
    Participant

    Use Firebug to find the right class for the widget

    I think its been removed from Genesis now.


    Tutorials for StudioPress Themes.

    August 21, 2014 at 2:25 am #120144
    Adam Lee Rosenfeld
    Member

    Hi - thanks for getting in touch. I found the class - "widget latest-tweets" - but it does not appear in my functions.php file. How do I add this to my functions.php file and then tweak its colors? Or do I need to edit something else - like the css of the plugin itself?

    August 21, 2014 at 12:46 pm #120273
    Brad Dalton
    Participant

    Not your functions file please!

    style.css file

    Something like:

    .latest-tweets .widget-title {
        color: red;
    }
    

    Need a link to your site to inspect with Firebug.


    Tutorials for StudioPress Themes.

    August 21, 2014 at 2:42 pm #120295
    DTHkelly
    Member

    You could also use Widget CSS Classes plugin

    Brad's tutorial:

    Styling The Same Widgets Differently

    August 26, 2014 at 3:46 am #121082
    Adam Lee Rosenfeld
    Member

    Thanks so much, problem solved and I am now more educated!

    Site is live, thanks guys: http://waynehilsden.com/

    August 26, 2014 at 5:21 am #121088
    Brad Dalton
    Participant

    Looks good. Here's the CSS for anyone else wanting to do the same:

    .latest-tweets .widget-title {
        color: white;
        border-left-color: #eb232f;
        background-color: #eb232f;
        border-left: 0px solid;
    }
    

    You could also use this:

    .sidebar-primary .latest-tweets .widget-title {
    	background-color: #eb232f;
    	/* border-left: 6px solid #dbdbdb; */
    	margin-left: -40px;
    	padding: 20px 40px 20px 34px;
    }
    

    This will only change the latest tweets widget in the primary sidebar and not in any other sidebars plus we've commented out the border so you can see what the original style is.

    And leave the CSS before the Media Queries or the original position in the style sheet which is better than at the very end of the file.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Generate Pro – .sidebar widget-title tweak for only Latest Tweets widget’ 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