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

    Hi,
    Because I increased the height of my header to 170px to fit the logo in, the submenu buttons also were 170px high. I fixed this by adding: #top .main_menu .menu .sub-menu li>a {height: 50px !important;}

    But after doing this, I noticed that the text is no longer inside the buttons. How can I move the text back into the buttons? And also, if I move the menu up a bit by adding: #top .main_menu .menu .sub-menu li>a {position:relative; top:-40px; }
    the hover doesn’t line up properly and the submenu gets bigger…

    Thank you,
    Lisa

    #429206

    Hey sundara88!

    There is an option for changing the header height in Dashboard > Enfold > Header > Header Size. No custom CSS is necessary.

    Regards,
    Elliott

    #429323

    Hi Elliott,

    That’s not the problem. I’ve changed my header height in Enfold>Header>Header Size to 170px, which also made each button of the dropdown menu that height, which looked weird. So I’ve changed the submenu height with css:
    #top .main_menu .menu .sub-menu li>a {height: 50px !important;}
    And after doing this, I noticed that the text is no longer inside the buttons. How can I move the text back into the buttons? And also, if I move the menu up a bit by adding: #top .main_menu .menu .sub-menu li>a {position:relative; top:-40px; }

    Please have a look at my site and you’ll see what I mean…
    Thank you,
    Lisa

    #430063

    Hi!

    I’m guessing by buttons you mean the dropdown menus? It’s the only thing I could find which was obviously wrong with your page.

    Cheers!
    Rikard

    #430140

    Yes, the text is not inside the button (dropdown menu) How do I keep the text inside the button???
    Thanks,

    #430874

    Hey!

    try to control it with this code:

    #top .av-main-nav ul a {
    line-height: 20px !important;
    }
    

    and adjust as needed.

    Best regards,
    Andy

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