On main menu the drop down navigation is black not white

Solved

On main menu the drop down navigation is black not white

vibehome
Explorer
71 4 31

Hi guys,

 

On our main menu bar on top home page - I have just added a sub-section drop down box.

 

For example - Home Electricals > added Kettles to drop down for customers to choose from.

 

However since I've done this the font has gone black and not contrast. I did a few months ago. someone said to add some code to contrast it. 

 

Anyone know how to make it the same as all the rest of the menu options. You see this more on a mobile device.

 

Greatly appreciate if anyone could help. Screenshot attached.IMG_6192.PNG

Accepted Solutions (2)
Raj-webdesigner
Shopify Partner
360 90 88

This is an accepted solution.

Add This css in your edit code > base.css file

.header__submenu .image__menu {
    filter: drop-shadow(1px 1px 2px black);
}

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


View solution in original post

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.header__submenu .image__menu {
filter: drop-shadow(1px 1px 2px black) !important;
}
</style>

techlyser_web_0-1721987934013.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 7 (7)

niraj_patel
Shopify Partner
2391 516 515

Hello @vibehome 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px) {
  .menu-drawer summary.menu-drawer__menu-item {
        color: #fff !important;
   }

   .menu-drawer__close-button {
         color: #fff !important;
    }
}
</style>

techlyser_web_0-1721985853586.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

vibehome
Explorer
71 4 31

Thats great. Displays perfect on mobile now thanks.

 

Is there anyway to fix : The drop down boxes on main menu on desktop. as currently when you drop down ' Electricals ' the font is write and does not contrast to see clearly.

 

Screen shot attachedScreenshot 2024-07-27 at 06.02.04.png

 

Raj-webdesigner
Shopify Partner
360 90 88

This is an accepted solution.

Add This css in your edit code > base.css file

.header__submenu .image__menu {
    filter: drop-shadow(1px 1px 2px black);
}

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.header__submenu .image__menu {
filter: drop-shadow(1px 1px 2px black) !important;
}
</style>

techlyser_web_0-1721987934013.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
vibehome
Explorer
71 4 31

Thank you so much 😊

K-Mahesh
Shopify Partner
21 3 5

Hello @lukeeys 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your base.css file

3. Paste the below code bottom on base.css

<style>
@media screen and (min-width: 768px) {
 .image__menu {
   filter: drop-shadow(1px 1px 2px black) !important;
 }
}
</style>


Screenshot 2024-07-27 103840.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

vibehome
Explorer
71 4 31

Thank you so much 😃