Okay
  Public Ticket #294835
White background for each column on Recent Post
Closed

Comments

  • Milan started the conversation

    Hi pps,

    How can I add white background for each column under Recent post section. 
    I've added Recent posts section on my homepage but I would like for my columns of each post to have white background so they are different from section background (if this makes sense :) ). I've attached examples. Thanks!

    White background 
    (http://themenectar.com/demo/salient-ascend/blog-infinite-scroll/)

  •  8,839
    Tahir replied

    Hey Milan!

    Please provide your site url so i can write up some custom css for that particular section. 

    Thanks


    ThemeNectar Support Team 

  • Milan replied

    Hey, 
    Thank you for replay. 

    Here is the link (still WIP):
    http://zjudesign-001-site7.smarterasp.net/

    Also when you are already here. How can I display only 3 posts under "recent posts" category? I've used settings from FAQ but they dont seams to work.

    Kind regards,
    Milan

  • Milan replied

    Found the way to make 3 posts per "recent posts" category...have to update my theme :D 

  •  8,839
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel :
    .container-wrap {
        background-color: #fff !important;
    }
    
    
    .home .vc_span8.wpb_column.column_container.col.no-extra-padding.has-animation {
        background: #fff !important;
    }
    .main-content >.row > .full-width-section >* {
        background-color: #fff ;
    }
    
    Thanks


    ThemeNectar Support Team 

  • Milan replied

    Hey,

    I really appreciate effort you put in helping me but this didn't work. It still gives me full white background under "Recent posts" section without color break between posts (see file attached). Thank you again.

  •  8,839
    Tahir replied

    Hey Again!

    Add this into the Custom CSS box located in your Salient Options panel :
    .home .row.blog-recent .col.span_3.one-fourths {
        background: #fff !important;
        padding: 10px;
    }
    Thanks


    ThemeNectar Support Team 

  • Milan replied

    Hey,

    Works like a charm ! Thank you! Great support from you guys!