Navigation "open"

Support Area Forums Umami Navigation "open"

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://
  • Author
    Posts
  • #19598
    Alan Kaussen
    Participant

    is there a possibility to display the menu permanently open in desktop version?

    Thanks

    #19599
    Bill Robbins
    Moderator

    Alan,

    Great question. You can do that. There’s a post at https://support.organizedthemes.com/forums/topic/open-navigation-menu-by-default/ that has instructions on how to make that happen. If you have any trouble, let me know.

    Thanks,
    Bill

    #19623
    Alan Kaussen
    Participant

    Bill,

    Thanks for the link. That has helped me.

    I have adapted the code a bit to style the menu like the buttons:

    `@media only screen and (min-width: 1024px) {

    .slicknav_menu {
    display: none;
    }

    #sidebar {
    z-index: 20;
    }

    ul#primary-menu {
    display: block;
    list-style-type: none;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    }

    ul#primary-menu a {
    display: block;
    padding: 5px;
    }

    ul#primary-menu li {
    position: relative;
    background-color: #bebebe;
    margin:0px 0px 4px 0px;
    }

    ul#primary-menu li.current-menu-item a {
    background-color: #d88b24;
    }

    ul#primary-menu li.current-menu-item li a:hover {
    background-color: #bebebe;
    }

    ul#primary-menu li a:hover {
    background-color: #808080;
    }

    ul#primary-menu li.current-menu-item li a {
    background-color: transparent;
    }

    ul#primary-menu li ul {
    display: none;
    list-style-type: none;
    }

    ul#primary-menu li:hover ul {
    display: block;
    position: absolute;
    left: 200px;
    top: 0;
    width: 180px;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
    `

    #19627
    Bill Robbins
    Moderator

    Sounds good Alan. Just make sure not to leave out the ending } to close out the media query after the last style.

    If you have any questions, just let me know,
    Bill

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Navigation "open"’ is closed to new replies.