[Resolved] Disable merge with site header on mobile

Home Forums Support [Resolved] Disable merge with site header on mobile

Home Forums Support Disable merge with site header on mobile

  • This topic has 5 replies, 3 voices, and was last updated 6 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #535907
    CG Klein

    Hi,

    I have made a custom page header with a slideshow for the front page. I would like to disable on mobile. I am able to disable the slideshow but the content then goes under the top bar and menu. I tried to use this css but the top bar and menu go away.


    @media
    (max-width:768px) {
    .home .page-header-content {
    display: none;
    }
    .home .site-header {
    display: block;
    }
    }

    Please Help,
    cgk

    #536285
    Leo
    Staff
    Customer Support

    Hi there,

    Hmm I’m not seeing a page header or slider on the home page currently?

    Let me know.

    #536310
    CG Klein

    Hi,

    Sorry about that, I have now enabled the slider.

    Thanks,
    cgk

    #536759
    Tom
    Lead Developer
    Lead Developer

    Perhaps this will do?:

    @media( max-width: 768px ) {
        .page-header-content-container {
            display: none;
        }
    
        .generate-combined-header {
            position: relative;
        }
    }
    #536960
    CG Klein

    That did the trick,

    Thanks again Tom!

    #537183
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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