Hello all,
Would so appreciate anyone's help as this is the last little tweak needed on my website!
On mobile, my website's homepage header is transparent and overlays the hero image. Also, the page background is white. This means that when my dropdown menu appears and pushes the hero image down, the white text and icons in the header are not visible against the white background. I've successfully tweaked the css to make the dropdown menu background black, but would like to apply this to the header too ONLY when the menu drops down.
Any ideas?
Please see images for a better explanation.
Thanks a million!
Solved! Go to the solution
Sorry for facing this issue, it's my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
great, thanks for message i will review and let you know
This is an accepted solution.
Thanks for all details
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.
this code apply for after 5 - 6 second
@media only screen and (max-width: 749px) {
.template-index .site-header {background: #000;} /* change value as you like */
}
it's my pleasure to help us
User | Count |
---|---|
448 | |
187 | |
139 | |
61 | |
44 |