Home Forums Basel support forum How to make the default Swatch display as a square instead of a circle

How to make the default Swatch display as a square instead of a circle

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #494529

    ha21cn
    Participant

    Now the default display mode of Swatch is a circle, but I want to change it to a square, because the picture I uploaded is a square, and displaying it in a circle will result in the loss of the content of the picture.

    #494534

    Hello,

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #494535

    ha21cn
    Participant

    Please Check

    #495114

    Hello,

    Sorry for the delay, Unfortunately, site admin access is not valid.

    In addition, the site is empty, You need to create variable products and configure the swatches, https://xtemos.com/docs-topic/attribute-swatches/ and we will give you custom CSS.

    If you have any questions please feel free to contact us.

    Best Regards

    #495124

    ha21cn
    Participant

    Please try again.
    If you look at the screenshot, you can see that the Swatch is circular by default, but I want to set it to a square, and I don’t want the image to be missing.

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

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .single-product-content .variations .swatches-select :is(.image-swatch,.colored-swatch) {
        border-radius: 0;
    }

    Best Regards

    #495429

    ha21cn
    Participant

    Another question is how to hide the SKU number?

    #495430

    ha21cn
    Participant

    What I mean is hiding SKUs on individual product pages.Another question is how to close the Additional information Tab.

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

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .single-product-content .product_meta>span.sku_wrapper {
     display:none;
    }

    You can remove or edit the Additional tab in the Theme Setting > Single product > Tabs.

    Best Regards

    #495555

    ha21cn
    Participant

    Hello, the screenshot above shows the Additional Information Tab, not the Additional Tab. The Additional Information Tab is automatically displayed when the weight and variation of the product are entered. Please check carefully.

    #495639

    Hello,

    Additional tab (with the attributes) enter each attribute in the product page and disable showing on the product page to hide the tab.

    If you have any questions please feel free to contact us.

    Best Regards

    #495764

    ha21cn
    Participant

    But there is another attribute which is weight, how can this be hidden?

    #496116

    Hello,

    You need to remove it in the product settings or we can hide the whole tab with custom CSS, please provide the product URL.

    Best Regards

    #496282

    ha21cn
    Participant

    https://clubjerseys.online/product/real-madrid-2023-24-third-womens-jersey/
    This is a link to the product, please check it out.

    #496630

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .single-product-content .tabs li.additional_information_tab {
       display:none;
    }

    Best Regards

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