[Resolved] Alignment of articles in Blog

Home Forums Support [Resolved] Alignment of articles in Blog

Home Forums Support Alignment of articles in Blog

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #800702
    trung

    Hi GeneratePress.

    In my Blog category page, I set 3 columns of posts. It’s ok in PC and Tablet mode, but not good in mobile mode. The alignment of column is not on center, but moving into the right a litte (looks like the image).

    How can I fix it?

    Thank you.

    #800860
    David
    Staff
    Customer Support

    Hi there,

    try this:

    @media (max-width: 420px) {
        .generate-columns { 
            padding-left: 0px;
        }
    }
    #801059
    trung

    Ok. It is solved. But I want to know: why is max-width:420px? why is not max-width:768px as usually in mobile mode?

    Thank you, David.

    #801069
    David
    Staff
    Customer Support

    I used 420px as i had it to hand in some other code i was working on 🙂 as it covers all the current Plus Size Mobile devices. You can bumpy it up to 767px, this will work without effecting Tablets.

    #803537
    trung

    Thank you, David.

    #803573
    David
    Staff
    Customer Support

    You’re welcome

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