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
- This topic has 14 replies, 2 voices, and was last updated 1 year, 2 months ago by Elise Noromit.
-
AuthorPosts
-
September 9, 2023 at 1:33 am #494529
ha21cnParticipantNow 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.
September 9, 2023 at 1:46 am #494534
Elise NoromitMemberHello,
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
September 9, 2023 at 1:50 am #494535
ha21cnParticipantPlease Check
September 12, 2023 at 12:28 am #495114
Elise NoromitMemberHello,
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
September 12, 2023 at 1:07 am #495124
ha21cnParticipantPlease 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.September 12, 2023 at 3:05 pm #495321
Elise NoromitMemberHello,
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
September 12, 2023 at 10:20 pm #495429
ha21cnParticipantAnother question is how to hide the SKU number?
September 12, 2023 at 10:26 pm #495430
ha21cnParticipantWhat 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.September 13, 2023 at 2:27 am #495464
Elise NoromitMemberHello,
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
September 13, 2023 at 10:48 am #495555
ha21cnParticipantHello, 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.
September 13, 2023 at 3:26 pm #495639
Elise NoromitMemberHello,
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
September 13, 2023 at 10:17 pm #495764
ha21cnParticipantBut there is another attribute which is weight, how can this be hidden?
September 14, 2023 at 9:49 pm #496116
Elise NoromitMemberHello,
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
September 15, 2023 at 12:31 pm #496282
ha21cnParticipanthttps://clubjerseys.online/product/real-madrid-2023-24-third-womens-jersey/
This is a link to the product, please check it out.September 16, 2023 at 9:10 pm #496630
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .single-product-content .tabs li.additional_information_tab { display:none; }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register