How to customize Dawn theme to make images the same size (square) on each of the collection pages

Solved

How to customize Dawn theme to make images the same size (square) on each of the collection pages

Nice2CU
New Member
15 0 0

I have searched for solutions to customize Dawn theme to make images the same size (square) on each of the collection pages but have not found the soltion yet. 

 

www.nice2cu.com has a number of collections that are linked from the navigation at the top.

 

For example https://nice2cu.com/collections/clubwear shows the images (product cards?) as different sized images.

 

I have already managed to tweak the home page of Dawn theme to display images that are all square and aligned but I have not discovered how to do this for the individual collections.

 

Please help 🙂

 

Nice2cu

Accepted Solution (1)

PageFly-Richard
Shopify Partner
5011 1120 1805

This is an accepted solution.

Hi @Nice2CU ,

 

This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/component-card.css->paste below code at the bottom of the file:

.product-card-wrapper .card__inner {
    --ratio-percent: 100% !important;
}

PageFlyRichard_0-1678281801002.png

 

I hope it would help you
Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 7 (7)

PageFly-Richard
Shopify Partner
5011 1120 1805

This is an accepted solution.

Hi @Nice2CU ,

 

This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/component-card.css->paste below code at the bottom of the file:

.product-card-wrapper .card__inner {
    --ratio-percent: 100% !important;
}

PageFlyRichard_0-1678281801002.png

 

I hope it would help you
Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

Nice2CU
New Member
15 0 0

Awesome - Thank You Page-Fly Richard - You Are My Hero Today!

liverpool
Tourist
3 0 0

Thank you for this solution!

sheadaddy1717
Excursionist
30 0 5

I tried to use this solution for the dawn theme but it did not work, please advise.  here is my store:  https://b720b7-2.myshopify.com/?_ab=0&_fd=0&_sc=1

kescrane
Not applicable
3 0 0

Did you ever find a solution? Your images appear to be square and in line with each other. I can't get the code to work for me  on the dawn theme.

Humble-Bee
Visitor
1 0 0

I just tried this and it worked.  I am so happy since I am a work in constant progress.  Thank You.

Shane and Deb Hobson

rachaelvp
Not applicable
3 0 0

this worked for me! thank you so much!