Hi, is there a way to embed an image beside the heading for the layered navigation widget - or to embed an image/icon for the specific attributes themselves. For example, on my site http://www.rattlethebox.com/?post_type=product, I have three attributes (Explore, Connect, Lifestyle) and I would like to link an icon beside each of them - is there a line of code I can add to allow this?
Thanks a lot, Spud
Icons for layered navigation
4 posts from 2 voices-
Posted 9 months ago #
-
Hello,
I think you can do that by doing this on your custom.css. You need to inspect each widget and find the specific id for each. In this case, we are editing the Explore.
#woocommerce_layered_nav-2 .widgettitle { padding-left: 20px; background: url() no-repeat left; }You need to position the background image or icon on the left side of the text, padding can be fairly helpful with this.
Regards,
IsmaelPosted 9 months ago # -
Awesome that worked perfect! Thanks a lot :) You guys have the best support team out there.
Posted 9 months ago # -
Hello,
Glad that we could help. :)
Regards,
IsmaelPosted 9 months ago #
Topic Closed
This topic has been closed to new replies.














