Home › Forums › Support › 2 columns in mobile This topic has 9 replies, 2 voices, and was last updated 3 years, 10 months ago by Leo. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts June 8, 2020 at 10:37 am #1319601 William On mobile, how can I show the posts in 2 columns as oppose to one? My site’s password is: Generatepress Thanks! June 8, 2020 at 2:20 pm #1319850 LeoStaff Customer Support Hi there, Try this CSS: @media (max-width: 768px) { .wp-show-posts-columns .wp-show-posts-single { width: 50%; } } Adding CSS: https://docs.generatepress.com/article/adding-css/ June 8, 2020 at 3:08 pm #1319896 William Hi Leo, Thanks for the CSS. It works but there’s no space in between. Please take a look. Thanks! June 8, 2020 at 7:28 pm #1320019 LeoStaff Customer Support Try this: @media (max-width: 767px) { body .wp-show-posts-columns, body .wp-show-posts-inner { margin-right: 10px !important; } } June 8, 2020 at 9:22 pm #1320082 William Hi Leo, That code made the post single column again. Any way to fix it? Thanks! June 9, 2020 at 9:21 am #1320924 LeoStaff Customer Support I don’t see this code being added anymore? June 9, 2020 at 9:46 am #1320980 William 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! June 9, 2020 at 10:16 am #1321028 LeoStaff Customer Support I’m looking at your CSS and definitely don’t see the first block of code: https://generatepress.com/forums/topic/2-columns-in-mobile/#post-1320019 https://www.screencast.com/t/ZVjUZr8glz You are also missing a closing bracket here: @media (max-width: 768px) { .post-image img { max-width: 100%; } June 9, 2020 at 7:39 pm #1321462 William Hi Leo, my apologies. I thought I was supposed to replace the second CSS with the first. Everything works perfectly now! Thank You! June 10, 2020 at 9:00 am #1322374 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In