URL: https://swampclo.com/?_ab=0&_fd=0&_sc=1
Password: testcode123
header-main,
header,
header * {
background-color: transparent !important;
}
header {
position: absolute !important;
width: 100%;
border: none !important;
top: 0 !important;
z-index: 50 !important;
}
I have a code snippet which makes my header transparent but when you click on any of the menu items the background is still transparent, how do I add a background when any of the drop down menu items is clicked?
@emekayode
what is the storefront password? currently the store is password protected?
Thanks
Hi @emekayode
This is Richard from PageFly - Shopify Page Builder App
Simply change your code to be like this
header-main, header, header > * {
background-color: transparent !important;
}
Hope this can help you solve the issue
Best regards,
Richard | PageFly
That made the drop down menu transparent but the header to be white, I actually need it the other way round
I managed to fix it myself by changing the code slightly to not include all the atrributes of the header and simply just the header itself to be transparent using:
header-main, header {
background-color: transparent !important;
}
header {
position: absolute !important;
width: 100%;
border: none !important;
top: 0 !important;
z-index: 50 !important;
}