how do i change the menu dropdown text and color?

its currently looks like this:

i want the dropdown menu to be the same font and size as the normal menu. how can i do this?

website: https://stubbornstudios.com/

1 Like

Hi @Amin_5

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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 a {
    font-size: 28px;
    color: red;
}

header-menu .list-menu--disclosure {
    width: 40rem;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

It worked but its red how can i change the hex color?

Just simply replace the word “red” with whatever you like. Be sure you don’t add anything or delete any sign. Then save.

How do I change the all products drop down menu so it matches with the rest of my current custom css?

.header__inline-menu a {
color: #5c2c06;
font-weight: bold;
}
.header__inline-menu a:hover {
color: #5c2c06;
text-decoration: underline;
}
ul.sub-menu a,
ul.dropdown a,
.header__submenu-item a {
color: #5c2c06;
font-weight: bold;
}
ul.sub-menu a:hover,
ul.dropdown a:hover,
.header__submenu-item a:hover {
color: #5c2c06;
text-decoration: underline;
}

This is my current custom css code, if that helps