Hello!
I am using the dawn theme and my URL is carcleansweden.se.
I would like to make the whole background of my dropdown menu the same color and make it wider so the first menu option fits on 1 row:
I would hugely appreciate the help!
Goal: adjust the Shopify Dawn theme’s header dropdown so its background is a single color and make it wide enough for the first menu item to fit on one line.
Actions taken:
Visual references:
New issue:
Notes:
Status:
Hello!
I am using the dawn theme and my URL is carcleansweden.se.
I would like to make the whole background of my dropdown menu the same color and make it wider so the first menu option fits on 1 row:
I would hugely appreciate the help!
Go to your online store → edit code → base.css file and paste this code there
details[open]>.header__submenu {
width: max-content;
}
this will fix the width
please confirm which color you want for background
I would like to have the entire background completely white. Thank you!
use this code for that
details[open]>.header__submenu {
width: max-content;
background: #fff;
}
Thank you so much! I have one more question if you don’t mind. The text color is good on the home screen but for some reason its grey on the other pages when not selected:
Is it possible to have the text always completely black on all pages?
Thank you so much for your help!
you this code in your base.css file for that
p{
color:#000 !important;
}