Main Menu Drop Down Box is not clear

Main Menu Drop Down Box is not clear

vibehome
Explorer
71 4 31

Hey there,

 

Having a small issue with the drop down menu - when you click it and the drop down does not display and cant see the font.

 

Does anyone you know how to make this drop down filled so you can see the font?

Many thanks in advance.

 

Screenshots attachedScreenshot 2024-05-17 at 20.28.55.pngScreenshot 2024-05-17 at 20.29.05.png

Replies 5 (5)

conversionist
Shopify Partner
98 8 12

Your dropdown menu is displaying with a transparent background you can adjust the CSS to make it clear

  1. Go to Online Store > Themes > Actions > Edit Code
  2. Open your theme's CSS file
  3. Look for the dropdown menu styles and find the property controlling the background color
  4. Set the background color to a solid color instead of transparent

 

 

.dropdown-menu {
    background-color: #ffffff; /* Change #ffffff to your desired background color */
}
​

 

 

Save the changes and check if the dropdown menu now has a solid background color

Building 100 Shopify apps for that BMW M5 dream

Follow the journey at https://www.youtube.com/@conversinist
https://
conversionist.online/
Buy me a coffee
vibehome
Explorer
71 4 31

Hi Simo

 

Thanks for the message.

 

Is this the section I change? it says ' 

 

<ul
id="HeaderMenu-MenuList-{{ forloop.index }}"
class=" header__submenu list-menu list-menu--disclosure color-{{ section.settings.menu_color_scheme }} gradient caption-large motion-reduce global-settings-popup"
role="list"
tabindex="-1"

 

Screenshot 2024-05-17 at 21.37.59.png

conversionist
Shopify Partner
98 8 12

Yes that's the section you'll need to adjust
Look for the part in the CSS that controls the background color of the dropdown menu. You can change the background-color property there to make it clear
like this

 

.header__submenu {
    background-color: #ffffff; 
}

 

 

Building 100 Shopify apps for that BMW M5 dream

Follow the journey at https://www.youtube.com/@conversinist
https://
conversionist.online/
Buy me a coffee

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @vibehome 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.header__submenu {
    background: red !important;
}

 

And Save. 

Result:

Made4uoRibe_1-1715978825555.png

You cant use balck or white color background, cause when you scroll down the text-color change to black. If you like to follow same background color you need a devloper to adjust the javascript. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
vibehome
Explorer
71 4 31

Thanks for the help. I think I will skip the drop down for now. Appreciate your help 😊