How to send the mega menu below the header Title

Solved

How to send the mega menu below the header Title

Shivam_Learning
Shopify Partner
14 0 0

Hi, 

How to send the mega menu below or under the mega menu sub menus to under the title header like it shown in the reference image

url - https://jkv6etaxearo1rr6-88161681693.shopifypreview.com

Shivam_Learning_3-1728365494822.png

 

 
 
 

 

 

Accepted Solution (1)
GTLOfficial
Shopify Partner
831 171 187

This is an accepted solution.

Go to online store ---------> themes --------------> actions ------> edit code------->main.css
at the end of the file and save.

.main-nav__item.child-nav__item {
margin-left: -21rem !important;
margin-top: 35px !important;
}
.xl\:grid-cols-4 {
grid-template-columns: repeat(3,minmax(0,1fr));
}
}

result
7.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
7375 1996 2437

Hey @Shivam_Learning 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (min-width: 768px) {
ul.child-nav.md\:grid.md\:nav-gap-x-16.md\:nav-gap-y-4.md\:grid-cols-4.self-start.xl\:grid-cols-4 {
    display: flex !important;
    flex-flow: column !important;
    align-items: center !important;
}
}
</style>

RESULT:

Moeed_0-1728365865084.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


GTLOfficial
Shopify Partner
831 171 187

Hello @Shivam_Learning 
Go to online store ---------> themes --------------> actions ------> edit code------->main.css
at the end of the file and save.

@media (min-width: 769px) {
.child-nav.md\:grid.md\:nav-gap-x-16.md\:nav-gap-y-4.md\:grid-cols-4.self-start.xl\:grid-cols-4 {
display: flex;
flex-flow: column;
align-items: center;
row-gap: 5px;
}
.mega-nav--columns .child-nav__item, .mega-nav--columns .main-nav__grandchild {
margin-left: -40rem;
margin-top: 23px;
}
}

result
3.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
Shivam_Learning
Shopify Partner
14 0 0

Hi thanks, The below menu should look horizontal 3x3 like the reference

GTLOfficial
Shopify Partner
831 171 187

This is an accepted solution.

Go to online store ---------> themes --------------> actions ------> edit code------->main.css
at the end of the file and save.

.main-nav__item.child-nav__item {
margin-left: -21rem !important;
margin-top: 35px !important;
}
.xl\:grid-cols-4 {
grid-template-columns: repeat(3,minmax(0,1fr));
}
}

result
7.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
GTLOfficial
Shopify Partner
831 171 187

Thanks for accepting the solution
please hit like button also.

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh