Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1346287

    Hi,

    is it possible to make the header smaller than 45px? My client wishes to see only the menu in the header and it should be as small as possible.

    Thank you for answering.

    Best regards, Sabine

    #1346296

    Hey Sabine,

    Thank you for the inquiry.

    You can use this css code to adjust the height of the header and of the main menu container.

    .av_minimal_header #header_main .container, #header_main .main_menu ul:first-child > li a {
        height: 45px;
        line-height: 45px;
    }
    

    You may also need to adjust the top padding of the main container if you the sticky header option is enabled. Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.

    Best regards,
    Ismael

    #1346316

    Hi Ismael,

    I am sorry, but the header does not reduce in size. I have a fixed header and I also disabled the file compression, but unfortunately the height of the header does not change at all.

    Best regards,
    Sabine

    #1346330

    Hi Sabine,

    Could you post a link to where we can see the results you are getting please?

    Best regards,
    Rikard

    #1346348

    Hi Rikard,

    I put the link in the private content and I deleted the code from Ismael from the customizer.

    Thank you, Sabine

    #1346384

    Hi Sabine,

    Thanks for giving us admin access.
    I have added this CSS code in Quick CSS:

    #top #header .av-logo-container {
        display: none;
    }
    
    #top #header #header_main_alternate li a {
        top: 0;
    }
    
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 45px !important;
    }

    Please review your site.

    Best regards,
    Nikko

    #1346405

    Hi Nikko,

    thank you so much for your help – it works wonderful – so great.

    Have a nice day and greetings from Germany.

    Best regards
    Sabine

    #1346421

    Hi Sabine,

    We’re glad that we could help :)
    Thanks as well for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘very small header’ is closed to new replies.