This topic has 3 replies, 3 voices, and was last updated 8 months, 2 weeks ago ago by Andrew Mitchell
Hi,
I am creating a custom “add to cart” button in css, I am trying to add a shopping cart icon(et-shopping-carte90c).
But unfortunately instead of the icon a square appears, what can I do to make the icon appear there?
https://xstore.8theme.com/xstore-icons/
.products-grid .product .button::after, .content-product .product .button::after {
content: "\e90f";
margin-left: 4px;
font-size: 1.2em;
display: inline-block;
vertical-align: middle;
}
Hello, Kombajn88,
Thank you for reaching out to us with your query regarding the custom “add to cart” button you are creating. It seems that the issue you are experiencing with the shopping cart icon appearing as a square is typically related to the font family not being correctly referenced in your CSS.
To ensure that the icon displays properly, please make sure that the font family ‘xstore-icons’ is included in your project and is properly linked in your CSS file. You can do this by adding the following line to your CSS:
font-family: xstore-icons !important;
Best Regards,
8Theme’s Team
Dear Kombajn88,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘how to display the icon from General Icons css’' has been successfully resolved, and the topic is now closed for further responses