Home Forums Hitek Support Forum Limit the Words in WooCommerce Product Short Desc & Limit theNumber of Variation

This topic contains 1 reply, has 2 voices, and was last updated by Luke Nielsen Luke Nielsen 2 weeks, 5 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #332587

    fulbrightnguyen
    Customer

    How do I limit the number of characters of the short description(xts-product-attributes xts-product-meta) and limit the number of product variations(xts-product-variations) in the Product archive. Currently, the Product archive is showing over the limit with no way to control this. Please help me as soon as possible. Attached is the current status image file. Thank you!

    Private Content Hidden
    Attachments:
    You must be logged in to view attached files.
    #332800

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    The best way to restrict attributes and swatches on the shop page is to use custom CSS code, try to add this custom CSS code to the “Global Custom CSS” field in Theme Settings -> Custom CSS.

    .xts-product-content .xts-product-attributes,
    .xts-product-content .xts-product-content-head {
        text-overflow: ellipsis;
        max-height: 55px;
        white-space: nowrap;
        overflow: hidden;
    }

    Kind Regards

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

You must be logged in to reply to this topic.