Okay
  Public Ticket #367974
Background color
Closed

Comments

  • Federica started the conversation

    Hi!

    While fixing my site I found that I need a white background color for all my portfolio and posts pages, however I still want to be able to see the boxes on the main blog page. I found a css code from previous public tickets that allowed me to make all backgrounds white, however it does not allow me to have a blog page with either a different color background or colored posts' "boxes" (the blog main page all white looks way too flat).

    Is there a way to fix this?

    Thank You in advance!

  •  8,848
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel :
    .ascend .masonry-blog-item {
        background-color: #f6f6f6 !important;
    }

    Thanks



    ThemeNectar Support Team 

  • Federica replied

    It works pretty well. Thanks!

    Since I am using a child theme already, in order to save my small customizations, will this modification in the custom CSS box have to be re-updated overtime I update the theme or will it be saved in the (child)theme already?

    Also, is there a way to have the blog page as the original (grey background and white boxes) but the rest of the pages of my site and blog with a white background?

    Thanks again!

  •  8,848
    Tahir replied

    Hey Again!

    Sure, Add this into the Custom CSS box located in your Salient Options panel :

    body.blog .container-wrap {
        background-color: #f6f6f6 !important;
    }
    .blog.ascend .masonry-blog-item {
        background-color: #fff !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Federica replied

    Thanks!