Shopify themes, liquid, logos, and UX
I want to make my header transparent and overlay on top of my image banner - see website link for example of what I'm looking to achieve. I'm using the Craft theme.
Many thanks!
@Krissiloula add below css into base.css file
.gradient {
background: transparent !important;
}
This just takes the announcement bar away
To make the header transparent and overlay it on top of the image banner in the Craft theme, you can follow these steps:
header.liquid
or header-section.liquid
.
.site-header {
background-color: transparent;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 999;
}
.site-header__inner {
background-color: transparent;
padding: 20px; /* Adjust the padding as needed */
display: flex;
justify-content: space-between;
align-items: center;
}
Thanks for your reply, however this isn't working and the code just shows up as text in the actual header bar.
@Krissiloula Try below one it might be like to you :
@media (min-width:768px){
.gradient {
background: rgba(255, 255, 255, 0.47);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(1.6px);
-webkit-backdrop-filter: blur(1.6px);
border: 1px solid rgba(255, 255, 255, 0.22);
}
}
or provide preview link or store link
Craft theme make transparent header:
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025