Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1154324

    Hi,
    the burger menu is not displayed on the iPad. Everything is fine with the smartphone. In WordPress Mobile Preview, the burger menu is also displayed. What do I have to change?
    Thank you.
    Best regards,
    Nadja

    #1154443

    Hey andersart,

    Add this to quick css:

    @media only screen and (max-width: 1024px) {
      nav.main_menu {
        display: block !important;
      }
      #avia-menu .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }

    Best regards,
    Jordan Shannon

    #1154576

    Hi Jordan,
    that did not help.

    The page is not very simple. For the desktop version I use the element “full width submenu” and hide the normal menu bar with the logo. In the mobile version then the burger menu should appear, also in the version for the tablet. That works in the WordPress preview as well. But if you log on to an iPad in the WordPress Dashboard, the menu does not jump to the burger menu. I attached a few screenshots. (private) I have used this code and I just do not know how to change it.

    /* Header */

    .logo { display: none !important; }

    @media only screen and (max-width: 767px){
    .responsive #top #wrap_all .main_menu {
    top: 20px!important; }}

    /* Header Menü ausblenden */
    @media only screen and (max-width: 768px) {
    .hide-on-mobile { display: none !important; }}

    @media only screen and (min-width: 768px) {
    .hide-on-desktop { display: none !important; }}

    .header_color .header_bg{
    background-color:transparent !important;
    }

    .logo-header-abstand {
    bottom: 65px;
    }

    @media only screen and (max-width: 767px) {
    .responsive #top .av-main-nav .av-burger-menu-main {
    position: fixed;
    top: 40px;
    right:25px;
    }}

    Thank you for your help,
    andersart

    • This reply was modified 5 years, 3 months ago by andersart. Reason: i added wrong screenshots
    #1155405

    Hi,
    Sorry for the late reply, Jordan’s css worked for me when I tested, I made a couple of adjustments based on your screenshots,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (max-width: 1440px) {
      nav.main_menu {
        display: block !important;
      }
      #avia-menu .menu-item,#sub_menu1 {
        display: none !important; 
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block !important; 
      }
    }

    After applying the css, Please clear your browser cache and check.
    Please see the screenshot in Private Content area.

    Best regards,
    Mike

    #1155625

    Hi Mike,
    thank you very much. This works perfekt.
    Best regards,
    andersart

    #1155652

    Hi Mike,
    There is still a problem. The burger menu on the iPad is empty. If you click on it comes only a white area.
    Screenshot in Private Content.
    Best regards,
    andersart

    #1155794

    Hi,

    You have a class assigned to your menu items which is hiding them on tablet and larger screens:

    @media only screen and (min-width: 768px) {
    .hide-on-desktop {
        display: none !important;
    }
    }

    Best regards,
    Rikard

    #1155969

    Hi,
    When hiding the code, the burger menu appears with content. But now I have the problem that the menu appears again in the header. Screenshot attached. We only need the menu under the header image in desktop view.
    Thank you,
    Best regards,
    andersart

    #1156034

    Hi,
    The problem with the burger menu is done.
    But now I have another problem and unfortunately I can not figure out what it can be.
    I’ve created different headers for the different screen sizes. For the iPad but not the picture is inserted, what I have deposited. It will take the picture for the desktop version. This will cut the picture. I have attached two screenshots. I hope I could describe exactly where the problem is.
    Thank you,
    Best regards,
    Nadja

    #1156377

    Hi,
    I took a look at your page and see that one of your headers is for mobile and tablet:
    2019-11-13-053048
    which is a large area to cover, perhaps making these two different headers would be better, or you could adjust with css like this:

    @media only screen and (min-width: 1024px) and (max-width: 1440px) {
     .av-parallax-inner {
        height: 70% !important; 
    }
    }

    Best regards,
    Mike

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