how to center "add to cart" button on a mobile
-
Hi, I have Vantage/woo commerce theme and i am having problems centering the “add to cart” button on a mobile device, they are left aligned at the moment.
I have tried this code in my CSS:.woocommerce #page-wrapper .button {
background: rgba(0, 0, 0, 0) -moz-linear-gradient(center bottom , #dfdfdf 0%, #ffffff 100%) repeat scroll 0 0;
border-color: #d2d2d2 #c3c3c3 #9f9f9f;
border-radius: 3px;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
color: #343538;
cursor: pointer;
line-height: 1;
text-decoration: none;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
width: auto;
}but nothing works, any help would be appreciated, thanks
- The topic ‘how to center "add to cart" button on a mobile’ is closed to new replies.