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

how do i change the menu dropdown text and color?

Solved

how do i change the menu dropdown text and color?

Amin
Excursionist
27 0 9

its currently looks like this:

dropdown.PNG

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/

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @Amin 

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;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738277544665.png

     

 

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

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.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @Amin 

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;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738277544665.png

     

 

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

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.
Amin
Excursionist
27 0 9

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

Made4uo-Ribe
Shopify Partner
10211 2427 3079

 

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

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.
LD__
Visitor
1 0 0

Screenshot 2025-04-28 144637.png

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