New Landing › How can we help? › Atelier › Adjust Sold Out Badge
Hey Guys,
I would like to adjust the sold out badge. I like it as it is only I would like to be it a rectangular (have the point + white dot removed).
See: https://monosnap.com/file/gDSJLPojkWU3Bi8juuUpaH6G4YXwkD
Can I accomplish that with CSS?
Thanks! Joost
Hi,
Try this css.
.woocommerce .out-of-stock-badge:before{ display:none; } .woocommerce .out-of-stock-badge:after { left: 2px!important; }
-Rui
Hi, Please use this custom css code:- `.woocommerce .out-of-stock-badge:after, .woocommerce .out-of-stock-badge:before{ display:none !important; }`
Thanks Mohammad
It seems that you have an error in the previous custom css syntax. Can you place the code I provide in the top of the custom css?
Guess you are missing a closing bracket in the previous code. check what that red error says on mouse over.
Hey Rui,
It states, Expected RBRACE at line 292, col 1.
Got the code from: http://www.swiftideas.com/forums/topic/sold-out-out-of-stock-badge-not-visible-on-mobile/
Please advise how to adjust, thanks! Joost
Provide me admin credentials so I can have a look. thanks
can’t login with any of those passwords. Can you check it again?
Thanks -Rui
Like I said it was missing a closing bracket for the previous media query you had on that place. Clear the cache and check again.
Thanks for having a quick look and the fast help! It worked! Do you also know how to remove the white dot?
http://take.ms/VN3hO
Hi, Please use this custom css code:-
.out-of-stock-badge:after{ display:none !important; }
Hey Mohammad & Rui,
Thanks for the support. Works! Take care,
Joost.
Resolved.
You must be logged in and have valid license to reply to this topic.