Shopify themes, liquid, logos, and UX
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.
Thank you for your time,
Jacques Hermes Team
Solved! Go to the solution
This is an accepted solution.
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>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
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.
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.
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?
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
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
Could you please provide detailed information regarding the country or region where your store operates? This will enable our team to review it appropriately.
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
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>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
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:
Do you have any other suggestions on how this can be fixed?
Thank you for your time,
Jacques Hermes team
This is an accepted solution.
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>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
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?
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.
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!
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.
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
Welcome @JH_TECH 🤗
Could you share the website URL and password if available?
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024