Home Page › Forums › Porto | Multi-Purpose & WooCommerce Theme › Add to cart icon is inconsistent throughout our site › Reply To: Add to cart icon is inconsistent throughout our site
Thanks for the help and the detailed explanations and screenshots so that I understand better what’s going on and can change things on my own in the future! Regarding the sticky header, your solution is good for mobile but isn’t ideal for desktop as it now added the 10px padding to the desktop sticky header as well. If this is the only solution, I can live with it though.
I have another minor issue with a Product Label Plugin (Advanced Woo Labels). When I add a label to a product, it shows up on the product page but not in the product archive. I’m guessing this has to do with Porto not using standard WooCommerce hooks? Here is documentation (and attached photo) with information on how the plugin works:
————–
How to fix
So Advanced Woo Labels use standard WooCommerce hooks to display its labels inside WooCommerce products. It uses hooks like woocommerce_before_shop_loop_item_title, woocommerce_product_thumbnails, woocommerce_shop_loop_item_title, woocommerce_single_product_summary.
So the main reason why labels are not working with your theme – your theme doesn’t use any of these hooks ( or all of them ).
So to fix the issue it sounds logical to set plugin hooks that are working for your current theme. This can be done in several ways. We describe these ways from the simplest to the most difficult.
————–
Should I use the plugin’s Add Hook feature to fix this?