Site logo

Archived topic

2 columns in mobile

9 replies · Started by William on June 8, 2020

Viewing posts 1–10 of 10

On mobile, how can I show the posts in 2 columns as oppose to one?

My site's password is: Generatepress

Thanks!

Hi Leo, Thanks for the CSS.

It works but there's no space in between. Please take a look. Thanks!

Try this:

@media (max-width: 767px) {
    body .wp-show-posts-columns, body .wp-show-posts-inner {
        margin-right: 10px !important;
    }
}

Hi Leo,

That code made the post single column again. Any way to fix it?

Thanks!

I don't see this code being added anymore?

Hi Leo, that's strange. I added the code and it's still there. The 2nd code made the post width in mobile a bit smaller as opposed to splitting it into two.

Thanks!

Hi Leo, my apologies. I thought I was supposed to replace the second CSS with the first. Everything works perfectly now!

Thank You!

No problem :)

This archived topic is closed to new replies.