Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Enfold: Menu problem on ipad #227623

    Ok, I managed to make it work.

    The white layer issue is gone.
    On desktop, the header shows normally with a resolution over 989px.
    On tablet (between 768px and 989px), the regular menu shows, with smaller font, smaller logo, and reduced padding. Tested on ipad 2 and ipad mini.
    On smartphone (under 768px), it switches to the responsive menu.

    Here is the code:

    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .responsive .mobile_menu_tablet .main_menu {
    display: block;
    }
    
    .main_menu {
    margin-right: -30px;
    }
    
    .main_menu ul:first-child > li > a {
    font-size: 10px;
    }
    
    .logo img {
    width: 250px !important;
    }
    }

    I ended up removing the padding attributes, as it didn’t seem to make any difference.

    Thank a lot for your help!

    • This reply was modified 10 years, 9 months ago by wizbiz.
    in reply to: Enfold: Menu problem on ipad #227622

    Thanks for your answer.

    If I use this CSS, the previous issue comes back, meaning that when loading the page, the menu appears for a second, and then disapear behind what looks like a white layer.

    But for the second it does appear, I can see the font parameter applied properly.

    Cheers.

    in reply to: Enfold: Menu problem on ipad #226952

    Thanks, but unfortunately this didn’t change anything.

    Cheers.

    in reply to: Enfold: Menu problem on ipad #226694

    Thanks, with the modified java and the custom css posted by yigit this worked. Only problem left is that the size of the text won’t reduce like it used to.

    Here is the custom css I’m using:

    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .responsive .mobile_menu_tablet .main_menu {
    display: block;
    padding: 0 6px;
    font-size: 10px;
    }
    
    .main_menu {
    margin-right: -30px;
    }
    
    .main_menu ul:first-child > li > a {
    padding: 0 11px;
    }
    }

    The “font-size” doesn’t apply. Any idea what I’m doing wrong?

    Cheers!

    in reply to: Enfold: Menu problem on ipad #226241

    Hi,

    Thanks, but this displays the responsive menu when seen on tablet. I want to display the regular menu on tablet.

    To sum things up, I want to display:

    – the regular menu over 989px,
    – the responsive menu under 767px,
    – the regular menu with adapted logo width, font size and padding for everything between 768px and 988px.

    Basically what I used to do before, using the code I gave you earlier.

    Cheers.

    in reply to: Enfold: Menu problem on ipad #225905
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)