Hi! my current dropdown menu on the homepage has white background with black text both on desktop and mobile.
I would like to change both, black background with white text.
this is my website : www.blacksanctuary.eu
Hope someone can help me : )
thanks so much.
Susi
x
@Blacksanctuary
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media only screen and (min-width:750px){
.meganav {background-color: #000 !important;}
.meganav__link {color: #fff !important;}
.meganav__title {color: #fff !important;}
.meganav__link:focus, .meganav__link:hover {color: #fff !important;}
}
#NavDrawer.drawer{ background-color: #000 !important;}
#NavDrawer.drawer__nav-link--top-level{color: #fff !important;}
#NavDrawer.drawer__nav-toggle-btn{ color: #fff !important;}
#NavDrawer.drawer__search {background-color: #000 !important;}
.meganav--drawer {background-color: #000 !important;}
Hope this works.
Thanks!
@Blacksanctuary
sorry for that but you have change background color so doesn’t visible product image is this fine?
please confirm this look
thank you so much for your reply!
i pasted the code but it didn’t worked on mobile and on desktop only half, as you can see the products images have still white background.
can you help me? thanks a lot for your time!
actually i don’t care about products in the menu, i would delete them if i could
@Blacksanctuary
can you please confirm look?
@dmwwebartisan thanks! it only worked on desktop but not on mobile!
@KetanKumar it worked on desktop, total black ( i deleted the products ) but not on mobile
@Blacksanctuary
Please remove previous code try this new code
@media only screen and (min-width:750px){
.meganav {background-color: #000 !important;}
.meganav__link {color: #fff !important;}
.meganav__title {color: #fff !important;}
.meganav__link:focus, .meganav__link:hover {color: #fff !important;}
}
#NavDrawer.drawer{ background-color: #000 !important;}
.drawer__nav-link--top-level{color: #fff !important;}
.drawer__nav-toggle-btn{ color: #fff !important;}
.drawer__search {background-color: #000 !important;}
.meganav--drawer {background-color: #000 !important;}
@dmwwebartisan now the headings are visible on mobile but not the subheadings 
thanks for your time!!
@Blacksanctuary
add css for subheading
.drawer__nav-link {
display: block;
color: #fff !important;
}
@dmwwebartisan it worked!
thanks again for all the help! much appreciated!
@dmwwebartisan sure i already accepted both
@dmwwebartisan Hi again, sorry i have one last question, is it possible to delete the underlines on the subheadings? ( on mobile , on desktop there are no underlines )
thank you
@Blacksanctuary
Please add this code your css file
@media only screen and (max-width: 749px){
.drawer__nav-item {0px solid transparent !important;}
}
Thanks!
@dmwwebartisan not working, it makes all the website white with text everywhere
@Blacksanctuary
try this code
.meganav__list .drawer__nav-item {
border-bottom: 0px solid transparent !important;
}
@dmwwebartisan worked! THANK YOUUU