Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #862831

    Hello

    Where can I define the responsive breakpoints.
    On a site for a customer the main menu is overlapping into the logo on the iPad Portrait-Mode.
    So I would like to switch into the burger menu sooner.
    What I found so far are answers on how to make the main menu disappear at 1024px but, then there is no burger menu until the width is 768px.

    I use Enfold 4.1.2

    #863201

    Hey wurschmedia,

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Best regards,
    John Torvik

    #863827
    This reply has been marked as private.
    #864669

    Hi,

    Thank you for the update.

    Please go to the Enfold > Main Menu > General panel. Set the “Menu Items for mobile” to the second option then add the CSS code to have the mobile menu display when the screen width is less than 1366px.

    @media only screen and (max-width: 1366px) and (min-width: 768px) {
      .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item {
        display: none;
      }
    
      .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special {
          display: block;
      }
    }

    Remove browser cache or hard refresh before checking the page.

    Best regards,
    Ismael

    #889346

    can you test this if it is working for header option (header_left : logo and menu on the left)

    i do not have any success on this

    – edit: oh no – i have the fixed frame layout :
    how to let this switch earlier ?

    • This reply was modified 6 years, 11 months ago by Guenni007.
    #889469

    Hi,

    There’s probably a better way but this is the easiest.

    @media only screen and (max-width: 1024px) {
      .responsive #top #wrap_all #header {
          position: relative;
          width: 100%;
          float: none;
          height: auto;
          margin: 0 !important;
          opacity: 1;
          min-height: 0;
      }
    
      .responsive #top #wrap_all .container {
          width: 85%;
          max-width: 85%;
          margin: 0 auto;
          padding-left: 0;
          padding-right: 0;
          float: none;
      }
    
      .responsive #header_main .container {
          height: auto !important;
      }
    
      .responsive #top .av-logo-container .avia-menu {
        height: 100%;
      }
    
      .responsive #top #wrap_all .main_menu {
        top: 0;
        height: 80px;
        left: auto;
        right: 0;
        display: block;
        position: absolute;
      }
    
      .responsive #top .av-main-nav .menu-item-avia-special {
        display: block;
      }
    
      .responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
        min-width: 0;
        padding: 0 0 0 20px;
        margin: 0;
        border-style: none;
        border-width: 0;
      }
    
      .responsive #top .logo {
        position: static;
        display: table;
        height: 80px !important;
        float: none;
        padding: 0;
        border: none;
        width: 80%;
      }
    
      .responsive #top .av-main-nav .menu-item {
        display: none;
      }
    
      .responsive .logo img {
          margin: 0;
      }
    
      .responsive .logo img {
        height: auto !important;
        width: auto;
        max-width: 100%;
        display: block;
        max-height: 80px;
      }
    
      .responsive.html_header_sidebar #header .av-main-nav > li {
        margin: 0 10%;
      }
    
      .responsive.html_header_sidebar #header .av-main-nav {
        padding: 4% 0;
      }
    
      .responsive #top #main {
        padding-top: 0 !important;
        margin: 0;
      }
    
      .responsive #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive #top #wrap_all .av-logo-container {
        height: 80px;
        line-height: 80px;
      }
    }

    Best regards,
    Ismael

    #889760

    thanks

    #889883

    Hi,

    No problem. Let us know if you need anything else. :)

    Best regards,
    Ismael

    #1229928

    Hi there,

    this solution works great for me, thanks. How can I add the search icon to the right of the logo in this scenario? Any suggestions?

    Cheers, Cya

    #1230076

    Hi cyahome,

    Could you please give us a link to your website, we need more context to be able to help you.

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

    #1230257

    Hi Victoria,
    attached you’ll find the mockup.
    Thanks and cheers, Cya

    #1230415

    Hi cyahome,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1230536

    Oh, sorry. Forgot the link … it’s in the private content section.

    #1230730

    Hi cyahome,

    You need to have the search icon added to the header first.

    You can go to the Theme Options > Main menu and enable search:
    Image 2020-07-15 at 22.18.29.png

    Best regards,
    Victoria

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