This topic has 4 replies, 3 voices, and was last updated 8 years, 3 months ago ago by Robert Hall
Hello,
I would like to center the quantity field on mobile devices.
Everything is currently centered except for that and it looks terrible.
I have tried several different css codes but have not been able to fix it.
Can you please help with this?
Screen shot here: http://www.puredogfood.com/Print/screen_shot.jpg
Thanks.
Ali
Hello,
Please add this code in custom.css file:
@media (max-width: 480px) {.single-product-page .product-info .quantity {
margin-left: 40%;
}}
Regards,
Eva Kemp.
That worked great Eva, how do I apply the same changes for tablets?
Thanks.
Hello,
Please use the following code in custom.css
@media (max-width: 767px){
.single-product-page .product-info .quantity {
left: 50%;
margin-left: -32px;
}
}
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up