[Resolved] Two columns on mobile except featured post

Home Forums Support [Resolved] Two columns on mobile except featured post

Home Forums Support Two columns on mobile except featured post

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2012422
    Karel

    Hi,

    I used this code:

    @media
    (max-width: 767px) {
    .generate-columns.mobile-grid-100 {
    clear: none;
    width: 50%;
    }
    }
    to display two columns on mobile and that works.
    But I would like the featured post (shown as first) to remain one column.
    How could I achieve that?

    Thanks

    #2012495
    Ying
    Staff
    Customer Support

    Hi Karel,

    You can add this CSS into your media query:

    .generate-columns.mobile-grid-100:first-child {
        width: 100%;
    }

    Let me know ๐Ÿ™‚

    #2012909
    Karel

    Perfect! Thanks!

    #2013562
    Ying
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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