Re: Collection page banner not taking 100% of the page's width

Solved

Collection page banner not taking 100% of the page's width

JH_TECH
Shopify Partner
71 5 8

Hello Shopify Community,

We want to make our collections banner images take 100% of the width of the page like they used to in the past. We've tried multiple approaches but nothing seems to work. Does anyone how we can fix this? Any advise will be appreciated. Bellow we provide some screenshots of the current appearance and the desired one to help you understand this more accuratelly.

currentstate.png

desiredstate.jpg

Thank you for your time,

Jacques Hermes Team

Thanks in advance! • The theme used in our e-shop: Dawn. • jacqueshermes.com • Please answer us here and not to our public e-mail addresses and social media as any tech-shopify support-oriented e-mails, and messages will get deleted by staff. • Jacques Hermes Team
Accepted Solutions (3)
niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

@JH_TECH 

Add this

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
.collection-hero__description {
max-width: 100% !important;
}
}
.collection-hero__inner.page-width.scroll-trigger.animate--fade-in {
padding: unset !important;
max-width: 100% !important;
}
.collection-hero__inner .rte img {
width: 100% !important;
}
</style>

niraj_patel_0-1722354290147.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.collection-hero h1.collection-hero__title {
display: none !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

@JH_TECH Add This

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .collection-hero__title+.collection-hero__description {
        margin-top: unset !important;
  }
</style>
Please:
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it my both solutions as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 13 (13)

BSS-TekLabs
Shopify Partner
2350 702 828

Hi @JH_TECH,

Could you kindly provide us with your store URL and, if applicable, the password, so that our team can offer you the necessary support?

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
JH_TECH
Shopify Partner
71 5 8

Hello BSS-TekLabs,

Our URL is: https://jacqueshermes.com/

A URL of a collection of ours: https://jacqueshermes.com/collections/jacketsovercoats

Unfortunately we don't have permission to share our passwords with other members of the community but we can provide you all the necessary details (theme code etc) manually.

Thank you for your time,

Jacques Hermes team

Thanks in advance! • The theme used in our e-shop: Dawn. • jacqueshermes.com • Please answer us here and not to our public e-mail addresses and social media as any tech-shopify support-oriented e-mails, and messages will get deleted by staff. • Jacques Hermes Team
BSS-TekLabs
Shopify Partner
2350 702 828

Could you please provide detailed information regarding the country or region where your store operates? This will enable our team to review it appropriately.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

niraj_patel
Shopify Partner
2378 514 512

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
  .collection-hero__description {
       max-width: 100% !important;
   }
 }
  .collection-hero__inner.page-width.scroll-trigger.animate--fade-in {
       padding: unset !important;
       max-width: 100% !important;
  }
</style>

niraj_patel_0-1722353668627.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
JH_TECH
Shopify Partner
71 5 8

Hello Niraj_patel,

We've added the suggested code but still it does not take 100% of the width. Here's a screenshot of the current appearance:

JH_TECH_0-1722353995247.png

Do you have any other suggestions on how this can be fixed?

Thank you for your time,

Jacques Hermes team

Thanks in advance! • The theme used in our e-shop: Dawn. • jacqueshermes.com • Please answer us here and not to our public e-mail addresses and social media as any tech-shopify support-oriented e-mails, and messages will get deleted by staff. • Jacques Hermes Team
niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

@JH_TECH 

Add this

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
.collection-hero__description {
max-width: 100% !important;
}
}
.collection-hero__inner.page-width.scroll-trigger.animate--fade-in {
padding: unset !important;
max-width: 100% !important;
}
.collection-hero__inner .rte img {
width: 100% !important;
}
</style>

niraj_patel_0-1722354290147.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
JH_TECH
Shopify Partner
71 5 8

Thank you! This created the desired result! May we ask for another change we want to apply as well? We want the image to be the only thing visible before the products of the collection (we want the text title above to not be visible). If we go to the collection page from shopify admin, and try to remove the title it does not let us save the changes. Is there any other way to achieve this? 

 

Thanks in advance! • The theme used in our e-shop: Dawn. • jacqueshermes.com • Please answer us here and not to our public e-mail addresses and social media as any tech-shopify support-oriented e-mails, and messages will get deleted by staff. • Jacques Hermes Team
niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
.collection-hero h1.collection-hero__title {
display: none !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
JH_TECH
Shopify Partner
71 5 8

Thank you this code did what we wanted. Now, one last thing regarding this, we would like to eliminate that blank space above the image. How we can do this? Bellow we provide screenshots with the current and the desired state. Once again, thank you so much for the usefull feedback! 

JH_TECH_0-1722357218436.pngDESIRED-STATE.jpg

 

Thanks in advance! • The theme used in our e-shop: Dawn. • jacqueshermes.com • Please answer us here and not to our public e-mail addresses and social media as any tech-shopify support-oriented e-mails, and messages will get deleted by staff. • Jacques Hermes Team
niraj_patel
Shopify Partner
2378 514 512

This is an accepted solution.

@JH_TECH Add This

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .collection-hero__title+.collection-hero__description {
        margin-top: unset !important;
  }
</style>
Please:
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it my both solutions as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
JH_TECH
Shopify Partner
71 5 8

Thank you once again! This code solved that problem. We would like to thank you for all the solutions you provided for our page problems and wish you to have a great day! 

Thank you for your time, 

Jacques Hermes team

Thanks in advance! • The theme used in our e-shop: Dawn. • jacqueshermes.com • Please answer us here and not to our public e-mail addresses and social media as any tech-shopify support-oriented e-mails, and messages will get deleted by staff. • Jacques Hermes Team
niraj_patel
Shopify Partner
2378 514 512

Welcome @JH_TECH 🤗

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

BSSCommerce-B2B
Shopify Partner
1780 546 605

Could you share the website URL and password if available?

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now