I need to make my collections cards smaller on my collection page because they take up the whole screen, what code can do this?
theme: Dawn
Website: Desire-online.net
A user seeks to reduce the size of collection cards on their Dawn theme site, as they currently occupy the entire screen.
Initial Solution:
base.css, style.css, or theme.css file in the Assets folder.card__inner.background-color-2.gradient.ratio width and height to 80%Centering Issue:
After implementing the resize, the user requested help centering the smaller cards.
Proposed Solutions:
Multiple respondents suggested adding custom code to theme.liquid above the </head> or </body> tags to center the cards, though the specific CSS/markup code snippets appear corrupted or reversed in the thread.
Status: The discussion remains open with the centering alignment issue unresolved, pending implementation of the suggested theme.liquid modifications.
I need to make my collections cards smaller on my collection page because they take up the whole screen, what code can do this?
theme: Dawn
Website: Desire-online.net
Try this one.
.card__inner.color-background-2.gradient.ratio {
width: 80%;
height: 80%;
}
i hope it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @jakegrieveson ,
This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.
While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:
Best regards,
Anthony
This is Noah from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
This will make the card smaller and center
Hope this can help you solve the issue
Best regards,
Noah | PageFly