Clarilou Posted March 24, 2021 Share Posted March 24, 2021 Site URL: https://www.amovintage.com Hello, I am looking to use a custom made image (jpeg) to replace the sold out button throughout my website, is there a code to do this? I have attached what it currently looks like, and an example of the sort of image I want to create and upload Thankyou Link to comment
tuanphan Posted March 25, 2021 Share Posted March 25, 2021 Hi, First find this code & change background to background-color .view-list .product-mark.sold-out { background: #000 !important; color: #fff !important; font-family: FUTURACUSTOM; letter-spacing: 0px; line-height: 0px; font-size: 16px; position: absolute; transform: rotate( -20deg ); top: 10px; right: 10px; display: center; padding: 20px; border-radius: 100%; width: 20px; height: 20px; justify-content: center; align-items: center; text-align: center; display: flex; } Next, add this code /* Sold out badge image */ .product-mark.sold-out { background-image: url(https://cdn.pixabay.com/photo/2021/01/04/12/07/cat-5887341__340.jpg) !important; background-size: cover; color: transparent !important; background-repeat: no-repeat; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment