How To Collapse Divi Mobile Menu Submenus

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 175

  • @UnderStar
    @UnderStar 4 месяца назад +2

    19 Aug 2024
    It works like a charm and is so much easier than the guide from Divi's blog. Thank you so much.
    I don't understand why Divi doesn't provide this option.

  • @BennyHozjan
    @BennyHozjan 4 года назад +4

    Great Tutorial... you're the first one with this kind of tutorial where the collapsible is working too for mega menus! Well done Nelson... really well done. Thanks for this

  • @shukrullah1981
    @shukrullah1981 2 года назад +1

    Super helpful. I saw similar things from other RUclipsrs but unfortunately, none of them is working luckily yours is working fine. Highly appreciated your efficient video I become your subscriber and I did like it. comments, follow, and all notifications.

    • @PeeAyeCreative
      @PeeAyeCreative  2 года назад

      That's great 👍 I'm so glad it works for you and I hope you enjoy all of our tutorials!

  • @brianressler569
    @brianressler569 3 года назад +1

    Needed some tweaking having not followed the other tutorials, where it would change the icon of the mobile menu button itself when opened for instance, but it did the trick in the end thanks man

  • @JeniHoyt
    @JeniHoyt 2 месяца назад

    This works beautifully! Thank you for sharing!

  • @xizzeewebdesign4951
    @xizzeewebdesign4951 Год назад

    Exactly what I needed. Thanks for sharing the code and demonstrating exactly where to put it. It worked perfectly on the first try.

  • @LeanneJuliette
    @LeanneJuliette 2 месяца назад +1

    lifesaver thank you!!!! my god the divi blog/video is tedious, dragged out and pointless. Made my brain hurt. Yours literally took 10 seconds to do and it worked - thank you!

    • @HaveringAdultCollege
      @HaveringAdultCollege 2 месяца назад

      How did you get it to work? It does not work for me at all.

    • @PeeAyeCreative
      @PeeAyeCreative  2 месяца назад

      You're so welcome!! I'm glad to hear it!

  • @NickyReveleigh
    @NickyReveleigh 10 месяцев назад +1

    Brilliant! I'm new to WordPress and Divi and this is really easy to follow, thank you.

    • @PeeAyeCreative
      @PeeAyeCreative  10 месяцев назад

      That's great, welcome! I'm glad it was easy to follow!

  • @marciaturley2850
    @marciaturley2850 Год назад +1

    You're so talented. It was a great tutorial. Thank you so much.

  • @eq091801
    @eq091801 3 года назад +1

    Another amazing tutorial. This was very helpful for me while building a menu on a recent project. Your tutorials on working with divi and customizing with css are the best.

    • @PeeAyeCreative
      @PeeAyeCreative  3 года назад

      Thanks Edgar, I'm so glad you like the tutorials!

  • @BrunoVMann
    @BrunoVMann Месяц назад

    Thank you very much for this great video. So far it worked. Just one thing, that looks different on my site.
    My subpages don't appear under the upper page, they appear on the right side, which does not look good. What could be the reason for this issue?
    Thanks

  • @alpasc
    @alpasc 2 года назад

    Thanks you soooooooooooooooooo much ! not the first time that you save me with your tricks... i just put your website in my favs ;-)

  • @twsuicy
    @twsuicy 2 года назад

    O M G. This has to be heard and go viral. You literally save my life Nelson, thanks a million!

  • @gurushankar2004
    @gurushankar2004 2 года назад +1

    Thank you so much. Do provide more such tutorials.

  • @MrMattuko
    @MrMattuko 10 месяцев назад +1

    AWESOME MAN! Thanks a lot ! Its a Great Tutorial

    • @PeeAyeCreative
      @PeeAyeCreative  10 месяцев назад

      You're welcome, so glad you liked it!

  • @leandrogcosta
    @leandrogcosta Год назад +1

    Great! Congratulations on your interest in teaching

  • @napcousa
    @napcousa 10 месяцев назад +1

    Thanks for posting, very helpful and easy to follow!

  • @alyonarutzen2563
    @alyonarutzen2563 2 года назад +1

    So helpful, easy and fast!! Really well done. Thank you!

  • @gusyacoub7495
    @gusyacoub7495 2 года назад +1

    Thank you SO much!!! This is exactly what I was looking for.

    • @PeeAyeCreative
      @PeeAyeCreative  2 года назад

      I'm so glad you like it, you're welcome!

  • @EhsaasSchlorship
    @EhsaasSchlorship 2 года назад

    Amazing Channel Outstanding information provider. and also tell makhan method.

  • @todowebsalta
    @todowebsalta 2 года назад +1

    Excelent as always. A very useful tutorial for the collapsible menu. Marcelo from Argentina.😃

  • @mmdwebsites6847
    @mmdwebsites6847 4 года назад +1

    This is so nice because i had a diferent code from before but this would not work while using the DIVI THEME BUILDER and this worked perfectly, thank you so much...

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад

      That's great, so glad you can use this for the Menu module also!

  • @OdderBeing
    @OdderBeing 4 месяца назад

    Thank you! The collapsing works perfectly. Unfortunately, the uncollapsing doesn't - the icon doesn't show. I double-checked the code and posted this issue on the forum as well. I noticed some others had the same issue, but it's not resolved yet :( Not sure what's going on!

  • @alyonarutzen2563
    @alyonarutzen2563 2 года назад

    Danke!

  • @moussamhanna
    @moussamhanna 2 года назад +1

    thank you for this amazing tutorial

  • @abelbeyene7573
    @abelbeyene7573 2 года назад +1

    Great tutorial thank you!

  • @flaviocavaleri749
    @flaviocavaleri749 2 года назад +1

    Thank you Nelson. Perfect for me!!

  • @samfabio
    @samfabio 3 года назад +1

    That was amazing bro! Thanks and keep going

  • @SuchitaTripathi-cz7hb
    @SuchitaTripathi-cz7hb Месяц назад

    hi can u plz tell me how to design menu like your website, especially the logo section? little to top little down even header section also not broad .can u plz one video for this or anything .thank u

  • @chiranjivichaudhary8707
    @chiranjivichaudhary8707 2 года назад +1

    wow, thanks for video, this tutorial help me lots.

  • @nenadvracaric2994
    @nenadvracaric2994 2 года назад +1

    THANK YOU good man for this video and all other great knowledge you share!

  • @mariajandersen5387
    @mariajandersen5387 2 года назад

    Loved this! So easy and fast!! Thank you

  • @newhampshirelivefreeandexp4463
    @newhampshirelivefreeandexp4463 2 года назад

    Thank you for this video! It was not something I was looking forward to but your video made it a cinch!

  • @lovepixelagency
    @lovepixelagency 4 года назад +1

    Worked like a charm!

  • @jamilajones6383
    @jamilajones6383 4 года назад +1

    Thanks so much for this, really really helpful

  • @AsitAithal
    @AsitAithal 2 года назад

    Thanks for saving my day!

  • @DocWilsonDesign
    @DocWilsonDesign 3 года назад

    Really nice tuts, thanks so much for the share!

  • @MitchRue
    @MitchRue 3 года назад +1

    YOU ARE A TRUE HERO!

  • @danielnorris2101
    @danielnorris2101 2 месяца назад

    Many thanks, but how can i have it so that the text opens/collapses like the icon on the right?

  • @danielvanginkel7081
    @danielvanginkel7081 3 года назад +2

    Great tutorial! One question I keep running into though: where do the lines underneath each list item in the menu come from? I can't seem to get rid of those lines. Does anyone know?

    • @tommymiller1180
      @tommymiller1180 3 года назад

      Hi Daniel, I have the same issue. I can't see any down arrows, just grey lines in the centre of the menu item. did you find a solution for this? Thanks

    • @PeeAyeCreative
      @PeeAyeCreative  3 года назад

      It is a border bottom on the list items "li"

  • @whitehurstw
    @whitehurstw 6 месяцев назад

    Is there something additional to add to the code as the 2nd and 3rd tier dropdown parent menu items are not clickable but the 1st tier is? Thanks

  • @edwardcraven9114
    @edwardcraven9114 3 года назад

    Great tutorial, thanks. All of my submenu text is right aligned. How do I move it to the centre or left align it? Thanks

    • @PeeAyeCreative
      @PeeAyeCreative  3 года назад

      Hi Edward, for styling the mobile menu we have a separate tutorial, I suggest checking that out: ruclips.net/video/0MST8hJ8m0Q/видео.html

  • @glyndonsanders8432
    @glyndonsanders8432 3 года назад

    good day. This tutorial is very helpful but I want to ask is there a way to apply this one to a vertical menu that serves a side bar or can we apply this to the side bar itself?

  • @lydiapali
    @lydiapali 3 года назад +1

    I entered the CSS and it worked but the arrows in the menu didn't appear. Instead, I see light grey slivers you can barely see. How do I edit the icons (arrows/grey slivers) in the menu if the arrows didn't show up or if they aren't arrows after entering the code?
    Great tutorial by the way and many thanks!

    • @laembajadatiendamexicana998
      @laembajadatiendamexicana998 3 года назад +1

      Did you get any answer? It happens the same to me.

    • @belikovajulia
      @belikovajulia 3 года назад

      Same here

    • @PeeAyeCreative
      @PeeAyeCreative  3 года назад

      Hi Lydia, in general if you can ask code related questions on our blog it would really help me out and you will get a better response. Thanks!

  • @astousylla6412
    @astousylla6412 4 года назад +1

    Great tutorial thank you

  • @AdvanceWebSolutions
    @AdvanceWebSolutions 4 года назад +1

    Great tutorial a lifesaver thank you. How would you do this though if you're using the Divi theme builder, it doesn't seem to work for that thanks!

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад

      What do you mean?

    • @doeyehof
      @doeyehof 2 года назад

      @@PeeAyeCreative it only works for the original menu not the theme builder menu.... and I know why because I use an vertical menu from you other tutorial

  • @Georgia.Cherri
    @Georgia.Cherri 3 года назад

    Is it possible to add a transition when opening the parent? So it doesn’t open instantly but more smoothly?

  • @kismelwin6664
    @kismelwin6664 2 года назад +1

    THANK U SO MUCH!

  • @christianhimmer
    @christianhimmer 4 года назад +1

    Thanks as always dude ... Can you do a tutorial for the logo on menu???

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад

      Thanks Christian! What would you like to see about the logo?

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад

      That's a good idea, I'll see what I can do!

  • @renes3654
    @renes3654 3 года назад +2

    Amazing Tutorial, everything works perfectly fine!
    But, do you have a solution for the parent menu items ? The child menu items only open, when I hit the toggle. When I click on the menu item (parent) itself, the menu just closes. Would be great if the child items would also open if you click on the parent item text.
    Hope it’s understandable 😂

    • @jamesdowling6957
      @jamesdowling6957 2 года назад

      I had the same problem. Codes here helped fix it for me and menus working good on mobile now, for anyone else in the same situation. ruclips.net/video/3IQ-b2bEqyg/видео.html

    • @jakubkrivohlavy9012
      @jakubkrivohlavy9012 Год назад

      Yea.. And the submenu should stay open, if i am on some submenu page.

  • @yabadabaduunggawa966
    @yabadabaduunggawa966 2 года назад

    Hi. How to make this work properly with gtranslate plugin? When i set gtranslate to show along with the menu, the gtranslate dropdown list wont show. Thanks

  • @pihl8661
    @pihl8661 3 года назад

    Thanks! Worked great.

  • @DavidPatrickJereza
    @DavidPatrickJereza 2 месяца назад

    it worked but, how can the main item show the sub menu when click? because when I clicked the main item..it closes the dropdown

  • @spitsparrow
    @spitsparrow 2 года назад

    I used the snippets and it all works well. But is the menu item that now has collapsed sub menus is always bold and the little arrow next to it is green. I need to change both these things. I would like the menu item to not be bold and the colour of the icon to not be green. I cant find in the code where to change it

  • @camilobermudez96
    @camilobermudez96 2 года назад

    Excelente tutorial

  • @abmarketing8952
    @abmarketing8952 Год назад

    How would you change the new submenu dropdown icon? The one with the green arrow. Is it custom code? Can't find directly in the theme builder

    • @PeeAyeCreative
      @PeeAyeCreative  Год назад

      That's an ETModules icon (the Divi font family) and the icon is in the CSS code, so you can easily change it there.

  • @fishionboy9911
    @fishionboy9911 4 года назад +1

    Awesome! Thanks

  • @mustafak4378
    @mustafak4378 3 года назад +1

    How can i make the submenu expand on mobile by pressing on a menu item with a custom link of # instead of pressing the icon??

    • @ericjunge
      @ericjunge 3 года назад

      Same question here - I have a customer that does not like the icon expansion and wants the submenu to expand when you click on the top menu item. Thanks in advance

    • @mustafak4378
      @mustafak4378 3 года назад

      @@ericjunge I have found a trick solution for this myself. Not sure if it’s the right way to do it, but it works. I’ll post it here later today.

  • @ScottFichter
    @ScottFichter 3 года назад +1

    Thank you!!!!!!!

  • @fahadkhalid2120
    @fahadkhalid2120 3 года назад +1

    it worked, thanks

  • @izkuhl
    @izkuhl 3 года назад +1

    finally a good tut

  • @lauretomben298
    @lauretomben298 3 года назад +1

    Thank you so much !

  • @leninrodriguez4765
    @leninrodriguez4765 2 года назад

    Hello, good day, I wanted to comment, I used the code and it works perfectly, except for a small problem, the menu appears only on the pages but it does not appear on the posts, I am using the divi constructor to apply a sidebar in all the posts, I don’t know if that’s the problem, but before adding the code that didn’t happen, any solution, thank you very much

  • @rahatali2335
    @rahatali2335 11 месяцев назад

    Thank you soo much, Sir.
    Actually I am having same issue what Elementor. When I refresh or load any page, the dropdown menu expends for a sec, and collapse automatically. I tried many things but couldn't fixed. Will this work with Elementor?

    • @PeeAyeCreative
      @PeeAyeCreative  11 месяцев назад

      I don't know about other builders but I'm sure a similar principle would work although with different selectors.

  • @sonatonifans
    @sonatonifans 4 года назад +1

    Thank you sooooooo much

  • @phaj7676
    @phaj7676 2 года назад

    How can i slide-in my hanburguer menu in desktop for divi with css

  • @badura72
    @badura72 4 года назад

    Thanks! Worked fine and helped a lot...but :-) I've got two (not one) little down arrows...tested it on serveral installations. Do you have any idea why? Thx

    • @BennyHozjan
      @BennyHozjan 4 года назад +3

      because there is a missing \ means it should be \33 or \4d instead of 4d for example

    • @badura72
      @badura72 4 года назад +1

      @@BennyHozjan Thx!

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад +1

      Yeah that is a common bug with pasting code into Divi.

    • @BennyElimelech
      @BennyElimelech 4 года назад +1

      When i changed content: '32'; to \32, and content: '33'; to \33 it fixed for both directions tnxx

  • @محفوظالحق
    @محفوظالحق 3 года назад +1

    just awesome!

  • @YounEnvouteuse
    @YounEnvouteuse 3 года назад +1

    thanks you so much !

  • @maccatabay270
    @maccatabay270 2 года назад

    i tried this and it works. the problem here is that when you click the entire row with dropdown other that the icon, it closes. any ide why?

  • @neidacollege-narendradefen5664
    @neidacollege-narendradefen5664 Год назад +1

    Thank you

  • @BennyElimelech
    @BennyElimelech 4 года назад

    Hello very good tutorial thank you man:)
    i try to fix that code to my site from right to left letters... and its getting big mess// the arrows are on the letters on the right side.
    how can i fix the arrows to be on the left side? is there an easy way for that in divi?

  • @Mralienlaf
    @Mralienlaf 2 года назад +1

    ESPECTACULAR

  • @AlotoSumi
    @AlotoSumi 3 года назад

    how to use the Et module font ? to change the signs to + -
    please

    • @PeeAyeCreative
      @PeeAyeCreative  3 года назад

      You can use any of them here: www.elegantthemes.com/blog/resources/elegant-icon-font

    • @AlotoSumi
      @AlotoSumi 3 года назад

      @@PeeAyeCreative my menu is collasping but the icon is not showing . just a white circle . could you please help me ?

    • @AlotoSumi
      @AlotoSumi 3 года назад

      and when i try to upload the fonts , they arent premitting because of the security reasons

  • @nbroberts97
    @nbroberts97 3 года назад

    ugh i wish divi had an option to change header format based on device

  • @NaysTutor
    @NaysTutor 2 года назад

    thank you!

  • @filipsil8262
    @filipsil8262 Год назад

    worked thanks

  • @InsideSchoolForum
    @InsideSchoolForum 4 года назад

    I really need your help, sir. I did use your snippet and everything was working well until a few days ago the mobile menu and logo stop showing. I have tried all I can to make it to work but I can not do it. Can you please help me with a fix to it. The menu is working well on pc but not on mobile.

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад

      I'm guess the issue is related to the recent WordPress 5.6 update. Be sure to update Divi and report any bugs to Elegant Themes.

    • @InsideSchoolForum
      @InsideSchoolForum 4 года назад

      @@PeeAyeCreative ok sir. I will check right a way for an update

  • @sauravramofficial
    @sauravramofficial 4 года назад

    it worked but mine is shoeing 2 drop icon instead of 1 ..something like this vv instead of just v

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад +1

      Okay did you check if Divi is stripping out the \ forward slash in the code? You can see about that in the blog comments.

  • @regiestry6575
    @regiestry6575 2 года назад

    Hi, is there a way to make the parent link, clickable too? thanks!

    • @PeeAyeCreative
      @PeeAyeCreative  2 года назад

      It already is clickable, I have not altered that in this tutorial.

    • @regiestry6575
      @regiestry6575 2 года назад

      @@PeeAyeCreative thanks, but I'm confused it's not working on me.
      I mean instead of just clicking on the icon on the left, I can also click on the label of the parent link, then it should do dropdown the submenu.

  • @sihamcosmeticsbio2947
    @sihamcosmeticsbio2947 4 года назад +1

    Merci je viens de faire parfait

  • @sohaibromi2671
    @sohaibromi2671 4 года назад +1

    Thanks, buddy. It's helpful for me

    • @PeeAyeCreative
      @PeeAyeCreative  4 года назад +1

      You're welcome, I'm glad it is helpful!

  • @XxWacadexX
    @XxWacadexX 2 года назад

    doesnt work on my site.

  • @ninadebey2185
    @ninadebey2185 4 года назад +1

    merci !!!!!!!!!!!!!!

  • @SINGRAISOREN-tm3uo
    @SINGRAISOREN-tm3uo Год назад

    What is collapse minu mean

  • @Jordi_SP
    @Jordi_SP 2 года назад

    ¿por qué me sale el título del vídeo y descripción en español, si el vídeo es de un inglés de habla inglesa? youtube es un puto troll...

  • @emmtalarico3491
    @emmtalarico3491 8 месяцев назад

    damn as a developer - this solution sucks. I get its meant for common folk and it works well in that use case. This clearly is a blind spot for divi.

    • @PeeAyeCreative
      @PeeAyeCreative  8 месяцев назад

      I'm not sure how this solution would differ for developers vs common folks. It's also not a blind spot, they are fully aware of these things.

    • @emmtalarico3491
      @emmtalarico3491 8 месяцев назад

      @@PeeAyeCreativegood devs are going to write a child theme function or a plugin extension to cover this and likely would avoid using jQuery or recommend that the client uses native Gutenberg instead. A good dev isn't going to inject code into the browser even if its just css. You can be aware of a problem and not care about correcting it and that is a blind spot. Hope that helps!

    • @PeeAyeCreative
      @PeeAyeCreative  7 месяцев назад

      Your statements are very odd, and quite frankly, wrong. A developer would certainly not do what you said. I'm not sure where your comment is coming from, but it's really strange.

    • @emmtalarico3491
      @emmtalarico3491 6 месяцев назад

      @@PeeAyeCreative lol suggested use of Gutenberg which has been native to WordPress for a number of years now is a strange comment? 🤔 Got it.

  • @jesslynthessner1467
    @jesslynthessner1467 Год назад +1

    great tutorial. thank you