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: Mega menu color change CSS

Solved

Mega menu color change CSS

AA226
Excursionist
19 0 5

Hello community, 

 

Is there anyone who has a CSS code to change the color of the mega menu to match the color of the header, i've been searching all over the settings, try with background change, it won't work ... 

 

If anyone knows how to do it with CSS, i'll be 100% grateful for some helps please : 

The color is want is : F9F7F2, and without the grey separation line please. 

 

Thank you so much for anyone that would take time to help me fixing the issue. 

 

aaliyaamira.com

psw : kingaaliya

 

Capture d’écran 2024-11-22 à 00.40.29.png

 

Accepted Solution (1)
AnneLuo
Shopify Partner
1381 240 281

This is an accepted solution.

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
.site-header--full .site-nav__item-mega .site-nav__dropdown {
    background: #F9F7F2 !important;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 5 (5)

AnneLuo
Shopify Partner
1381 240 281

Hi, @AA226 

Do you want to change the color of the text or the background?

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

AA226
Excursionist
19 0 5

The background please ? 

AnneLuo
Shopify Partner
1381 240 281

This is an accepted solution.

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
.site-header--full .site-nav__item-mega .site-nav__dropdown {
    background: #F9F7F2 !important;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

AA226
Excursionist
19 0 5

Perfect thank you so much

DaisyVo
Shopify Partner
4469 501 598

Hi @AA226 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

 

.site-nav__dropdown.meganav {
    background: #F9F7F2 !important;
}

 

 

Here is the result: https://prnt.sc/KFS939AOr26T
 
I hope this helps
 
Best,
 
Daisy
Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution