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/
Issue: Users need to customize dropdown menu styling to match their main navigation.
Initial Problem (Amin_5):
Solution Provided:
Add CSS targeting .header__submenu a to control font-size and color, plus adjust dropdown width using header-menu .list-menu--disclosure. Example code provided with red color placeholder.
Follow-up:
Related Question (LD_3):
Asked how to make “All Products” dropdown match existing custom CSS that styles main menu links with specific color (#5c2c06), bold font-weight, and underline on hover.
Status: Original issue resolved; secondary question about matching existing CSS styles remains unanswered.
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/
Hi @Amin_5
Try this one.
.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!
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