Insert description into label square with code snippet in function.php

This topic has 4 replies, 3 voices, and was last updated 4 hours, 9 minutes ago ago by Tony Rodriguez

  • Avatar: Wikafy
    Wikafy
    Participant
    July 11, 2026 at 23:15

    I would like to show label square description in the front-end single products. How can I do it?

    Best regards

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 13, 2026 at 06:42

    Hello, Wikafy,

    To make the labels more square, you can add the following custom CSS in Theme Options → Custom CSS → Global Custom CSS:

    .st-swatch-preview-single-product .type-label.subtype-square {
        border-radius: 0 !important;
    }

    However, adding a description to a variation requires additional customization, which is not covered by our support. To get it done properly and on time, please submit it to our trusted partner WP Kraken:

    You’ll get:

    – fast quote & timeline
    – turnkey implementation by a vetted team
    – warranty on delivered work

    Best regards,
    8Theme Team

    Please contact administrator
    for this information.
    Avatar: Wikafy
    Wikafy
    Participant
    July 27, 2026 at 18:03

    Thanks for the support! My topic “Insert description into label square with code snippet in function.php” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    July 27, 2026 at 18:03

    Dear Wikafy,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Insert description into label square with code snippet in function.php’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.