Announcement
Collapse
No announcement yet.
Centering in a circle
Collapse
X
-
Hi Leslie,
Based off the stock code, using a percent should do what you want.
Code:.t-site-header__basket-link-quantity { margin-left: 0.25em; padding: 0.5rem 1em; border-radius: 50%; }
Leave a comment:
-
Centering in a circle
This one has me stumped. I need to center the cart quantity in the fasten_header which I have modified to look like a "circle". It looks like this
14MEHd.png
The CSS I have is
Code:.t-site-header__basket-link-quantity { padding: 0.25em 1.125em 0.25em 0; border-radius: 1em; }
Tags: None
Leave a comment: