• 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 area needs transparent background

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 area needs transparent background

This topic is: resolved

Tagged: agency pro, css, text widget

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 3 months ago by Eduardo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 5, 2016 at 1:02 pm #175662
    Eduardo
    Member

    I'm currently working with the Genesis Agency Pro theme and I've inserted a text widget in the Home Middle widget area, but I need it to have a completely transparent background.

    The widget seems to be inheriting an opaque background when I try and use the background-color: transparent; property-value. I've written the following code to figure out what's going on. The property works with other color values.

    .home-middle {
    	background-color: blue;
    }

    Everything in blue, including the text background, needs to be transparent.

    I'm not sure if this is relevant, but it is somewhat puzzling; even the widget-title is inheriting it's color from the CSS code on line 1215 instead of the code I've written on line 1393.

    http://staging.trytobosa.org
    January 5, 2016 at 1:48 pm #175672
    Tom
    Participant

    "inheriting it’s color from the CSS code on line 1215 instead of the code I’ve written on line 1393."

    Even though your edit is further down in the stylesheet, the earlier statement has more specificity and therefore more 'weight'. Generally, you want to make your selector only as specific, only as powerful, as necessary

    Work this code into your stylesheet before the media queries, after line 247:

    .home .content,
    .home-middle {
        background-color: transparent;
    }
    
    .agency-pro-home .content .widget_text .widget-title  {
    	color: red; /* your colour code here */
    }
    
    .home-middle .wrap .widget  {
        background-color: transparent;
    	color: #fff;  /* your colour code here */
    }

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    January 6, 2016 at 6:08 pm #175799
    Eduardo
    Member

    Thanks for the tip Tom. You code worked well.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Widget area needs transparent background’ 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