Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1029233
    armintz
    Participant

    I’ve changed the background color of my sidebar by using:

    .x-sidebar {
    background: #696969;
    padding: 35px;
    margin-top: -35px;
    border-radius: 8px;
    }
    

    The issue is that the default WP widgets in the sidebar do not inherit the same background color… so white boxes appear in the sidebar for my Latest Posts and Post Archives widgets… see screenshot.

    How can I change these to match my sidebar’s main background color? Thank you

    #1029601
    Lely
    Moderator

    Hi There,

    Please try adding the following CSS:

    .widget ul li, .widget ol li {
        background-color: transparent;
    }

    If this doesn’t work, please share your site URL so we can check further.

    Hope this helps.

    #1030006
    armintz
    Participant

    It works – thank you.

    #1030249
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1029233 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>