Home Forums WoodMart – Premium Template Category Label

This topic contains 5 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 month, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #336987

    Danilo84
    Customer

    Hi all,

    it’s possible to create a colored label for product category and not just a text? i attach screenshot of other site that i found on web to explain what i mean

    thx
    d.

    Private Content Hidden
    Attachments:
    You must be logged in to view attached files.
    #337025

    Hello,

    Please provide the page URL and screen of the block of the text you want to customize

    Best Regards

    #337159

    Danilo84
    Customer

    Hi,

    it’s in homepage https://www.bestoliveoilsuk.co.uk/

    i attach the screenshot

    I would like there to be colored labels instead of just text for the categories

    Thx

    Attachments:
    You must be logged in to view attached files.
    #337317

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    If you want to change the text color:

    body .product-grid-item .wd-product-cats a {
        margin-bottom: 5px;
        color: red;
        font-size: 95%;
    }

    If you want to add a backround:

    body .product-grid-item .wd-product-cats{
    background-color:yellow;
    }

    Best Regards

    #337434

    Danilo84
    Customer

    Many thanks for the code, but if i want to set different background color for each category? how can i do?

    #337547

    Hello,

    Unfortunately, it is not possible. You can set only one background color for all the categories.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.