Shopify themes, liquid, logos, and UX
Hey Shopify Community,
I would like to have my collection image full width and have the collection name and description on top of the full width image. Both for desktop and mobile.
This is how my collection pages look like right now:
As you can see in this screenshot, my collection image is on the right and my collection name and description are on the left. So they all need to be center aligned.
The theme I'm using is Dawn.
Help would be very much appreciated 🙂
Thank you!
Hi,
Can you share your store url
Hi @PresidentC24 ,
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.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @PresidentC24, we tried to create it in our page, and here is our solution
Go to Online store > theme > customize > setting > custom CSS and add the below CSS
.collection-hero__inner.page-width {
position: relative;
height: 200px;
}
.collection-hero__text-wrapper {
position: absolute;
height: 100%;
z-index: 999;
}
.collection-hero__image-container.media.gradient {
margin-left: 0 !important;
position: absolute;
width: 100%;
height: 100%;
}
The result: https://prnt.sc/ZQTlfV2bXmpf
If you need further support, please provide us with your store URL and password (if any), and we will be happy to help you with any of your questions.
Hi @magenest , thanks that worked for the full width image. Do you also know how to center align the collection title and description?
Appreciate your help 🙂
Yes @PresidentC24, to center align the collection title and description, you can add this CSS:
.collection-hero__text-wrapper {
position: absolute;
height: 100%;
z-index: 999;
left: 50%;
transform: translateX(-50%);
}
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024