Home Forums WoodMart – Premium Template Label text length

Tagged: , , ,

This topic contains 5 replies, has 2 voices, and was last updated by Aizaz Imtiaz Awan Aizaz Imtiaz Awan 1 month ago.

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

    misesk
    Customer

    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
    Customer

    Please see Private Content.

    Private Content Hidden
    #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
    Customer

    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;
    }

    • This reply was modified 1 month ago by  misesk.
    #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

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

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