Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #468269

    Can you please give me some quick css to center the menu items on the mobile menu and remove the border lines in between each menu item. Thanks!

    #468480

    Hey djshortkut!

    Please try the following in Quick CSS under Enfold–>General Styling:

    #mobile-advanced li {
    text-align:center !important;
    }
    
    #mobile-advanced a {
    border-bottom-width: 0px !important;
    }

    Cheers!
    Rikard

    #468630

    Thanks Rikard! That almost worked. There is only 1 thin border line above all of the menu items that needs to be removed (See image)

    I also want to know how I can add my logo to the mobile menu and center it. Thanks!

    #468920

    Hi!

    Please add following code to Quick CSS as well

    #mobile-advanced>li:first-child>a:first-child {
      border: none;
    }
    ul#mobile-advanced {
      padding-top: 0;
      margin-top: 130px;
    }

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field

    Cheers!
    Yigit

    #469058

    Thanks Yigit, that worked great! I had to slightly modify the values of the margin-top to get it to work right but it looks great now. There is one problem. On my iPhone in landscape mode the menu close button and menu button show when the mobile menu is pulled up. Can you provide me some quick css to move the close button over so it covers the menu button on my iPhone in landscape mode? Thank you!

    #469387

    Hey!

    Please try the following:

    #advanced_menu_hide {
      top: 62px !important;
      right: 46px !important;
    }

    Best regards,
    Rikard

    #469419

    Thanks Rikard. So I was able to adjust the button in portrait mode but it won’t move it in landscape mode for some reason. What can I do to move the mobile menu close button in landscape mode so it lines up the same way as it does in portrait mode?

    #470117

    Hi!

    use this code for iPhone and only landscape mode:

    @media only screen 
      and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) {
    a#advanced_menu_hide {
    top: 40px;
    right: 50px;
    }}
    

    Best regards,
    Andy

    #470332

    Thanks Andy but this code did not work. Is there some quick css you can give me that would make it so the mobile menu hide button is always lined up with the mobile menu toggle button universally on any screen size? That might make it easier than adjusting it on each screen size. For some reason no matter what I put in, the hide button won’t adjust in landscape mode for some reason. I provided my login credentials if it’s easier for you to do while logged in. Thanks!

    #470845

    Hi!

    it’s working as supposed for me with my code. Please clear browser cache and refresh your website a few times.

    Best regards,
    Andy

    #471258

    I’ve cleared my browser cache and refreshed my website several times and it’s still not working correctly. It works ok perfectly in portrait mode with the code that was supplied but not in landscape mode. I am using an iPhone 6 if that makes a difference. As you can see from the screen shot it is still showing up this way. Even when I adjust the values of the code, the menu close button does not move at all so it looks like the code isn’t working.

    #471555

    Hi!

    hm I checked again on chrome emulator and on my htc one device. I will tag Yigit for this thread, so he can check if menu and close button overlap correctly on his iPhone in landscape mode. Kindly wait for his reply please.

    Cheers!
    Andy

    #473493

    I’m hoping Yigit or somebody with an iPhone can take a look at this and provide me with quick css to move the close button so it overlaps the menu button correctly in landscape mode. The screenshot I posted above is happening on my iPhone 6 in landscape mode. It lines up correctly in portrait mode. Thanks in advance!

    #473650

    Hey!

    Please add following code to Quick CSS

    .show_mobile_menu #advanced_menu_toggle {
      display: none!important;
    }

    Cheers!
    Yigit

    #473842

    Ok that will work, thanks! You can close this thread.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Mobile Menu’ is closed to new replies.