Product color variants as images instead of a dropdown

This topic has 9 replies, 3 voices, and was last updated 9 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: nabil
    nabil
    Participant
    March 10, 2025 at 16:23

    How can I display product color variants as images instead of a dropdown list?

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 10, 2025 at 16:29

    Hello,

    Thank you for reaching out to us.

    You can find detailed information about Variation Swatches in our documentation here:
    https://www.8theme.com/documentation/xstore/xstore-features/variation-swatches-3/

    If you have any further questions or need additional assistance, please feel free to ask. We are happy to help!

    Best Regards,
    8Theme’s Team

    Avatar: nabil
    nabil
    Participant
    March 12, 2025 at 15:23

    Please, I would like to display the color variants as images instead of a dropdown list. Thanks a lot!

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2025 at 15:45

    Hello,

    Thank you for reaching out to us.

    WooCommerce provides two types of product attributes:
    – Global Attributes: These attributes are created under WP-Admin > Products > Attributes. They are available for all products across the website and can be used for filtering.
    – Local Attributes: These attributes are created when editing an individual product. They are only visible on the product page and cannot be used for filtering.

    The XStore theme only supports global attributes for variation swatches. Ensure that your product variations are set up using global attributes – https://prnt.sc/0ozDvEaeUDFR
    Here is a video example – https://www.youtube.com/embed/LgzC4iK-j6A

    Best regards,
    8Theme’s Team

    Avatar: nabil
    nabil
    Participant
    March 12, 2025 at 16:14

    the variants image is too small . how can i increase with and height . Thanks a lot.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2025 at 16:41

    Hello,

    Thank you for reaching out to us.

    To adjust the width and height of the variant images, custom CSS code can be used, for example:

    .single-product ul.st-swatch-size-large li.type-image {
        width: 60px;
        height: 60px;
    }

    https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/

    Best regards,
    8Theme’s Team

    Avatar: nabil
    nabil
    Participant
    March 14, 2025 at 10:26

    this answer was effective on desktop however the variants still too small on mobile phone. any suggestion about that. thanks a lot for your time.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 14, 2025 at 11:18

    Hello,

    We appreciate your prompt response.

    We’ve changed your custom CSS code from https://prnt.sc/YTuK4HTA1ygU to https://prnt.sc/yZTb44cvKzyu
    Kindly review the changes and let us know if any further adjustments are needed.

    Best regards,
    8Theme’s Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 14, 2025 at 11:49

    Dear nabil,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘product color variants as images instead of a dropdown’' 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.