Jump to content

How to remove the label "new" by products


Recommended Posts

I found the following code in the file theme.css in my assets folder of my theme. When I change block to none, the label "new" is gone but unfortunately also all other labels (sale, online only)

Does anyone have a solution?

#products .product-miniature .discount-percentage,
#products .product-miniature .on-sale,
#products .product-miniature .online-only,
#products .product-miniature .pack,
#products .product-miniature .product-flags .new,
#product .discount-percentage,
#product .on-sale,
#product .online-only,
#product .pack,
#product .product-flags .new,
.featured-products .product-miniature .discount-percentage,
.featured-products .product-miniature .on-sale,
.featured-products .product-miniature .online-only,
.featured-products .product-miniature .pack,
.featured-products .product-miniature .product-flags .new,
.product-accessories .product-miniature .discount-percentage,
.product-accessories .product-miniature .on-sale,
.product-accessories .product-miniature .online-only,
.product-accessories .product-miniature .pack,
.product-accessories .product-miniature .product-flags .new,
.product-miniature .product-miniature .discount-percentage,
.product-miniature .product-miniature .on-sale,
.product-miniature .product-miniature .online-only,
.product-miniature .product-miniature .pack,
.product-miniature .product-miniature .product-flags .new {
    display: block;
    /*position: relative;*/

    position: relative;
    /*added*/
    
    /*left: -.4375rem;*/
    /*top: .4375rem;*/
    padding: .3125rem .4375rem;
    color: #fff;
    background: #2fb5d2;
    text-transform: uppercase;
    min-width: 2.125rem;
    min-height: 1.875rem;
    font-size: 1rem;
    font-weight: 600;
    text-align:center;
    /*added*/
    
    clear:both;
    /*added*/
    
    float:left;
    /*added*/
    
    margin-top: .625rem;
    /*added*/
    
    margin-left: -.3125rem;
    /*added*/
    
    /*box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2)*/
}

 

Edited by De Verzamelman (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...