Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #356207

    Hello again,
    I try to adjust the menu.
    I would ask for tips on how to do it …

    I use fixed menu, logo left, menu right.

    I would like that it looks like this:

    and when scroll down the menu

    my page: http://bit.ly/1y3Oyot

    Thank you for your help

    • This topic was modified 9 years, 4 months ago by osukaru.
    #356527

    Hi osukaru!

    Thank you for using Enfold.

    Please go to the Advanced Styling panel to change the color of the Main Menu Links element. Insert the element twice, one for the initial state and the other for the hover state. Regarding the menu item positioning and height, I’m sorry but this will require custom css rewrite that is beyond the scope of support. Anyway, you can start with this:

    .main_menu ul:first-child > li a {
    height: 25px !important;
    line-height: 25px !important;
    }
    
    .main_menu {
    top: 60px;
    }
    
    .header-scrolled .main_menu {
    top: 0px;
    }

    Best regards,
    Ismael

    #356822

    Ok, thank you for the tips.

    I have one more question about Secondary Header Menu.

    Is it possible using css, set to when you scroll down the page – Secondary Header Menu hiding?

    #356830

    Hi!

    Please add following code to Quick CSS as well

    .header-scrolled nav.sub_menu {
    opacity: 0;
    }

    Best regards,
    Yigit

    #551476

    I used the code below.

    .main_menu ul:first-child > li a {
    height: 25px !important;
    line-height: 25px !important;
    }
    
    .main_menu {
    top: 60px;
    }
    
    .header-scrolled .main_menu {
    top: 0px;
    }

    The effect is 80% good
    Unfortunately, when scrolling menu items leave under the logo and then jumps to the top.
    Best regards,
    Osukaru

    #553415

    Hey!

    The issue only happens when you deliberately scroll down slowly. I don’t think users will even notice it if they’re browsing the site casually. The menu snaps like that because the “header-scrolled” class is added to the header container only after the browser reach the specified scroll position. The position of the menu is not calculated gradually so it doesn’t transition smoothly like you’ll expect. It happens because of the added modifications to the site.

    Best regards,
    Ismael

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