[Support request] Slideout Menü

Home Forums Support [Support request] Slideout Menü

Home Forums Support Slideout Menü

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2396365
    Michael

    Hello, I would like to have the menu like on this website https://www.rohr-real-estate.com/
    , i.e. on the right and also on the smartphone on the right edge.

    Thank you for your support

    Addendum: I would like to solve this with slideout from the site library

    #2396502
    David
    Staff
    Customer Support

    Hi there,

    is this for a new site ? or an existing site ?
    If it is for an existing site – can i see it?

    #2396581
    Michael

    Hello, is for a new site

    #2396620
    David
    Staff
    Customer Support

    OK, so you could import the Slider Site – and then we could help move the header to the right ? is that an option.
    IF so import the site, and share a link to where i can see it.

    #2396706
    Michael

    thank you

    #2396726
    David
    Staff
    Customer Support

    Ok, go to Customizer > Additional CSS.
    Inside you will see some CSS.

    This CSS:

    @media (min-width: 769px) {
        body {
            padding-left: 60px;
        }
    
        #site-navigation .navigation-branding {
            margin: 10px 0 auto;
        }
    
        .main-title {
            writing-mode: vertical-lr;
        }
    }
    
    #site-navigation {
        position: fixed;
        left: 0;
        min-height: 100vh;
        max-width: 60px;
        overflow: hidden;
    }

    Change to:

    @media (min-width: 769px) {
        body {
            padding-right: 60px;
        }
    
        #site-navigation .navigation-branding {
            margin: 10px 0 auto;
        }
    
        .main-title {
            writing-mode: vertical-lr;
        }
    }
    
    #site-navigation {
        position: fixed;
        right: 0;
        min-height: 100vh;
        max-width: 60px;
        overflow: hidden;
    }

    Then go to Customizer > Layout > Off Canvas and change it to show on the Right.

    #2396742
    Michael

    Thanks it works on desktop but not on Smartphone

    #2396757
    David
    Staff
    Customer Support

    Ah ok, a few things.
    First edit the CSS and replace this:

    @media (min-width: 769px) {
        body {
            padding-right: 60px;
        }
    
        #site-navigation .navigation-branding {
            margin: 10px 0 auto;
        }
    
        .main-title {
            writing-mode: vertical-lr;
        }
    }

    with:

    
    body {
        padding-right: 60px;
    }
    
    #site-navigation .navigation-branding {
        margin: 10px 0 auto;
    }
    
    .main-title {
        writing-mode: vertical-lr;
    }

    then:

    Layout > Header and Disable the Mobile Header.
    Layout > Primary Navigation and set the Mobile Menu Breakpoint to 0
    Layout > Off Canvas make sure it set to Desktop Only.

    #2396775
    Michael

    I did everything according to your instructions, but unfortunately no toogle appears on mobile

    #2396784
    David
    Staff
    Customer Support

    Add this CSS to fix that:

    
    @media (max-width: 768px) {
        .main-navigation .menu-bar-item {
            display: block !important;
        }
    }
    #2396789
    Michael

    Thank You, it works !

    #2396792
    David
    Staff
    Customer Support

    Glad to hear that!

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