Archived topic
Display text next to cart in menu
5 replies · Started by Paul on June 21, 2017
Hi Guys,
I am trying to add "Shopping Cart" text next the the cart icon, is this possible via the theme or am I looking at some kind of code.
Regards,
Paul.
Hi there,
You could try this:
.wc-menu-item .amount:before {
content: "Shopping Cart";
padding-right: 10px;
}
Hi Tom,
Thank you for that, works a treat. Only question, is there a way to have the shopping text before the cart?
Kind Regards,
Paul.
Try this:
.wc-menu-item .cart-contents:before {
content: "Shopping cart";
display: inline-block;
margin-right: 10px;
}
Hi Tom,
Thank you for you for that, spot on.
Could this be a feature you add to the theme customisor? plus maybe the option to change the icon?
Kind Regards,
Paul.
Yea, more options will be added regarding the cart menu item :)