Transparent Widget Background

Support Area › Forums › Foundation › Transparent Widget Background

Viewing 3 posts - 1 through 3 (of 3 total)
URL to the page in question:
  • Author
    Posts
  • #12090
    Jordan Howard
    Participant

    How do I make my background transparent as in your demo for the widgets added to the home page.

    #12091
    Bill Robbins
    Participant

    Jordan,

    Thank you for your business first of all. Good question too. On the home page of the demo, the Featured Posts widget and the Sponsors widget both have transparent backgrounds by default. The newsletter, action and donation widgets have a color that’s unique to their “bar style” layout. You can choose that one in the Styling tab of the theme options page or in the theme customizer.

    The other widgets on the home page use the same background color as the widgets do on the inside pages. In the demo, that’s a text widget, recent comments widget and a video widget.

    If you’d like to make the widgets on your home page not have a background you can do that. Go to the Theme Options page and select the Styling tab. Scroll down to the Custom CSS box and paste this:

    
    .home .widget.shadow {
    	background: transparent;
    	-moz-box-shadow: none;
    	-webkit-box-shadow: none;
    	box-shadow: none;
    }
    

    Then update your settings and that will set the widgets to have a transparent background and also remove their shadow.

    If you have any trouble, let me know,
    Bill

    #12092
    Bill Robbins
    Participant

    Jordan,

    Glad that worked. You can look at the style.css file if you’d like to. It’s in the foundation.zip file that you downloaded from our support site if you’d like to look at it on your local computer.

    You can also access it inside of WordPress. Go to the Appearance section in your WordPress control panel and select Edit. That will bring up the theme editor. It usually defaults to the style.css file, but you can select it (or any of the other files) by clicking it from the list on your right.

    If you do make any direct changes to the theme files, do be aware they will be overwritten if you update the theme. For that reason, it’s considered a best practice to place your customizations inside a Child Theme.

    If I can help, let me know,
    Bill

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Transparent Widget Background’ is closed to new replies.