WordPress.org

Support

Support » Plugins and Hacks » Woocommerce product categories – yellow highlight!

Woocommerce product categories – yellow highlight!

  • I have a page showing my product categories but not the actual products.
    Next to the product category name it shows the number of products within that category highlighted in a bright yellow!
    Trying to either change this highlight colour.
    Or to stop this number showing altogether.
    Anyone trying to do the same and found a solution?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’ve got the same problem, have you found a sollution yet?

    It has to do with the <mark>

    add this to your custom.css or custom css in the theme settings:

    mark {
    display: none;
    }

    Hi
    I have the same issue but I’m using pagelines as my template which doesn’t come with custom.css file (as I’ve seen with other templates) and to be homest I’m not sure where I’d put it! Can you offer any more assistance?
    The whole site looks great except for the ugly yellow box!

    Thanks
    Taryn

    I used this code in the woocommerce css file
    Mark.count{visibility:hidden;}
    Hope that helps

    Hiya

    Thanks for coming back to me, just managed to find the custom css file – phew!

    Taryn

    Great job for all answers …

    Overriding in CSS probably isn’t the best way to go about this. It is far safer to add a line in your functions file that turns off the code completely rather than just hiding it.

    WooCommerce added a filter a few months back.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Woocommerce product categories – yellow highlight!’ is closed to new replies.