Home Forums WoodMart support forum Product labels priority

Product labels priority

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #636243

    margiteerma
    Participant

    Hello!

    I have a question about product labels. When I have multiple labels on the product archive and also single product, I would like to have the attribute label with the highest of priority. Meaning when the product is on sale or out of stock, the attribute label would still be the first and the other labels after that. Can that be done? Right now the product attribute label is the last one compared to other labels.

    Hopefully you understand what I mean 🙂
    Thanks in advance!

    #636279

    Hung Pham
    Keymaster

    Hi margiteerma,

    Thanks for reaching to us.

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

    .product-labels .product-label:not(.onsale){
        order: 1;
    }
    
    .product-labels .product-label.onsale{
        order: 2;
    }

    Regards,

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