• 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

Simple Social Icons Background Color Issue

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 › Simple Social Icons Background Color Issue

This topic is: resolved

Tagged: simple social icons

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 4 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 19, 2017 at 5:39 am #203385
    joe1515
    Participant

    I am using Simple Social Icon widget on two different widgets the footer, and Side Bar. Whenever I make a change to one of the widget background colors it overrides the other widgets background color. I am using the smart passive income theme.

    Website address is http://www.socialsecurityteacher.com

    http://www.socialsecurityteacher.com
    March 20, 2017 at 6:53 am #203439
    Victor Font
    Moderator

    That's the way the plugin works. You only have 1 instance of the plugin regardless of how many times you place the widget. The plugin also generates the CSS for the background color as inline CSS which makes it difficult to override. In order to have different background colors for the two widget areas, you have to write your on CSS and make sure it is placed after the CSS generated by the plugin.

    The CSS for the footer widget is:

    #simple-social-icons-20 .simple-social-icons ul li a, #simple-social-icons-20 .simple-social-icons ul li a:hover, #simple-social-icons-20 .simple-social-icons ul li a:focus {
        background-color: #8c8a84 !important;
        border-radius: 0px;
        color: #ffffff !important;
        border: 0px #ffffff solid !important;
        font-size: 33px;
        padding: 17px;
    }

    For the sidebar you would use:

    #simple-social-icons-18 .simple-social-icons ul li a, #simple-social-icons-18 .simple-social-icons ul li a:hover, #simple-social-icons-18 .simple-social-icons ul li a:focus {
        background-color: #8c8a84 !important;
        border-radius: 0px;
        color: #ffffff !important;
        border: 0px #ffffff solid !important;
        font-size: 33px;
        padding: 17px;
    }

    What I've done is added the id of the widget itself as generated by WordPress. This allows you more granular control over the colors.

    I would hook this code into the wp_head hook so it is written before the /head tag.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and 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