Shopify themes, liquid, logos, and UX
Hi
I am currently trying to move from the old Brooklyn template onto the Dawn 2.0 template and have 6 collections highlighted on my homepage.
The different coloured SQUARE collection graphics currently take up quite lot of screen space so I would like to reduce the height of each one, and make the dimensions of each image more 'letterbox' with the dimensions of the new graphics being uploaded as 1080x400pix (currently the images being used are 1080x1080).
Obviously I need to ensure that this will work across desktop, mobile and tablet.
Would you be able to share the code to change this and also clarify how I get to wherever the code needs to be copied to please?
Thanks very much!
Steve
Solved! Go to the solution
This is an accepted solution.
Hey @fernandojordio please add below code to css file.
@media screen and (max-width:480px){
.collection-list .card__inner {
width: 100%;
height: 140px;
}
}
Hey @fernandojordio
If you can share your website URL then it will be great.
Thanks
Hi
It's Jordanguitars.co.uk - however the current 'live' website is on the old Brooklyn template (you can see we've managed to achieve the desired effect on the current live site.
We are currently migrating to Dawn template however so just trying to get the change made before sending it live.
Thanks
Steve
Any thoughts? awaiting a response.
Thanks
Hey @fernandojordio Sorry for the inconvenience , please add the below css code to your component-card.css file.
.collection-list .card__inner {
width: 100%;
height: 400px;
}
Hey @fernandojordio I can see the height of the collection cards is now smaller than before.
Thanks.
Any thoughts please?
Thanks
Steve
This is an accepted solution.
Hey @fernandojordio please add below code to css file.
@media screen and (max-width:480px){
.collection-list .card__inner {
width: 100%;
height: 140px;
}
}
Hi Zeel, i tried a variation, but now i have this space between the collection images in the list
.collection-list .card__inner {
width: 80%;
height: 80%;
}
www.quadis.mu
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, 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, 2024