All things Shopify and commerce
Hello.
As the title says I would want to change the color of my dropdown menu. If you can help me with this, please leave a reply and I will PM you the site URL as I want to stay anonymous. Thank you so much!
Solved! Go to the solution
This is an accepted solution.
The solution, that I can think for them to have a same line is make your header max-width: 100%;
I'll sned you the SS by pm. And I add the code here.
store-header.header .container {
max-width: 100%;
}
And Save. Same instruction.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Check this one for the menu, paste on the same area be careful you dont mess the brackets and signs.
a.header__linklist-link.link--animated {
font-size: 16px;
letter-spacing: -1px;
}
[dir="ltr"] .header__linklist-item:not(:last-child) {
margin-right: 25px;
}
And Save.
Hi @manoman
What color do you have in mind? If its same on the header, you need to change the text color also.
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:
.nav-dropdown:not([hidden]) {
background: rgb(var(--header-background));
color: rgb(var(--header-text-color));
}
And save.
That is same color on the header.
.nav-dropdown:not([hidden]) {
background: red;
}
If you like another color without changing the text color.
No result. 😆
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks for the reply. I want to make the box black when you hover over, that is the only change I want, since the rest is white it would look better if the drop down hover box is black, with white text, rest I want the same. Do you have my URL? 🙂
Yeah, I still have. Check the first code that I give.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Did not work for me?
I paste this: .nav-dropdown:not([hidden]) {
background: rgb(var(--header-background));
color: rgb(var(--header-text-color));
}
in bottom of theme.css and nothing happen
Check this one then. Paste on the header > cusmto css on the right side. Also change the color you like.
.nav-dropdown:not([hidden]) {
background: red !important;
color: white !important;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Maybe if its possible to make it so that all the dropdown menus are on the same line, as you can see ''Biverkningar & Åld'' is under them, can I change that, maybe make it smaller so that they are all on the same line? I might like that more. Thanks!
This is an accepted solution.
The solution, that I can think for them to have a same line is make your header max-width: 100%;
I'll sned you the SS by pm. And I add the code here.
store-header.header .container {
max-width: 100%;
}
And Save. Same instruction.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Check this one for the menu, paste on the same area be careful you dont mess the brackets and signs.
a.header__linklist-link.link--animated {
font-size: 16px;
letter-spacing: -1px;
}
[dir="ltr"] .header__linklist-item:not(:last-child) {
margin-right: 25px;
}
And Save.
Thank you brother
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024