Home Forums Space themes support forum Limit the Words in WooCommerce Product Short Desc & Limit theNumber of Variation

Limit the Words in WooCommerce Product Short Desc & Limit theNumber of Variation

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

    fulbrightnguyen
    Participant

    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!

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

    Luke Nielsen
    Keymaster

    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)