Home › Forums › WoodMart support forum › Place icons on my account panel
Place icons on my account panel
- This topic has 8 replies, 2 voices, and was last updated 4 years, 7 months ago by Elise Noromit.
-
AuthorPosts
-
May 10, 2020 at 7:14 pm #193876
dami_reParticipantHello ! What CSS should I use to place the icons in my account panel as indicated in the image? And where would the source be to be able to choose them? Thank you
Attachments:
You must be logged in to view attached files.May 10, 2020 at 10:00 pm #193904
Elise NoromitMemberHello,
You need to choose the icons in https://www.flaticon.com/
Then upload them in Media library and give their URLs I will provide CSS
Best Regards
May 10, 2020 at 10:02 pm #193905
Elise NoromitMemberHello,
If I guess correctly this is the notification that this is a demo store, in this case it is removed in Appearance > Customize > Woocommerce > Shop notice.
Best Regards
May 10, 2020 at 10:36 pm #193923
dami_reParticipantAnd there are no free icons or that I should not attribute to any author? I’ll wait for you to provide me the CSS. Thank you
May 11, 2020 at 11:34 am #194069
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; } .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; } .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; } .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; } .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; } .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--wishlist{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; } .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{ background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg); background-size:contain; background-position:top right; background-repeat:no-repeat; }
As soon as you upload icons into Media library, replace image URLs in each item.
Best Regards
May 11, 2020 at 3:59 pm #194127
dami_reParticipantPerfect! And as I would do to leave a small separation or line spacing, it is that they are a little on top. And what would be the CSS to load the images of the active links. Thanks again
May 11, 2020 at 8:56 pm #194163
Elise NoromitMemberHello,
Do you want a gap or line? Please clarify your purpose.
Best Regards
May 11, 2020 at 11:57 pm #194191
dami_reParticipantI need them to have a space or gap between them. I hope I was a little clearer. Thanks
May 12, 2020 at 9:04 am #194275
Elise NoromitMemberHello,
Add this code as well:
.woocommerce-MyAccount-navigation li{ margin:5px 0; }
Now on hover image would disappear, in order to keep an image on hover as well, add this code:
.woocommerce-MyAccount-navigation ul li a:hover { background-color: transparent; }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register