Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #396383

    Hello,

    How to add a background colour to the widgets added to the blog sidebar?
    Not a necessarily a global bckg colour but a specific colour to one or several widgets

    Thanks

    #396663

    Hi JTV Digital!

    Please post the link to your website and point out the widget area you would like to adjust

    Regards,
    Yigit

    #396715

    For example in the sidebar of http://www.jtvdigital.com/blog/

    Let’s say the sign up plugin (mc4wp), how about setting up a background colour?

    Thanks

    #396854

    Hey!

    Thank you for coming back.

    Try to use the following:

    
    .sidebar .widget_mc4wp_widget {
        background: none repeat scroll 0 0 red;
    }
    

    You probably will have to add some padding also.

    Each widget also has a unique ID you can use.

    Best regards,
    Günter

    #408961

    Thanks but not sure what parameters to use really (I tried and it was pretty ugly…)

    Would you mind sending over the css code for .sidebar .widget_mc4wp_widget

    What I want is a #F2F2F2 colour all around the form (using the available sidebar space between 2 sidebar widgets elements)

    Thanks much

    #410285

    Hi!

    Add this to the custom css field:

    section#mc4wp_widget-2 > * {
      display: block;
      clear: both;
    }
    
    section#mc4wp_widget-2 {
      background: #f2f2f2;
      padding: 10px;
    }

    Regards,
    Ismael

    #410367

    perfect thanks!

    #410400

    Hi!

    Glad we could help you. Enjoy the theme.

    Cheers!
    Günter

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Sidebar widgets background colour’ is closed to new replies.