Homepage Blog - 3 posts


I updated the code to show 3 posts instead of 2 posts, but how can I get all 3 (or more) to align horizontally and not on a separate row?




  • Hello
    Thanks for contacting us.
    To do so, you need to create a child theme, For creating a child theme refers this link .
    Ignore if you have already created child theme. After it  Create a new file in the child theme with name  index-blog.php  and edit it, then paste the code in it from  https://pastebin.com/VsEw2sJZ
    Save changes and activate your child theme.

    Let me know for further assistance.

  • Perfect, that worked perfectly!

    Does this also work for 4 posts if I wanted? Is that easy to change?
  • Hi 
    Yes you can easily change if you want to show 4 post in a row.
    Simply edit the index-blog.php file.
    Open it and find the below line of code on line no 35 and 41 .Code indicated inside the snapshot https://prnt.sc/tlmfj1
    Change post per page value to 4 and col-md-value to col-md-3

    Let me know for any confusion.

  • Hi 
    Did your query resolved ?
    Can I close this ticket?

  • Yes, perfect , thank you.
  • Hi 
    Nice to know that the issue has been solved. If there are any further query regarding to our theme, then, please feel free to post them. 
    If you like our theme and support can I ask you for a super review here https://wordpress.org/support/theme/quality/reviews/?filter=5
This discussion has been closed.