Shopify themes, liquid, logos, and UX
Hi there,
I saw an answer on how to make the Quick Add buttons smaller in a discussion but it's not mentioned how to centre it after we made it smaller. I've used this code:
.quick-add {
max-width: 90%;
margin: 0 auto;
}
Is it possible to be more centred? Many thanks for considering my request.
Solved! Go to the solution
This is an accepted solution.
Hi @lichev
please add this code in your CSS file
.quick-add {
max-width: 100%!important;;
width: 70%!important;
place-self: center!important;;
justify-content: center!important;;
}
@lichev Plese give your site url!!
This is an accepted solution.
Hi @lichev
please add this code in your CSS file
.quick-add {
max-width: 100%!important;;
width: 70%!important;
place-self: center!important;;
justify-content: center!important;;
}
I've used the code, but the box Is still to the right.
What's wrong with the code
.quick-add {
position: absolute;
margin-bottom: 0;
bottom: 73px;
width: 100%;
display: none;
}
.grid__item:hover .quick-add {
display: block;
}
@media screen and (min-width: 750px) {
.quick-add {
bottom: 82px;
}
}
.quick-add {
max-width: 100%!important;;
width: 30%!important;
place-self: center!important;;
justify-content: center!important;;
}
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