We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Make Shop All go onto the same column in mega menu

Make Shop All go onto the same column in mega menu

kirsten11123
Shopify Partner
71 0 20

Screenshot 2025-07-03 at 10.56.23 AM.png

hello,

I'd like the 'Shop All' to stack underneath the 'Shop Bundles' (Where green box is).

How do I do this? I want it to show as a top level menu.

 

https://om0k15yr0usgn1bz-86278439194.shopifypreview.com

Replies 2 (2)

Guleria
Shopify Partner
4299 825 1189

Hello @kirsten11123 ,

 

The clean solution for it will be edit theme liquid code and apply the logic.

btw for now you can try this solution  edit theme.liquid search for </body> now here just before to it add this code

<script>
document.querySelectorAll('.mega-menu__list').forEach(function(list) {
  const items = list.querySelectorAll('.mega-menu__item');
  const count = items.length;

  if (count >= 2) {
    const wrapper = document.createElement('div');
    wrapper.className = 'custom-wrapper-new';

    const lastItem1 = items[count - 2];
    const lastItem2 = items[count - 1];

    // Insert wrapper before the first of the last two items
    list.insertBefore(wrapper, lastItem1);

    // Move the two items into the wrapper
    wrapper.appendChild(lastItem1);
    wrapper.appendChild(lastItem2);
  }
});

</script>

 

Regards
Guleria

- Elevate Your Store with Expert Shopify Services. Email: guleriathakur43@gmail.com - Need a quick fix or a tailored customization? I’ve got you covered.
- Looking to enhance your pages? Try GEMPAGES- a powerful drag & drop page builder.
- Let’s make your store stand out. Get in touch today!
- My Apps: Productify Groups – Smart product grouping made easy.

tim
Shopify Partner
4812 598 1733

This is a hackish solution, but it will work for now (and does not require code edits!) -- add the following code to this sections "Custom CSS":

.mega-menu__item:last-child {
  grid-column: 3;
  margin-top: -12rem;
}

Screenshot 2025-07-03 at 2.50.57 PM.png

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com