1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
HOT Divi.Help Pro One-Page Layouts - Beautifully crafted Divi layouts for you to kick start Divi sites.
View All Pro One-Page Layouts
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Mobile menu not working

Discussion in 'Basic Support Forum' started by Mendy, Nov 16, 2019.

  1. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Hi - I added the header style 1 to my website: http://lizz.mendyweb.com/

    The mobile menu was not showing at all. I read about removing the CSS classes from the section and module, I removed those and it does show now.

    But I have a few problems:

    1. It does not slide nicely like it does in your demo. It still slides downwards, like the standard wordpress divi menu.

    2. Does not remain sticky at top of website. I don't need the logo to remain sticky, but I need the hamburger menu lines sticky.

    Thanks a lot.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    By default, our header plugin will revert back to use the default Divi header in mobile, so that you can have slide in / fullscreen menu in mobile. From what I see, your site is already set to use the slide in menu.

    But the problem is that you added the CSS to hide it. So what you need to do is: Go to WP Admin > Divi > Theme Options > Custom CSS & find the below CSS & remove it:
    Code:
    Log In or Sign Up to view this code.
    Once you did the previous suggestion, you will see that the slide in mobile menu is now showing. And I see that you already add sticky CSS to it.

    One small issue though, your close button is not visible when you click on the hamburger menu. To fix that, try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
    ============

    Additional things that I noticed from your site:

    1. For double scroll issue, you can solve it by using one of the solutions below:
    - Go to your last footer section & remove the height settings.

    upload_2019-11-17_15-41-37.png

    - Or you can just use the CSS below in Divi > Theme Options > Custom CSS to remove the last section height settings:
    Code:
    Log In or Sign Up to view this code.
    2. For desktop menu, to make the menu section sticky, you just need to go to the menu Section Settings > Advanced > CSS Class & add free-sticky
    3. As to hide certain custom header elements on the desktop / mobile, you just need to set the visibility option in the Section / Module settings > Advanced > Visibility

    Let me know if you need any other clarification.
     
  3. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Much better, thank you!

    Question - how can I remove a column from a section? As you can see I now have a different style header and the column 1 is pushing my logo and contact areas over to the right side.

    Also, why is the page loading for second with a grey background? Thanks.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    That's a specialty section. You can't change the structure. What you can do is to create a new normal section & copy the row to it. Check out this video: https://recordit.co/svwhQM8SyT
    This is how Divi works for injected elements. It will first load the content, then only the CSS to style it.

    Check this out for workaround: https://divi.help/threads/header-plugin-with-style-header-1.1793/#post-5408
    **You can try method 2.
     
  5. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Thank you. How can I change the color of the line that shows on hover, just below each menu item? And, will the static css file option be a good fix for someone else too (for another user that has not ever loaded the website before in the past?
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  6. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    You can change the color in Theme Customizer > Divi Ultimate Header Plugin > Header & Navigation Styling > Menu Hover Main Color
     
  7. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Thanks.

    will the static css file option be a good fix for someone else too (for another user that has not ever loaded the website before in the past?
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More
  8. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Basically, once you visit the page for the first time, it will save a copy of the CSS file in your site. And for every subsequent visit to your site (from other users or other browsers), it will load the CSS file & thus there won't be any flashing.
    **If you're using cache plugin, you will need to clear your cache after those CSS file are saved on your site. So that it doesn't cache the one without the CSS file.

    Alternatively, you can just use free preloader plugin to hide the flashing.
     
  9. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Great thank you.

    Two more questions:

    Why is my hamburger icon moving upwards when I scroll down on mobile?

    Why is my menu overly large - meaning, on desktop it has extra space on the right side, it should fit the amount of menu items.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gallery carousel design for your Divi site without using any plugins:View Demo
  10. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
    That's the default behavior for menu. I would suggest you to go to the menu module settings & change the alignment to center, so that it will look better. You might notice that it doesn't align center properly due to some padding right. To resolve it, you just need to go to the Row Settings & set padding right to be 0.

    As to reduce the width, you can go to the Row settings & set a max-width of 850px for example.

    And lastly, if you need the divider between the menu items, you just need to go to the Menu module settings > Advanced > CSS Class & add free-light
     
  11. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    That code worked - I did get an error message, but I published anyway and it worked... hope it doesn't break anytihng in the future :)

    The hover line below the first item - Meet Liz - is still red, even after making the change you suggested in the header settings. Please advise.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  12. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    That should be fine.

    As for the line color, try to go to the menu module settings & set the dropdown menu line color.
     
  13. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Thanks, all working great now. Any way I can change / speed up the fade animation when I go to the menu hamburger on mobile? It kinda fades in very slowly right now.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade promo bar / notification bar with close button for your Divi site without using any plugins:View Demo
  14. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Also, the menu hamburger started sliding up again. I did change the style of menu to a different one. Not sure if that affected your css you gave me?
     
  15. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Are you referring to the slide in menu?
    **It slides pretty fast for me.
    I tested the previous CSS & it still works fine for me. Try to add it again in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements:Learn More
  16. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Thank you. I decided on different menu in the end - see here - http://lizz.mendyweb.com/

    How can I center the top phone and email? I tried using margin in Divi but that doesn't work for all screen sizes.
     
  17. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    1. Set your first blurb module margin left to be 0.
    2. Then, go to the Row Settings > Advanced > Custom CSS > Main Element & add text-align: center;
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade before / after image slider for your Divi site without using any plugins:View Demo
  18. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    Great thank you!
     
  19. Mendy

    Mendy New Member
    Divi Ultimate Header Plugin

    The phone and email icon and are not showig up right though, they are not next to the text now, kinda floating to the left.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  20. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    For the email blurb module, you should add some margin left to it.