Shopify themes, liquid, logos, and UX
Hi all,
I have a massive issue that I've been trying to work out for the past day.
I've set my collection product grid to show 66.111vw and center of page, now I'd like to have my verticle filter to be 16.9vw... so that I keep my product grid centered. BUT, I can not for the world get it to function 😞
Anyone that know how to do this? See code below:
Code for collection product grid
.grid-dextop {
display: flex;
gap: 20px;
width: 66.111vw;
margin: 0 auto;
margin-top: 20px;
}
Solved! Go to the solution
This is an accepted solution.
Hi @larsvilhelmsson,
May I suggest to update code these steps:
1. Go to Store Online-> theme -> edit code
2. Assets/base.css
@media screen and (min-width: 750px){
body .facets-vertical .facets-wrapper {
padding-left: 3rem;
width: 16.9vw;
}
body .facets-vertical .product-grid-container {
width: 83.9vw;
padding-left: 16.9vw;
}
}
This is an accepted solution.
Hi @larsvilhelmsson,
May I suggest to update code these steps:
1. Go to Store Online-> theme -> edit code
2. Assets/base.css
@media screen and (min-width: 750px){
body .facets-vertical .facets-wrapper {
padding-left: 3rem;
width: 16.9vw;
}
body .facets-vertical .product-grid-container {
width: 83.9vw;
padding-left: 16.9vw;
}
}
IT WORKED! Cheers, thanks for the help!
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