Site logo

[Support request] Category Post Grid 2 Columns on Mobile

Home Forums Support [Support request] Category Post Grid 2 Columns on Mobile

Home Forums Support Category Post Grid 2 Columns on Mobile

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1903393
    lerschiboi

    Hi,
    I’d like the post grids on my archive pages not to collapse to just 1 column on mobile, but 2 instead. And I’ve also noticed that there’s no padding on the left and right side of the post grid when I shrink the browser viewport. Perhaps a 20px padding would be great here.

    Any suggestions on how both of this can be achieved?

    #1903477
    David
    Staff
    Customer Support

    Hi there,

    to correct the missing padding, edit your Block Element and in the sidebar settings and enable Keep Default Post Container

    Then try this CSS for the 2 columns:

    @media (max-width: 767px) {
        .generate-columns.mobile-grid-100, .grid-sizer.mobile-grid-100 {
            width: calc(50% - 5px);
            padding-left: 10px;
        }
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.