How to place size guide under size swatch

This topic has 8 replies, 4 voices, and was last updated 1 month ago ago by Ayan Rahman

  • Avatar: anoop
    anoop
    Participant
    May 6, 2026 at 18:18

    The size/color swatches, quantity selector, Add to Cart, and Buy Now all come under the same widget. I need to place the size chart below the size swatches. Is that possible?

    Also, can I display only the Add to Cart button and hide the Buy Now button?

    If I want to apply different CSS styles for the swatches (for example, one style for size swatches and another for color swatches), would that be possible?

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 7, 2026 at 09:48

    Hello, anoop,

    Regarding the separation of the cart block, it is not possible to divide it. However, you can place the Size Guide block below the entire cart block.
    The “Buy Now” block can be removed by disabling it in the Elementor editor.

    As for applying different styles to the size and color variation blocks, you can assign them while creating the attributes. You can find more detailed information here:

    https://www.8theme.com/documentation/xstore/video-tutotials/variation-swatches/
    https://www.8theme.com/documentation/xstore/woocommerce/variation-swatches-3/

    Best regards,
    8Theme Team

    Avatar: anoop
    anoop
    Participant
    May 12, 2026 at 14:02

    As part of applying different styles, I would like to change the variation display size, background color and font color of selected one. In above tutorials, I dont see those options. I tried to update “Select field” colors but its not working. How can I adjust them ?

    https://www.imgged.com/ekpnMLWenxxiOvw

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 12, 2026 at 15:02

    Hello @anoop,

    The settings you mentioned apply only to the select field; however, there are swatches with a label type on your Single product content. If you would like to modify the colors of these items, you can use the following custom CSS:

    selector ul.st-swatch-preview-single-product li.type-label {  
        background: green;  
        color: red;  
        border-color: blue;  
    }

    If you would like to customize only the selected item, use next custom CSS:

    selector ul.st-swatch-preview-single-product li.type-label.selected {
        background: green;
        color: red;
        border-color: blue;
    }
    
    selector ul.st-swatch-preview-single-product li.type-label.selected span {
    transform: scale(2);
    }

    Please add this CSS in Dashboard → XStore Builders → Single Product Builder → Edit with Elementor -> find the Cart Form widget → Advanced tab, then scroll to the “Custom CSS” section.

    If you still require our assistance, kindly provide temporary wp-admin access in private content.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: anoop
    anoop
    Participant
    May 12, 2026 at 17:16

    Thank you. If I need to show different color for an out of product variation, how can I apply css for that

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 13, 2026 at 07:11

    Hello @anoop,

    Please, try adding next custom CSS to modify the CSS of outofstock items:

    selector ul.st-swatch-preview-single-product li.type-label.sten-li-disabled {
        border-color: blue !important;
    }
    
    selector ul.st-swatch-preview-single-product li.type-label.sten-li-disabled > span {
        color: green;
    }
    
    selector ul.st-swatch-preview-single-product li.type-label.sten-li-disabled span:after {
        background: orange;
        opacity: .3;
    }

    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: anoop
    anoop
    Participant
    May 17, 2026 at 07:20

    Is it possible to use more than 1 image for size chart ?

    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff
    May 17, 2026 at 10:34

    Hi,

    Thank you for your question. Unfortunately, it is not possible to use more than one image for the size chart at the moment. You can, however, combine multiple images into a single file and upload it as one image if needed.

    Best Regards,
    8Theme’s Team

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

You must be logged in to reply to this topic.Log in/Sign up

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