Align Stock Notice - Question | JoomShaper

Align Stock Notice

DA

Dina Abramson

Template 4 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

0
7 Answers
Ariba
Ariba
Accepted Answer
Support Agent 4 years ago #21744

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

0
Ariba
Ariba
Accepted Answer
Support Agent 4 years ago #18347

Hello

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

0
Ariba
Ariba
Accepted Answer
Support Agent 4 years ago #18349

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.

0
DA
Dina Abramson
Accepted Answer
4 years ago #18352

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

0
DA
Dina Abramson
Accepted Answer
4 years ago #18354

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

0
DA
Dina Abramson
Accepted Answer
4 years ago #18355

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

Thanks for the quick reply

0
Ariba
Ariba
Accepted Answer
Support Agent 4 years ago #18356

You are most welcome.

0