[Resolved] disable single post hero only on mobile

Home Forums Support [Resolved] disable single post hero only on mobile

Home Forums Support disable single post hero only on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2076154
    liz

    Hi,

    How can I remove single post hero [only on mobile] thanks. I am using dispatch theme

    #2076164
    Elvin
    Staff
    Customer Support

    Hi there,

    Try adding this CSS:

    @media (max-width: 768px){
    .gb-container.gb-container-8b6d1c4b {
        display: none;
    }
    }
    #2076165
    liz

    Thank you..Vin!

    #2076169
    Elvin
    Staff
    Customer Support

    Actually, I think you may have to change it to this:

    @media (max-width: 768px){
    body.post .gb-container.gb-container-8b6d1c4b {
        display: none;
    }
    }

    Just to be sure it only applies on the post pages. 😀

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