Shopify themes, liquid, logos, and UX
Hi,
I entered code in my store to create 2 columns for my collection list. The code worked but i have one small problem. The product on the bottom right is longer than all the products. (See screenshot)
How do i fix this issue?
Thanks
Solved! Go to the solution
This is an accepted solution.
Thanks for te info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 550px){
.card--media .card__text-spacing {
padding: 1rem;
}
.collection-list-section .card--stretch.card-colored {
display:flex;
flex-direction:column;
justify-content: space-between;
height: 38vh;
}
}
@media only screen and (max-width: 400px){
.collection-list-section .card--stretch.card-colored {
height: 32vh;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Allen6224
Can I check the store URL? Would you mind to share. Thanks!
This is an accepted solution.
Thanks for te info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 550px){
.card--media .card__text-spacing {
padding: 1rem;
}
.collection-list-section .card--stretch.card-colored {
display:flex;
flex-direction:column;
justify-content: space-between;
height: 38vh;
}
}
@media only screen and (max-width: 400px){
.collection-list-section .card--stretch.card-colored {
height: 32vh;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks. That worked
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025