Number of Stock or Out of Stock word position

This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago ago by Jack Richardson

  • Avatar: timramos
    timramos
    Participant
    November 25, 2015 at 16:30

    Hi Support Team,

    I just tried to move the word ‘Out of Stock’ or number of stock to shift up below product prize. I move it using CSS. but it end up in overlapping on other text. On some product the layout is fine, but there are layouts in other products with overlapping problem.

    I think another way to make it work is to place it directly on some code there without needing to use CSS.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 25, 2015 at 17:12

    Hello,

    Stock field is related to Woocommerce settings and is included to “Add to Cart” section. To move it in php files you have to move “Add to Cart” button too.
    So try to use this code in custom.css file:

    @media (min-width: 1200px) {.single-product-page .product-info .out-of-stock {
        margin-top: -440px !important;
    }}

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.