Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1051487
    Jacko_Pinto
    Participant

    Hello,

    I’m working on this site and are using the side menu layout. On inside pages, I’d like to use a different background color. You’ll notice that the menu bar has a white background and so does the content section (see attached)… how can I change the background color of the content section?

    Thanks!

    #1051489
    Jacko_Pinto
    Participant
    This reply has been marked as private.
    #1051858
    John Ezra
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.

    .entry-wrap.entry-content {
        background: #f2f2f2;
    }

    Hope this helps – thanks!

    #1082512
    Jacko_Pinto
    Participant

    Thank you very much!

    #1082807
    Christopher
    Moderator

    You’re welcome.

    #1088794
    Jacko_Pinto
    Participant
    This reply has been marked as private.
    #1089170
    Jade
    Moderator

    Hi there,

    Please update the code to:

    .single-post .entry-wrap,
    .entry-wrap.entry-content {
        background: #f2f2f2;
    }

    Hope this helps.

    #1092760
    Jacko_Pinto
    Participant
    This reply has been marked as private.
    #1092974
    Rupok
    Member

    Hi there,

    To add this to blog page, you can use this :

    .blog .x-main.full {
      background: #f2f2f2;
      padding: 0 15px;
    }

    If you want to apply for each post individually instead of full page, use this instead :

    .blog .x-main .hentry {
      background: #f2f2f2;
      padding: 30px 20px;
    }

    Hope this helps.

    #1093966
    Jacko_Pinto
    Participant

    Worked great. Thank you very much!

    #1093984
    Nabeel A
    Moderator

    Glad it worked.

    Cheers!

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