• Resolved ritacunha11

    (@ritacunha11)


    hello!

    I am completely new at WordPress so there are a few things that are very strange to me.
    I am creating a website with the cubic theme and from the start I wondered if it is possible to change the number of blogposts visible in a row in the frontpage. By default it shows 3 pictures in a row, how can I make it to 4?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    You can add this code via Dashboard > Appearance > Additional CSS:

    @media screen and (min-width: 1024px) {
        .archive .hentry, .blog .hentry, .search-results .hentry {
            padding-bottom: 25%;
            width: 25%;
        }
        .archive .hentry:nth-of-type(3n+4),
        .blog .hentry:nth-of-type(3n+4),
        .search-results .hentry:nth-of-type(3n+4) {
            clear: none;
        }
    }
    Thread Starter ritacunha11

    (@ritacunha11)

    Hi!!!

    It worked perfectly!
    Thank you very much, it was driving me crazy.

    Glad I could help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing number of frontpage blogposts you can post in a row’ is closed to new replies.