[Resolved] Hide header on mobile

Home Forums Support [Resolved] Hide header on mobile

Home Forums Support Hide header on mobile

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #259291
    BarnaB

    Hi Tom,

    Is there a CSS snippet to hide ALL page headers on mobile devices ? under x pixel width id should not show….

    Thank you

    #259331
    Leo
    Staff
    Customer Support

    Try Customizer > Layout > Header and disable Mobile Header.
    Let me know if this is what you are after.

    #259342
    Tom
    Lead Developer
    Lead Developer

    It depends what you mean by page header? The overall site header? The page header built using the page header meta box?

    #259421
    BarnaB

    Yes, the page header built in page meta box. Just want to keep the menu and logo on mobile πŸ™‚ i got that big image header on all pages but on mobile they loose meaning due to crop…

    Thank you

    #259446
    Tom
    Lead Developer
    Lead Developer

    You could try this:

    @media (max-width: 768px) {
        .generate-page-header {
            display: none;
        }
    }
    #259613
    BarnaB

    Hi Tom,

    That hid the menu too not just the header image :/

    #259640
    Tom
    Lead Developer
    Lead Developer

    Can you show me the page you’re working with?

    #259665
    BarnaB

    Sure :

    https://fotoalap.hu/

    I got the mobile header enabled, but that was affected by the code too :/

    #259750
    Tom
    Lead Developer
    Lead Developer

    Give this a shot:

    @media (max-width: 768px) {
       .generate-inside-combined-content {
            display: none;
        }
    }
    #259801
    BarnaB

    Yep, that worked got it saved in my snippet library πŸ™‚

    #259938
    Tom
    Lead Developer
    Lead Developer

    Perfect πŸ™‚

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