Megamenu Issues ( Shopify Dawn Theme )

Solved

Megamenu Issues ( Shopify Dawn Theme )

dreamtechzone_5
Shopify Partner
689 1 103

Hello Everyone!

I am using Shopify Dawn Theme. I have added images to the mega menu through coding.
1. I want to keep the images in one line in desktop mode. It is fine in mobile mode.
2. I want to keep the text below the image in one line. It is showing 2 lines.
3. I want to reduce the space between the image and the text a little in desktop and mobile mode.
I have added the image below.

 

Store: https://dream-candle-lights.myshopify.com/

Password: Admin

 

I want to keep it exactly like this image.

 

mega menu.webp

Accepted Solution (1)
BiDeal-Discount
Shopify Partner
784 101 174

This is an accepted solution.

ok let replace with this css:

@media (min-width: 768px) {
  #Details-HeaderMenu-6 .mega-menu__list {
    flex-wrap: nowrap;
  }
  #Details-HeaderMenu-6 .mega-menu__list > li {
    flex: 0 0 140px;
  }
}
#Details-HeaderMenu-6 .mega_menu_img .title {
  height: auto;
  margin-top: 30px;
  width: auto;
  border-radius: unset;
  font-size: 1.17rem;
  font-weight: bold;
}

Screenshot 2025-06-02 at 17.53.43.png

 

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp

View solution in original post

Replies 7 (7)

BiDeal-Discount
Shopify Partner
784 101 174

Hi @dreamtechzone_5 

let try to add this custom css code:

@media (min-width: 768px) {
  #Details-HeaderMenu-6 .mega-menu__list {
    flex-wrap: nowrap;
  }
  #Details-HeaderMenu-6 .mega-menu__list > li {
    flex: 0 0 max-content;
  }
}
#Details-HeaderMenu-6 .mega_menu_img .title {
  height: auto;
  margin-top: 10px;
  width: auto;
  border-radius: unset;
}

the result will look like:

BiDealDiscount_0-1748857976414.png

 

 

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
dreamtechzone_5
Shopify Partner
689 1 103

Great it worked. But I want to increase the space between images. The images stick to each other. And I want to keep the same space between each image. Thank you very much.

 

Screenshot (146).png

BiDeal-Discount
Shopify Partner
784 101 174

let replace with this css:

@media (min-width: 768px) {
  #Details-HeaderMenu-6 .mega-menu__list {
    flex-wrap: nowrap;
  }
  #Details-HeaderMenu-6 .mega-menu__list > li {
    flex: 0 0 140px;
  }
}
#Details-HeaderMenu-6 .mega_menu_img .title {
  height: auto;
  margin-top: 10px;
  width: auto;
  border-radius: unset;
}
- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
dreamtechzone_5
Shopify Partner
689 1 103

The space in the image doesn't seem to be the same.

 

Screenshot (148).png

BiDeal-Discount
Shopify Partner
784 101 174

to make space same, you have to use as this https://community.shopify.com/c/shopify-design/megamenu-issues-shopify-dawn-theme/m-p/3057920/highli...

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
dreamtechzone_5
Shopify Partner
689 1 103

Can the text be small and bold in desktop mode?
And in mobile mode, there seems to be more space between the image and the text.

 

3.png

BiDeal-Discount
Shopify Partner
784 101 174

This is an accepted solution.

ok let replace with this css:

@media (min-width: 768px) {
  #Details-HeaderMenu-6 .mega-menu__list {
    flex-wrap: nowrap;
  }
  #Details-HeaderMenu-6 .mega-menu__list > li {
    flex: 0 0 140px;
  }
}
#Details-HeaderMenu-6 .mega_menu_img .title {
  height: auto;
  margin-top: 30px;
  width: auto;
  border-radius: unset;
  font-size: 1.17rem;
  font-weight: bold;
}

Screenshot 2025-06-02 at 17.53.43.png

 

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp