Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #231953

    I want a non shrinking header/logo and main menu of 116px – I put in the following code in quick css

    #header_main .container,  .main_menu ul:first-child > li a, .logo img, .logo a {
    height: 116px !important;
    line-height: 116px !important;
    max-height: none !important;
    min-height: 116px!important;
    }

    and now the submenu are the fixed line-height of 116px:

    I cannot figure out how to stop the shrinking of the header on scroll down, and have a reasonable line-height for sub menu items.

    Has anyone encountered this issue and has a quick fix i missed?

    • This topic was modified 10 years, 9 months ago by AntonNovikov.
    #232087

    Hey AntonNovikov!

    Can you please give us a link to the website? A screenshot of the issue will help.

    Regards,
    Ismael

    #232155
    This reply has been marked as private.
    #232286

    Hi!

    Please replace the code you have added with following one

    #header_main .container,  .main_menu ul:first-child > li > a, .logo img, .logo a {
    height: 116px !important;
    line-height: 116px !important;
    max-height: none !important;
    min-height: 116px!important;
    }

    Cheers!
    Yigit

    #232442

    Thank you that worked out great.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Sub Menu line-height too large after fixing menu height with quick css’ is closed to new replies.