Home Forums WoodMart support forum Label text length

Label text length

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #282100

    misesk
    Participant

    Hi there! We have a problem with translating Woodmart to our language since the words for “Sold out”, “Hot” or “New” are quite long (9 characters and more) and the label splits them into two lines. Is there a way to set the line limit to more characters so the label does not split the words into two lines?

    Thanks a lot!

    #282232

    Hello,

    First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family :).

    Sorry but there is no option in Theme Settings available to add such a line limit.

    Please provide the URL of the website where the labels are added to check whether this is possible with Custom CSS then I will provide you.

    Regards.
    Xtemos Studios

    #282512

    misesk
    Participant

    Please see Private Content.

    #282633

    Hello,

    If we try to restrict the length then the label could cut off. So please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.

    .labels-rectangular .product-label {
        width: 100px;
    }

    This will increase the width of the label to fit the text in one line.

    Regards.
    Xtemos Studios

    #282977

    misesk
    Participant

    Thank you very much! Is there a way to use this code just for Sold Out label?

    EDIT: this worked. Thanks!

    .labels-rectangular .product-label.out-of-stock {
    width: 100px;
    }

    #283053

    Most Welcome 🙂

    If you do not mind, can you please leave a 5 stars rating for our Theme & Customer and Technical Support by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in future. It would encourage our work a lot. If you like our Theme and Support.

    Thanks for contacting us.
    Have a great day 🙂

    Topic Closed.
    Best Regards

Tagged: , , ,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Label text length’ is closed to new replies.