• Resolved Art2Design

    (@art2design)


    How to I change the default of 3 posts per row to 4 posts per row?

    I currently have the homepage set for posts and at the very bottom it displays 3 posts per row. I’d like to change and move it to having 4 posts per row.

Viewing 4 replies - 1 through 4 (of 4 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, you would need to create a Child Theme and then copy over /components/features/featured-content/display-featured.php from the child theme and put it into a like directory structure and then switch the number of posts to show from 3 to 4. Then you would have to create some CSS rules to override the CSS min-width: 50em; media query that sets the width of those articles to something like 25% (it’s 33% on the original). There is another media query for min-width: 37em that sets the width at 50% for the articles, but that one would work just fine with the 4 posts.

    Thread Starter Art2Design

    (@art2design)

    Oh boy……
    Thank you

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    You are welcome.

    Thread Starter Art2Design

    (@art2design)

    Resolved with a theme builder 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add 4 posts per row on Homepage’ is closed to new replies.