[Support request] Featured image gap on mobile

Home Forums Support [Support request] Featured image gap on mobile

Home Forums Support Featured image gap on mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #752233
    Jay

    Hi,

    I’d like to remove the gap above featured image on mobile.

    The setting “One container” doesn’t have the desired result, and also affects the desktop layout which I don’t want.

    Any idea to get this the way I’d like?

    Thanks!

    #752285
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media (max-width: 768px) {
        .single-post.right-sidebar.separate-containers .site-main {
            margin-top: 0;
        }
    }
    #752707
    Jay

    Great, thanks!
    That works for posts, is it possible to exclude the rest of the site? Homepage, etc.

    #752945
    David
    Staff
    Customer Support

    Sorry just to clarify – which templates / pages do you want to remove the gap?

    #753385
    Jay

    Only on individual posts. Not archives, homepage, or any other page.

    #753954
    David
    Staff
    Customer Support

    I updated the code above for single post only.

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