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

Making header invisible, merging it with image banner

Solved

Making header invisible, merging it with image banner

washed
Tourist
7 0 1

With the new ride update my previous code to make the header transparent no longer works. 

 

This was the previous code: 

{% if template == 'index' %}

<style>
.shopify-section-group-header-group.announcement-bar-section{
height: 5px;
}
.header-wrapper{
position: absolute;
width: 100%;
background: transparent;
}
.header-wrapper .header{
margin-top: 20px;
}
</style>

{% endif %}

 

What I want:                                                                                     

scrnli_5_8_2024_8-32-02 PM.png

Current:

scrnli_5_8_2024_8-30-36 PM.png

PLEASE HELP

Accepted Solutions (2)

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

This is an accepted solution.

Hi @washed 

You can try to use this code 

<style>
.header-wrapper{
background: transparent !important;
}
#MainContent {
margin-top: -90px;
}
</style>

{% endif %}

Change -90px to make it fit with height of your header

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

This is an accepted solution.

Please use this code

{% if template == 'index' %}
<style>
.header-wrapper{
background: transparent !important;
}
#MainContent {
margin-top: -90px;
}
</style>
{% endif %}

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 8 (8)

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

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

washed
Tourist
7 0 1

washedclothing.com

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

This is an accepted solution.

Hi @washed 

You can try to use this code 

<style>
.header-wrapper{
background: transparent !important;
}
#MainContent {
margin-top: -90px;
}
</style>

{% endif %}

Change -90px to make it fit with height of your header

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

washed
Tourist
7 0 1

Thank you for the response Dan, I was wondering where I should put this code, I cant wait to try it!

washed
Tourist
7 0 1

is there anyway to only have it as an invisible header on the homepage

because it is glitching on my other pages                                       

scrnli_5_9_2024_7-09-42 PM.png

scrnli_5_9_2024_7-07-04 PM.png

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

This is an accepted solution.

Please use this code

{% if template == 'index' %}
<style>
.header-wrapper{
background: transparent !important;
}
#MainContent {
margin-top: -90px;
}
</style>
{% endif %}

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

washed
Tourist
7 0 1

Thank you!

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

Very welcome! 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.