Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1479356

    Dear Support Team,
    On the website https://www.schlosswirtschaft-schwaige.de/, the logo is centred in the header and the navigation is to the right and left of it. This works well on a desktop PC, but no longer on a laptop, where part of the navigation hangs in the content area: see: Screenshot laptop: https://www.schlosswirtschaft-schwaige.de/support/laptop-menu.jpg
    The script for centring the logo and navigation is as follows:
    #header .main_menu {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    }

    .av-main-nav-wrap {
    left: 50%;
    transform: translateX(-50%);
    }

    #header .logo {
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    }

    #header .logo img {
    top: 50%;
    transform: translateY(-50%);
    max-width: 300px;
    }

    .av-main-nav>li>a {
    padding: 0 40px;
    }

    .av-main-nav>li>a {
    padding-top: 50px !important;
    }
    }

    .html_header_top.html_header_transparency #header {
    position: relative;
    }

    .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header, .responsive.html_boxed.html_header_transparency #top #header {
    max-width: 100%;
    }

    .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
    height: 90px;
    line-height: 90px;
    }

    #top #header .av-main-nav > li.menu-item {
    display: none !important;
    }

    What do I have to change / correct so that it also works on smaller screens such as a laptop?
    Many thanks and best regards, Diana

    #1479468

    Hey Diana,
    Since your menu is too large for screens lower than 1500px you should display the mobile menu instead, I changed this for you
    Screen Shot 2025 03 16 at 8.39.36 AM
    Screen Shot 2025 03 16 at 8.40.03 AM
    clear your browser cache and check.

    Best regards,
    Mike

    #1481458

    Hi Mike, so sorry for the super late reply. This worked like a charm!! Thank you!!! Nevertheless I have one more question concerning the centering of the logo in the middle. If you have al look at his page https://www.schlosswirtschaft-schwaige.de/home-2/
    Her is the Title of the Slideshoe centered in the middle. And you can see that the logo is always placed a little bit left of the center. As we woul like to use the fixed Header for this site we would like to fix the logo more exaktly in the middle. If I have a look at the css scrpit (see post before), what do I have to change?
    Best regards, Diana

    #1481465

    The reason for it is that the magnifying icon of the search is on the right ( so to speak : 4 items right – 3 items left.

    But first – upload a logo ( your png ) that has not so many space on the right side!

    see your jpg : https://www.schlosswirtschaft-schwaige.de/wp-content/uploads/2021/05/Schlosswirtschaft-Schwaige_Logo.jpg

    btw: If you insert the jpg as a test, you will see that it is now centered, but visually it is more disturbing; you notice the imbalance to the menu items rather than to the heading in the slider.

    #1481488

    Hi,

    Thanks for helping out @guenni007. Did that answer your question @dianaloola73?

    Best regards,
    Rikard

    #1481546

    Hello …

    @Guenni007
    : Oh no, I didn’t realize that the logo has this RAnd. MANY THANKS for pointing that out.
    and
    @ Rikard: yes my question is perfectly solved.
    Best regards, Diana

    #1481547

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘navigation – Logo centred – Laptop view’ is closed to new replies.