Hover Dropdown Shopify Dawn Theme Pt. 2 - Making Title Menu Items Clickable

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • WATCH THE UPDATED VERSION OF THIS VIDEO [2024]: • Hoverable Drop Down Me...
    Part 1: • Add Hover Effect to He...
    In this video, I cover how to make our main menu items clickable after implementing our hover dropdown in Shopify’s dawn theme.
    Link to code: pastebin.com/Z...
    My Latest Shopify Tips & Tricks: wmiz.github.io...
    Connect with me: / will-misback
    Don't @ me: / ecomoverlord
    Email me: me@willmisback.com
    Timestamps:
    0:00 Intro
    0:45 Coding Commences
    6:17 Feature Demo & Wrapup

КОМЕНТАРІ • 106

  • @WillMisback
    @WillMisback  3 роки тому +4

    My Latest Shopify Tips & Tricks: wmiz.github.io/mastering-shopify
    Link to Part 1: ua-cam.com/video/-oz3hgI09bk/v-deo.html
    Code to copy:
    Line 350: {{ link.title | escape }}
    {% render 'icon-caret' %}

    Line 363: {{ childlink.title | escape }}
    {% render 'icon-caret' %}

  • @gadgetthing
    @gadgetthing 2 роки тому +2

    Dude, you're awesome. Literally saved my day.

    • @WillMisback
      @WillMisback  2 роки тому

      Glad it helped!

    • @gadgetthing
      @gadgetthing 2 роки тому +1

      @@WillMisback Merry Christmas!

    • @WillMisback
      @WillMisback  2 роки тому +1

      @@gadgetthing Merry Christmas to you as well!

  • @nitro7726
    @nitro7726 3 роки тому +2

    another great video. thanks will!

  • @robkelman9024
    @robkelman9024 2 роки тому +3

    Thanks so much Will, love your work and appreciate how easy you make it to integrate 🙏

    • @WillMisback
      @WillMisback  2 роки тому

      Hi Rob, thanks for letting me know. Made my day!

    • @robkelman9024
      @robkelman9024 2 роки тому

      Will, how easy is it to make the announcement bar a multi in Dawn? I.e. 3 or 4 messages playing in a sequence 5sec each?

  • @gilbertmartinez782
    @gilbertmartinez782 3 роки тому +2

    Solid tips! Appreciate the videos and effort

  • @outofthewoods
    @outofthewoods 3 роки тому +2

    Thanks so much for this - worked perfectly!

  • @korkmazmerve
    @korkmazmerve 2 роки тому +2

    thank you so much for sharing this video. it helped a lot

  • @LawrenceA-JSoriano
    @LawrenceA-JSoriano 2 роки тому +2

    Thank you so much you're the best man !!!!

  • @abhishekbandhu
    @abhishekbandhu 3 роки тому +2

    Thank you so much for the tutorial!

  • @michaelvetter3213
    @michaelvetter3213 3 роки тому +2

    Thanks man

  • @MykhailoRomanov-t1u
    @MykhailoRomanov-t1u Рік тому +1

    Thank you so much for this!

  • @WillMisback
    @WillMisback  3 роки тому +3

    Let me know if you have any trouble implementing this tutorial. Which features should I cover next?

    • @mylilyireland1462
      @mylilyireland1462 3 роки тому

      On the Dawn Theme, could you create a tutorial on how to code in a "notify back in stock" feature so customers can be emailed when out of stock items come back in stock. Would that be possible?

    • @yogasciencemusic
      @yogasciencemusic 2 роки тому

      Side bar on left side to filter by price or brands or smthing similar. Thank you.

  • @Gaberehairandmakeup
    @Gaberehairandmakeup 2 роки тому +1

    amazing.. much apreciated

  • @elyzaespayos
    @elyzaespayos 3 роки тому +2

    Thank you so much for this!!!

  • @yogasciencemusic
    @yogasciencemusic 2 роки тому +2

    Bro can you put a Tips/Donation link on your video description. I bet people will appreciate your effort. regards.

  • @benjaminmarriott2756
    @benjaminmarriott2756 Рік тому +1

    I've tried this but looks like Dawn has had some updates.. Anyone know if this code has to be amended to work now? I pasted the exact code as per the video and the code in paste bin

  • @iEvolkcuf
    @iEvolkcuf 3 роки тому +2

    Thank you so much!

  • @dylanb2086
    @dylanb2086 3 роки тому +2

    Thanks!

  • @ashleyyoume2861
    @ashleyyoume2861 2 роки тому +1

    good tutorial but it does not work on mobile. how to modify the code to make it work on mobile please

  • @jonathanfitzpatrick3235
    @jonathanfitzpatrick3235 Рік тому +1

    Great Videos, unfortunately the code doesn't work. The first dropdown menu is fine but when you move the cursor down to the next dropdown menu it won't let you click, it just comes off the menu. Any ideas?

  • @Calicouple
    @Calicouple 3 роки тому +5

    You might already know this. Under Catalog 1 -> Item 1 - You don't have a sub-menu. Instead, you have a sub-menu for Item 2. If you had a sub-menu under Item 1, the hoawer dropdown will auto close as soon as you hoawer past the Item 1 sub-menu and won't let you go to Item 2. Is there a fix for this?

    • @WillMisback
      @WillMisback  3 роки тому

      Good catch Arun, unfortunately with the dropdown being below the item in Dawn there isn't really an elegant way to solve this issue because after you mouse below the item the mouse may not be hovering on the menu element. Let me know if that makes sense or you have any suggestions for how to solve this.

    • @begume6081
      @begume6081 2 роки тому

      @@WillMisback Hi Will, thank you very much for this tutorial. I have also noticed that. The only think that the user can do is to click on item 1 so the submenu under item 2 opens.

    • @juniorbee1564
      @juniorbee1564 2 роки тому

      I do need this fix too. I realised that if I hover really quick it will open item 2 menu. But user will not be able to open this if they are shopping. Do you have a fix for this?

    • @mhforhad4257
      @mhforhad4257 2 роки тому

      @@WillMisback change the margin to 0 for ".header__submenu .header__submenu" line - 2653 in base.css your problem will be solved

    • @EmbraceMaking
      @EmbraceMaking 2 роки тому

      @@mhforhad4257 This doesn't seem to be working for me :( Same problem, any expandable menu items after the first are still not accessible... the menu snaps shut

  • @mahaawad6113
    @mahaawad6113 3 роки тому +3

    Thank you for the tutorial , it's really helpful , is it possible to make a tutorial for making a mega menu with Pictures on Dawn Theme

    • @WillMisback
      @WillMisback  3 роки тому

      Any requests for specific features in the mega menu?

  • @ahmedyosif6741
    @ahmedyosif6741 2 роки тому +1

    Thank you Will,
    but when I'm hovering on the menu i dropdown isn't keeping it's state it just fades when i go away from the main menu
    (MEGAMENU_

  • @bigthinkersnetwork1529
    @bigthinkersnetwork1529 Рік тому

    LOVE IT!!!! Thank you so much!!!

    • @WillMisback
      @WillMisback  Рік тому

      Glad to help Big Thinkers Network!

  • @tmd-uzi16
    @tmd-uzi16 Рік тому +1

    what about for mobile? also thanks this video help a lot

  • @mylilyireland1462
    @mylilyireland1462 3 роки тому +6

    Hi Will, thanks very much for tutorials, they are very helpful! Is there a way to have the submenu pop out horizontally to the right hand side in another column (rather than dropdown vertically in the same column)?

    • @WillMisback
      @WillMisback  3 роки тому +7

      Hi Mylily, thanks for your comment. I'm going to look into this and get back to you as soon as I can!

    • @User-vz4xm
      @User-vz4xm 3 роки тому

      @@WillMisback that would be super useful!

    • @cesarruelas8825
      @cesarruelas8825 3 роки тому

      @@WillMisback That is something Im looking to do too, it will be awesome!

    • @pj494
      @pj494 2 роки тому

      @Will Misback - Shopify Developer This would be super helpful. Have been looking for this solution too! Please make a tutorial on this if possible. Thanks in advance :)

  • @jahangirrasel9060
    @jahangirrasel9060 3 роки тому +1

    Hello sir, it's working on desktop computer, but not working in mobile phone. May I know that, do you have any solution for that. Please let me know.

  • @Amrinamrooworld
    @Amrinamrooworld 3 роки тому +1

    When i add more sub categories under subcategory it doesn’t work ??

  • @praveentoppo4203
    @praveentoppo4203 3 роки тому +2

    How to add category option for all sub - category and sub-sub category in Dawn theme.
    How to remove vendor name / shipping calculated at end?
    Please, make a video on it .

    • @WillMisback
      @WillMisback  3 роки тому +1

      Hi Praveen, as you probably know, by default Dawn hasn't provided us with the elements to achieve this. This is possible but would require us to build these elements. I'm not sure I understand your second request very well. Are you referring to the cart page or checkout?

    • @praveentoppo4203
      @praveentoppo4203 3 роки тому +1

      @@WillMisback Yes Sir, I did it myself. By hiring Mohamad Ramzan Sir on UA-cam. He helped me.

  • @talfrei
    @talfrei 2 роки тому +1

    I tried implementing your code but the problem that I have is that the category link (child) in the dropdown menu does not open the category page. Instead it closes the (grandchild) dropdown (when I click it) which had previously opened on hover (on the child).

  • @christielbates
    @christielbates 2 роки тому +1

    I'm trying to do this with the "Taste" theme. I know the lines will be different, but will it work? Having problems :/

  • @0Carlisle0
    @0Carlisle0 3 роки тому +3

    Hey Will. Super helpful tutorial! Thanks for putting that up. It works perfectly on all browsers except for safari. I was wandering if there is another piece of code I have to write? The main menu link is unclickable and the drop down does not appear on hover ( only on safari)

    • @WillMisback
      @WillMisback  3 роки тому +1

      Hmm, I'll look into this. Desktop safari can be pesky sometimes

    • @michellelion9530
      @michellelion9530 2 роки тому

      Hey Will, any luck on this?

  • @carinaglover4464
    @carinaglover4464 3 роки тому +1

    Hi - Great tutorial, followed all steps and it's worked. I just wondered how you get the title menus clickable on mobile? Thanks.

    • @WillMisback
      @WillMisback  3 роки тому

      Hi Carina, this isn't really possible on mobile because if the title menus were clickable then there would be no way to access their sub menus as there isn't really hover functionality on mobile

    • @carinaglover4464
      @carinaglover4464 2 роки тому

      @@WillMisback Hi Will sorry, I don't think you've understood what I mean. So on laptop/desktop you hover over the main title and my drop downs show which is perfect and when you click on that main title (shop) all my collections show on a page - which again is great.
      On mobile though, you click on the main title (shop) and then it drops down to show you more. I'd like the actual main title clickable rather than clicking to show the drop down. 🙂
      Does that make sense? Is that doable? thanks.

  • @M4R316
    @M4R316 2 роки тому +1

    Hi Will, I copied and implemented your steps but my dropdown menu doesnt click to anything. Can you please help?

    • @WillMisback
      @WillMisback  2 роки тому +1

      Hey BroZ Gaming. It's hard for me to debug over YT comments, but your best bet would be to open up your browser's dev tools & see if any errors are being thrown or if the links are hooking up properly.

  • @ChanteeStyle
    @ChanteeStyle 3 роки тому +4

    can you show us how to create a mega menu in dawn?

    • @WillMisback
      @WillMisback  3 роки тому +2

      Hi Danielle, I'll take a look at doing this and get back to you!

    • @dominykasjasaitis9806
      @dominykasjasaitis9806 3 роки тому +1

      @@WillMisback It would be extremely helpful!

  • @User-vz4xm
    @User-vz4xm 3 роки тому +2

    Very strange, title menu didn't work for me, still unclickable. But the sub menu title(childlink) worked... any idea why?

    • @WillMisback
      @WillMisback  3 роки тому

      Hi Crystal, make sure you remembered to link something to that element in the Shopify navigation settings. Other than that maybe try the tutorial again from the duplicate you made. Sorry, it's hard to troubleshoot over YT comments sometimes.

  • @fabriziomirabella
    @fabriziomirabella Рік тому

    thank you for this solution it's great. I just want to mention you that I tried and it work great in brave browser but it won't work in safari. would you happen to know why is that???

    • @MatthewVari
      @MatthewVari Рік тому

      I do have the same problem...anyone with solution? Nonetheless, thanks for the video!

  • @suwanneedasrisvedehag202
    @suwanneedasrisvedehag202 3 роки тому +1

    Hi, Will thank you for this. Can you somehow show how this will work thru phones? I would like it to be clickable too. bc this only works for laptop and tablets

    • @WillMisback
      @WillMisback  3 роки тому +1

      Hi Suwannee, hover dropdown menu's don't really make sense to implement on a touch device as there is no cursor to hover. Hope that helps!

  • @jonice4229
    @jonice4229 2 роки тому +2

    can you do also mega menu ? Thanks

    • @ahmedyosif6741
      @ahmedyosif6741 2 роки тому

      Yes, we would love to have this feature for the mega menu

  • @anika2539
    @anika2539 3 роки тому +2

    hm, the names of my main catogories just doubled. thats weird. Its like in your case it would say "Catalog1Catalog1" and "Catalog2Catalog2". Any idea why or what i've done wrong? It seemed so easy, ughs!

    • @WillMisback
      @WillMisback  3 роки тому

      Hi Anika! You may have accidentally copied and pasted one of the tags in header.liquid.

  • @Mauro-pv7yy
    @Mauro-pv7yy 3 роки тому +2

    Hi, thanks for your video.
    How do I make the "grandchildlink" underlined when selected? (in your video "item 3" or "about" menu)
    Thanks
    M

    • @WillMisback
      @WillMisback  3 роки тому

      Hi Mauro, follow similar steps to both the links & childlinks, replacing the relevan variable in the code with grandchildlink instead.

  • @TaylorAshley
    @TaylorAshley 2 роки тому +1

    Hey Will! Thank so much for this. Super easily to follow and understand.
    I have one question: I removed the caret entirely for a cleaner look and now the menu item that has the dropdown isn't centered within its padding. I can't seem to figure out how to fix this. Is there a way to add "text-align: inherit" to your code perhaps? Super new to this so any help is appreciated :)

    • @TaylorAshley
      @TaylorAshley 2 роки тому +1

      Fixed it myself!
      For anyone with the same issue:
      header.liquid around line 68.
      Padding-right did not match the padding on the rest of the menu list items. I had to switch mine to 1.2rem.

  • @lazarofa
    @lazarofa 2 роки тому +1

    Hi, I've just started to use the Dawn theme. My problem is my dropdown menu is too long. Do you have any options for the menu to flare out to the left and right and show multi columns rather than 1 long list?

    • @WillMisback
      @WillMisback  2 роки тому +1

      Hi Atturina, a feature like this would require some additional coding that goes beyond the difficulty level of most of my tutorials.

  • @kenzyco8855
    @kenzyco8855 3 роки тому +2

    This was great. I just recently implemented Dawn as my new theme. I just was wondering if this could also be done for mobile as well though? I used to have minimal and I believe it auto made a clickable child in the drop down labeled like "All Clothing" or "all tops" But unfortunately dawn doesn't do that. I love this theme but there is a few functions they left out of it.

    • @WillMisback
      @WillMisback  3 роки тому

      Hi Kenzy, this would be doable but would require adding a togglable line to your theme's header.liquid file. eg. {% liquid schema toggle %} All {{collection.title}} {% end liquid schema toggle %}. I'd be happy to code it for you if you would like: willmiswebdev@gmail.com

  • @DiegoSantiago21
    @DiegoSantiago21 3 роки тому +2

    Does it work with Dawn OS 2.0 version?

    • @WillMisback
      @WillMisback  2 роки тому +2

      This tutorial should work for OS 2.0

  • @charif9447
    @charif9447 3 роки тому +2

    Hi, great video, but where is the code? Can you please post it?

    • @WillMisback
      @WillMisback  3 роки тому

      Hi Charif, I posted the code in a comment. Can you let me know if you can see it? Otherwise, I will post a link to it in the description.

    • @WillMisback
      @WillMisback  3 роки тому

      Line 350: {{ link.title | escape }}
      {% render 'icon-caret' %}

      Line 363: {{ childlink.title | escape }}
      {% render 'icon-caret' %}

    • @charif9447
      @charif9447 3 роки тому +1

      @@WillMisback Nope, can't see it nowhere

    • @WillMisback
      @WillMisback  3 роки тому

      @@charif9447 Thanks for letting me know, check the description now. There should be a pastebin link

    • @WillMisback
      @WillMisback  3 роки тому

      @@charif9447 pastebin.com/ZRTcVdG2

  • @Horrortelltales
    @Horrortelltales 2 роки тому +1

    your coding explanation really confused a non programmer like me. When you copy and paste and I couldn't see shit.

  • @JanHoving
    @JanHoving 2 роки тому +1

    Great content! Feedback: Music way to loud ;-)