Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
The only transparent header on website is my landing page. I would like my header to be transparent for all pages of my website for DESTOP version only. Could anyone help me?
www.constructionlayers.com
PW: CollectionThree
It appears to be how you'd like it already.
Desktop (transparent):
Mobile (white background):
To change header color on mobile only, find or add this code to your themes base.css file then change background color as needed:
@media screen and (max-width: 989px) {
.header--mobile-left {
grid-template-columns: auto 2fr 1fr;
background: red;
}
Result:
Hope that helps!
@biznazz101
Hello, thank you for the feedback, but the transparent header of the website is the main page only but when i go to other pages of my website its not transparent. Please see photos
Hi @clayinfo
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
@media screen and (max-width: 989px) {
body .header--mobile-left {
grid-template-columns: auto 2fr 1fr;
background: blue;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.