Site logo

[Resolved] Mobile Menu Help!

Home Forums Support [Resolved] Mobile Menu Help!

Home Forums Support Mobile Menu Help!

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2513599
    Paul

    I’m trying to get a mobile menu similar to this but there are too many parts for my small brain!!

    Here is what I’m trying to achieve –
    https://imgur.com/a/7dNLz5v

    Thank you!

    #2513620
    Fernando
    Customer Support

    Hi Paul,

    You can use the GP Off Canvas Panel. Reference: https://docs.generatepress.com/article/off-canvas-panel-overview/

    Then, as for the Social Icons, you can add these through GenerateBlocks.

    Here is an example of how to add them: https://www.youtube.com/watch?v=yAleVWQi5EA

    Hook the Block Element to after_slideout_navigation.

    #2513639
    Paul

    Thank you!

    So I have that part pretty much all set – I’m looking to see if I can add borders underneath that to the whole way and add little arrows or an icon like in the sample.

    Also is there a way when the menu slides out to have it below the header and not cover it?

    Thank you so much!

    Paul

    #2513640
    Fernando
    Customer Support

    Hi Paul,

    For reference, can you provide the link to the site in question?

    I’ll see what can be done.

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2513645
    Paul

    No problem!!!

    Here is the site I am working on:
    https://www.givepraiserecords.com

    Thank you!!!

    #2513663
    Fernando
    Customer Support

    To add the lines and the arrow, here’s something you can try adding through Appearance > Customize > Additional CSS:

    .main-nav > ul > li:after {
        content: "\27A4";
        margin-right: 8px;
    }
    
    .main-nav > ul > li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: solid 1px #fff;
    }

    Here’s something you can try to put the Off canvas a bit below the Header:

    nav#generate-slideout-menu {
        top: 99.5px;
        background-color: red;
        height: calc(100vh-60px);
    }
    #2514332
    Paul

    This is amazing!!!! Thank you!!!! One more thing – is it possible to not have the dark screen over the body of the website when the menu is open?

    #2514825
    Fernando
    Customer Support

    You’re welcome! It’s possible.

    Try adding this as well:

    body.offside-js--is-open .slideout-overlay {
        opacity: 0;
    }
    #2514884
    Paul

    This is amazing!! Thank you so much! One. Oh e quick question
    – is it possible to get rid of this X icon on the pull out menu?

    Here it is circled:
    https://imgur.com/a/ZJegJIa

    #2514886
    Fernando
    Customer Support

    Can you try adding this?:

    nav#generate-slideout-menu button.slideout-exit{
        display: none;
    }
    #2514888
    Paul

    Totally perfect!! You and the entire crew over there are so awesome!!

    Life Long customer for sure!!

    Thank you!!

    #2514889
    Fernando
    Customer Support

    You’re welcome, Paul! Have a nice day!

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