This topic has 6 replies, 2 voices, and was last updated 3 years, 7 months ago ago by Rose Tyler
Hi,
I want to change out of stock position. It is at the middle of the product. can we change pozition like near price in catalog page or right bottom of product. Thank you.
Hello,
Unfortunately, according to the existing HTML structure out of stock label can’t be out of the image. We can move it to the top of the image or to the bottom of the image or disable but not out of that area.
Regards
Dear Olga,
well then, can you tell me how can i move it to the top left or top right and make it single line.
Hello,
Add the following code to move it to bottom of the image
.content-product .stock, .content-product .available-on-backorder {
bottom: 0;
top: unset;
}
Or this one to top
.content-product .stock, .content-product .available-on-backorder {
top: 0;
transform: translate(-50%, 0);
}
Regards
If we want to move it to left or right kindly suggest a code
Set “left” or “right” in the code.
Also, bottom: 10; – doesn’t work, you need to set px or % , for example
– https://gyazo.com/c4f1e20e86ca6d510a201f4b3ddcfa9c
Regards
You must be logged in to reply to this topic.Log in/Sign up