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

Transparent header background problem on product page and all other pages except main menu

Solved

Transparent header background problem on product page and all other pages except main menu

AtelierDuir
Tourist
4 0 1

Hello,

 

I recently added a transparent header to my website. I'm very happy with the result except for the mobile version.. When I go to my policies I see that the header is in overlap with the text (as shown on picture). I'm clueless, I've tried everything so far. I'm going live with my webshop on the 25th of September. Can someone help me 🙂

 

IMG_3969.PNG

Accepted Solutions (2)
Moeed
Shopify Partner
7764 2082 2568

This is an accepted solution.

Hey @AtelierDuir 

 

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 (max-width: 767px) {
.shopify-policy__container {
    padding-top: 70px !important;
}

}
</style>

RESULT:

Moeed_0-1727096331124.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Moeed
Shopify Partner
7764 2082 2568

This is an accepted solution.

Hey @AtelierDuir 

 

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 (max-width: 767px) {
cart-items {
    padding-top: 90px !important;
}
.collection-hero__text-wrapper {
    padding-top: 55px !important;
}
}
</style>

RESULT:

Moeed_0-1730718256403.pngMoeed_1-1730718265869.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 7 (7)

Moeed
Shopify Partner
7764 2082 2568

Hey @AtelierDuir 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


AtelierDuir
Tourist
4 0 1

Hello Moeed,

 

Website: https://atelierduir.com/

Password:421918!

 

Thank you!

Moeed
Shopify Partner
7764 2082 2568

This is an accepted solution.

Hey @AtelierDuir 

 

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 (max-width: 767px) {
.shopify-policy__container {
    padding-top: 70px !important;
}

}
</style>

RESULT:

Moeed_0-1727096331124.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


AtelierDuir
Tourist
4 0 1

Thank you so much! It worked.

Moeed
Shopify Partner
7764 2082 2568

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


AtelierDuir
Tourist
4 0 1

Hello Moeed,

 

I have another question i would like to ask you. It is the same question as before but for two different pages.

When I go to "your cart" I see that the header is in overlap with the text (as shown on picture). The same for my new collection.

The problem is just on my phone, on the laptop everything works fine.

 

I hope you can help me again!

IMG_4871 2.PNGIMG_4870 2.PNG

Moeed
Shopify Partner
7764 2082 2568

This is an accepted solution.

Hey @AtelierDuir 

 

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 (max-width: 767px) {
cart-items {
    padding-top: 90px !important;
}
.collection-hero__text-wrapper {
    padding-top: 55px !important;
}
}
</style>

RESULT:

Moeed_0-1730718256403.pngMoeed_1-1730718265869.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications