Shopify themes, liquid, logos, and UX
How do I make my header transparent? https://4k3l273x1hl7ijog-66317877397.shopifypreview.com
Hi @helloforeve , thank you for posting here!
You can follow my instruction below:
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>
nav#navbar-mobile {
background-color: transparent !important;
position: fixed;
left: 0;
right: 0;
}
</style>
If my answer is workking for your store, please let me know by Accepting Solution and Giving Like !!!
Hey @helloforeve
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (min-width: 768px) {
.header-wrapper.color-scheme-1.gradient {
background: transparent !important;
}
main#MainContent {
margin-top: -150px !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi! Thank you, but now my other pages don't look right - the content all shifts up as well. Can you advise? https://4k3l273x1hl7ijog-66317877397.shopifypreview.com
Will like the header to be the default theme on hover as well.
Hi @helloforeve,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Inside head tags. You need create style tags. After insert my code inside style tag
header.header.header--top-center {
background-color: transparent !important;
position: fixed !important;
max-width: 100%;
width: 100vw;
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
hi @helloforeve
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.header-wrapper.color-scheme-1.gradient {
position: absolute;
width: 100%;
background: transparent !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @helloforeve
Please go to your Online Store > Themes > in Craft theme, click "..." > Edit code, open theme.liquid file, after <head> paste this code below and save file.
{% if template == 'index' %}
<style>
.header-wrapper { background: transparent !important; }
#MainContent { margin-top: -137px; }
@media (max-width: 749px) {
#MainContent { margin-top: -64px !important; }
}
</style>
{% endif %}
- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025