• Resolved romainkr

    (@romainkr)


    Hi Anders,
    Is there a way to limit the rows, on the homepage, to 2 ? I’d like the featured pictures to stay large on the homepage, and therefore avoid three rows.

    cheers,
    Romain

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter romainkr

    (@romainkr)

    I found something, here on the forum :

    .posts .post-container {
    width: 100%;
    padding: 10px;
    overflow: hidden;
    }

    Changed 100% to 50.

    Can it be optimized ?

    Thread Starter romainkr

    (@romainkr)

    Just checked with this code on mobile, and it makes the two columns as well.
    is there a way to keep things normal on mobile, and have two columns on pc ?

    Theme Author Anders Norén

    (@anlino)

    Hi @romainkr,

    Wrap the CSS you posted like this:

    @media ( min-width: 700px ) {
    
    .posts .post-container {
    width: 100%;
    padding: 10px;
    overflow: hidden;
    }
    
    }

    That should make it two columns on mobile only.

    – Anders

    Thread Starter romainkr

    (@romainkr)

    Thanks Anders, it works perfectly !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘featured images limit nb of rows’ is closed to new replies.