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

    Dear Enfold team,
    I’m struggling for hours now with an issue that I can’t seem to find in the forum.
    If you are in a form on the (test) website, the main menu hover reaches to far into the below seated main content (aka the form entry fields). So if you scroll down into the form you would accidentally click on the menu as opposed to the form entry.
    I believe this is part of the relevant quick css:

    /* menu align*/
    .main_menu ul:first-child > li > a {
        line-height: 10px !important;
        margin-top: 180px  !important;
        background: transparent!important;
    }

    I can’t seem to find the right a:hover css command. Can you help please?
    Best
    Stefan

    #1408897

    Hey Stefan,
    Thanks for the link to your site but the page gives a 404 error, perhaps it is not published yet. I found another page with a form, but your menu above the form doesn’t have a dropdown so I can’t see what the issue would be. Please include an admin login in the Private Content area so we can be of more assistance. Perhaps a screenshot would help us understand better.

    Best regards,
    Mike

    #1408945

    I’m awfully sorry Mike,
    just realized that I changed the URL after the support post.

    Pls. find the right data below.

    #1408958

    Hi,
    Thanks for the link to your page, but I’m not understanding what your issue is because your description sounds like the sub-menu of your main menu on this page is over the form, but your main menu has no sub-menu items so there is nothing to be over your form on hover.
    The css above is making your mobile menu items spread out too much:
    Enfold_Support_2199.jpeg
    If that is what you mean then remove the line margin-top: 180px !important; from your css.
    Enfold_Support_2201.jpeg
    But the burger menu is still going to be over the page content and form because that is the design of the burger menu.
    Please try to explain further and perhaps a screenshot would help.

    Best regards,
    Mike

    #1408965

    Hi Mike,
    the problem is in desktop mode. The hover effect reaches into the form and avoids the entry.
    signal-2023-05-29-235516_002.jpeg
    Best regards,
    Stefan

    #1409047

    Hi,
    Thanks for the feedback, your css to make the mobile menu items spread out is creating this error on the desktop, if you do want your mobile menu to be spread out then change your css to this:

    
    @media only screen and (max-width: 767px) { 
    .main_menu ul:first-child > li > a {
        line-height: 10px !important;
        margin-top: 180px  !important;
        background: transparent!important;
    }
    }

    Otherwise remove the line margin-top: 180px !important; from your css.

    Best regards,
    Mike

    #1409957

    Hi Mike,
    the desktop menu is correct now. But the Burger menu shows large gaps between each menu item. I thought I would solve this like that:

    @media only screen and (max-width: 990px) {
       padding-top: 10px  !important;
       margin-top: 10px  !important;
        background: transparent!important;
    }

    …or alike, but can’t get it to work.
    any working ideas for a working mobile view are highly appreciated.
    Thanks
    Stefan

    • This reply was modified 1 year, 6 months ago by beenee.
    #1409961

    Hi,
    I found that this css was causing the large gaps: padding-top: 180px !important;
    I commented it out for you:
    Enfold_Support_2283.jpeg
    and now the mobile menu is correct:
    Enfold_Support_2285.jpeg
    please clear your browser cache and check.

    Best regards,
    Mike

    #1409970

    Hi Mike,
    correct, but now the main menu is not placed at the bottom of the header anymore:

    https://img.savvyify.com/images/2023/06/08/imageb67c647f5b1f5110.md.png

    whereas it was supposed to look like this:

    https://img.savvyify.com/images/2023/06/08/image.md.png

    There must be a seperate css for mobile view…. but I can’t get it to work:

    @media only screen and (min-width: 768px) and (max-width: 990px)  {
       padding-top: 10px  !important;
       margin-top: 10px  !important;
        background: transparent!important;
    }
    #1410007

    Hi,
    Try wrapping the desktop padding with media query like this:

    @media only screen and (min-width: 768px) {
    ...
    }

    and the mobile version in a separate media query like this:

    @media only screen and (max-width: 767px) {
    ...
    }

    If this doesn’t correct please include admin login in the Private Content area so we can help, the login above is not working.

    Best regards,
    Mike

    #1410024

    Hi Mike,

    I tried this, but get either a correct burger menu or a correct desktop menu.

    Not sure what I’m doing wrong…?
    Thanks for your help,

    Stefan

    PS.: btw. I just checked and the data (private area) is correct.

    #1410084

    Hi,
    Thanks for checking the login, I must have made a paste error, anyways I corrected your css, please clear your browser cache and check.
    Enfold_Support_2289.jpeg
    Enfold_Support_2292.jpeg

    Best regards,
    Mike

    #1410092

    Thanks Mike,
    I didn’t understand my error but paste the new css here so anyone can participate:

    @media only screen and (min-width: 768px) {
    .main_menu ul:first-child > li > a {
        line-height: 10px !important;
        padding-top: 180px  !important; 
        background: transparent!important;
    margin-bottom: 10px !important;
    }
    }
    @media only screen and (max-width: 767px) {
        .main_menu ul:first-child > li > a {
            line-height: 10px !important;
            padding-top: 10px  !important; 
            background: transparent!important;
        margin-bottom: 10px !important;
        }
        }

    Works well, as always thanks for your effort!
    Ticket can be closed!
    thanks again…!
    Stefan

    #1410098

    Hi,
    Glad we were able to help, 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 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Menu position on hover reaching into main content’ is closed to new replies.