• 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

Primary Sidebar 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 › Primary Sidebar Widget

This topic is: resolved

Tagged: background color, parallax-pro, primary sidebar, Sidebar, widget

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago by Brandon1.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 28, 2015 at 9:10 am #172154
    Brandon1
    Participant

    On the Blog Page & Blog Posts in the Primary Sidebar, the first Widget allows a person to request a quote. I woud like to give the background of this Widget a solid color to make it stand out. However, when I do this it changes the color of the entire sidebar. Can I change the background color of this one Widget?

    http://s600658443.onlinehome.us/why-choose-an-independent-insurance-agent/
    November 28, 2015 at 10:43 am #172158
    Porter
    Participant

    This does the trick, add it to style.css:

    section#caldera_forms_widget-2 {
        background-color: #ff00ee;
        padding: 8px;
    }

    Change the color to whatever you want, and I added the 8px padding so that the text wasn't right on the edge of the colored background, as it looked bad. Increase it, remove it, up to you, but I like it with 8px personally. If the white background needs to be changed, or the text color in the forms, you can use this:

    .form-group .form-control {
        background-color: #202020;
        color: #ff00ee;
    }

    background-color for the background, color for the text color.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    November 28, 2015 at 5:15 pm #172170
    Brandon1
    Participant

    That worked. Thank you!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Primary Sidebar 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

© 2023 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