WordPress.org

Ready to get started?Download WordPress

Forums

Woocommerce product categories - yellow highlight! (8 posts)

  1. richpickford
    Member
    Posted 2 years ago #

    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?

  2. oktoberdots
    Member
    Posted 2 years ago #

    I've got the same problem, have you found a sollution yet?

  3. rtysmith
    Member
    Posted 1 year ago #

    It has to do with the <mark>

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

    mark {
    display: none;
    }
  4. Traynleej
    Member
    Posted 1 year ago #

    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

  5. richpickford
    Member
    Posted 1 year ago #

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

  6. Traynleej
    Member
    Posted 1 year ago #

    Hiya

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

    Taryn

  7. Fred Dreiling
    Member
    Posted 1 year ago #

    Great job for all answers ...

  8. Patrick Rauland
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic