align Stock notice - Forum | JoomShaper
Solved Templates

align Stock notice

Asked by Dina Abramson 5 years ago Last activity 5 years ago

I am trying to align the stock notice on the products page to be text right aligned and to be inline at the same level as the price but I am not having any success in getting it to work.

J2Store says that it is the template that manages that and not the store component.

See
https://spacewaxrecords.com/images/stock.png

thanks

Accepted answer

Marked as the solution
Ariba Staff

Hello

Please do let me know if there are any other issues, i am happy to provide answers. If there is no other problem, kindly accept the response in order to resolve & close the issue :)

Thank you

6 more replies

Ariba Staff

Hello

Kindly allow me some time please, i will share the CSS solution soon. It will help you.

Ariba Staff

I have added the css code below in custom css section, now the text is right aligned and also inline at the same level as price.

.product-stock-container {
    float: right;
    margin-top: 10px;
}

Please kindly check and let me know if there is any query.

Dina Abramson Asked this

Thanks, that looks great except when there is a larger text message like you see highlighted in yellow on the image here
See https://spacewaxrecords.com/images/stock.png

It's like the spacing for a larger message is expanded

Dina Abramson Asked this

I think it can be fixed using a smaller font. I shall try that and let you know

Dina Abramson Asked this

The smaller font seems to work. I will try this for a while.

Thanks for the quick reply

Ariba Staff

You are most welcome.

Log in to reply.