JoshHeares Posted June 6, 2022 Posted June 6, 2022 Site URL: https://harp-clavichord-7apa.squarespace.com/ I have tried a few different techniques and although some have worked the 'Cart (0)' text doesn't vertically align with the rest of the website, please help. CSS I have used + screenshot attached. svg.icon.icon--cart { visibility: hidden; } .icon-cart-quantity:before { content: "Cart"; font-size: 17px; } .icon-cart-quantity { font-size: 17px; } .header .header-actions-action--cart .icon { width: 70px;}
tuanphan Posted June 11, 2022 Posted June 11, 2022 Try edit this code .icon-cart-quantity:before { content: "Cart"; font-size: 17px; } to this .icon-cart-quantity:before { content: "Cart"; font-size: 17px; position: relative; top: 10px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment