More post on Latest news in homepage

Hi,

I want 6 latest news in my homepage and I replaced the original  code with yours:

$args = array( 'post_type' => 'post','posts_per_page' =>6,'post__not_in'=>get_option("sticky_posts")); 

but I have 3 post on the first line, 2 post on the second line and 1 post on the third... why?

I use a child theme and if I replace all the code, then I don't have any latest news in the homepage.

Where am I wrong?

Thanks

Marcella

www.graficasaltamonte.it/nelgiocodeljazz

Comments

  • Hi 
    Thanks for contacting to us.
    For this simply go to appearance >> customzier  >> header setting >>Additional css box. 
    Add the below css code inside the custom css box.

    .span4.latest_news_section:nth-child(3n+1) {
        clear: inherit ! important;
    }

    Let us know for any confusion.


    Thanks
    Akhilesh
  • superrrrr! 

    very many thanks! :)

    Marcella
  • Hi 
    I'm so glad to hear that I was able to help you.
    Please let me know if you have any other issues. We’re happy to help.

    You can rate us with your kind review if you like our Theme & support HERE

    Have a good day.

    Best Regards
This discussion has been closed.