[Resolved] Mobile – Want a white space between post Columns

Home Forums Support Mobile – Want a white space between post Columns

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1358732
    Ashish

    Hi,

    Im trying to get a white space (Gap) between columns in the mobile view. The Code below allows 2 posts on a mobile, but does not have a gap between columns. (In the desktop, and tablet view, there is a perfect gap).

    Site: http://hetalkamdar.com (Please check in a mobile browser)

    Used this code given by you in another post a while ago.

    /* To show 2 columns on the mobile phone */

    @media
    (max-width: 768px) {
    .wp-show-posts-columns .wp-show-posts-single {
    width: 50%;
    }
    }

    #1358871
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media (max-width: 768px) {
        .wp-show-posts-columns .wp-show-posts-inner {
            margin-left: 0.25em !important;
            margin-right: 0.25em !important;
        }
    }
    #1358945
    Ashish

    David … You’re a magician.

    Exactly what I wanted.Im glad, I chose GeneratePress and WP Show Posts Pro.

    Thank you so much.

    #1358989
    David
    Staff
    Customer Support

    Glad to be of help. And happy to hear you’re enjoying GP and WPSP 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.