Add a border IF there are products inside of wishlist
-
Hi!
I have a question about adding a border to my wishlist counter. I’ve got the TI Wishlist for WooCommerce plugin, that has the option to add a wishlist counter to my primary menu. I added that, and added a bit of CSS to make it look the way I wanted to.
But I’m facing an issue here.
When the wishlist is empty, it doesn’t show the number (just like i want it). I wrote some CSS to add a border to the products counter, but I don’t know how to make it appear only when items are added to the wishlist.
TLDR: I wrote some CSS to add a border to wishlist counter, but I want it to appear only when there are products added to the wishlist.
Without items in wishlist: Wishlist without products
Items in wishlist: Wishlist with productsThank you!
- This topic was modified 3 years, 4 months ago by . Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Add a border IF there are products inside of wishlist’ is closed to new replies.