- This topic has 7 replies, 7 voices, and was last updated 8 years ago by
Leo.
-
AuthorPosts
-
November 10, 2015 at 1:49 pm #151917
David
I have noticed on several sites the cart in appears in the menu. Anyone figured out how to make this work with GP?
Thanks!
November 10, 2015 at 4:23 pm #151958Tom
Lead DeveloperLead DeveloperHi David,
You can just add a Custom Link to your menu item and add the HTML for the cart icon: http://fortawesome.github.io/Font-Awesome/icon/shopping-cart/
Let me know if that works or not 🙂
January 4, 2016 at 12:39 pm #163351Jorge
I want to do the same, however I’m super new to GP and WordPress in general. No idea of how to add that Custome link. Hope you can help me.
January 4, 2016 at 2:43 pm #163383Stacey Usborne
StaffCustomer SupportHi,
This article might be helpful to create a custom link: https://generatepress.com/knowledgebase/using-menus/
March 9, 2017 at 8:52 am #289269Rachel
I’ve tried both solutions here and neither work to add the Woocommerce Cart icon into the munu nav bar
http://fontawesome.io/icon/shopping-cart/
<i class=”fa fa-shopping-cart” aria-hidden=”true”></i>
Where do I enter the html code?
http://www.divi-magazine.com/fix-for-the-woocommerce-shopping-cart-icon-in-main-menu/
Appearance > Menus > Screen Options > Advanced Menu Properties > CSS Properties -> checked
Shop > CSS Classes (Optional) ->
.et-fixed-header #et-top-navigation .et-cart-info {
margin-top: 5px;
}https://wordpress.org/support/topic/virtue-woocommerce-cart-icon-position/
.kad-cart-total {
position: relative;
}
.cart-contents {
text-indent: -9999px;
min-width: 10px;
}
.cart-contents .amount {
text-indent: 0;
position: absolute;
right: 10px;
}
.cart-contents .amount:before {
font-family: FontAwesome;
font-weight: 400;
font-style: normal;
text-decoration: inherit;
-webkit-font-smoothing: antialiased;
line-height: 1;
text-transform: none;
content: “\f07a”;
padding-right: 10px;
}March 9, 2017 at 9:52 am #289312Tom
Lead DeveloperLead DeveloperHi there,
You just need to add the icon into your Navigation Label. More info on that here: https://docs.generatepress.com/article/adding-icons-to-menu-items/
March 16, 2018 at 6:03 am #521487Ray
Hi Tom,
In reading the info above, I don’t see a way to access the ‘cart’ to replace ‘text’ with an ‘icon’, when it does not show in the customizer menu. How do I replace the text ‘cart’ with an icon?


Thank you!
March 16, 2018 at 9:31 am #521722Leo
StaffCustomer SupportHi there,
The cart icon should show up by default if you have it activated in the WooCommerce module:
https://docs.generatepress.com/article/woocommerce-overview/#generalAnd you also need to make sure that load essential icons option is not checked here:
https://docs.generatepress.com/article/general-settings-overview/ -
AuthorPosts
- You must be logged in to reply to this topic.