I am trying to style a single product page with custom CSS in WooCommerce. I managed to get the categories styled with the conditional tag is_product_category in my header file and an php IF statement.
Up to there its fine, I have a category called "Her" and all the pages to do with that category are pink. But then, when I go to an individual product in the "Her" category, it reverts to the default CSS.
I checked and there are no conditional tags to address a single product. I've spent hours researching and reading everything I can find but I cant find a solution. I need the product page to have the same styling as the parent category. Any thoughts as to how I can achieve this?
Many thanks in advance