Home / Forums / WoodMart support forum / Custom Swatch Design
Home › Forums › WoodMart support forum › Custom Swatch Design
Custom Swatch Design
- This topic has 11 replies, 2 voices, and was last updated 5 days, 7 hours ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 7, 2025 at 1:40 pm #699709
ha21cnParticipanthttps://ibb.co/Q3kD9068
We want to design our Swatch watch to look like the one shown below. How can we do that?
https://ibb.co/7tm3HZqMDecember 8, 2025 at 2:11 pm #699841
Aizaz Imtiaz AwanKeymasterHello,
All the available styles and functionalities with the Swatch are described in the documentation here: https://xtemos.com/docs-topic/variable-products-and-swatches/. Please read and follow i,t and choose the one that better suits your requirements.
Best Regards,
December 11, 2025 at 7:28 am #700412
ha21cnParticipantThe video shows that you can set the size to Text Swatch, but it doesn’t explain how to adjust the Text Swatch size. The effect shown is different from the screenshot I sent you. The screenshot I sent you shows a rectangular Text Swatch with a background color.
December 11, 2025 at 1:34 pm #700496
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Products > Attributes > Edit Attribute and change the available swatches style: https://ibb.co/VrWrmzw
Best Regards,
December 15, 2025 at 1:18 am #700864
ha21cnParticipantWhat I mean is that the length and height of the Swatch can be customized. Your Text Swatch has a default size and cannot be adjusted. For example, I want to adjust the width of the S-shaped Text Swatch, but I don’t see the option to do so.
December 15, 2025 at 10:46 am #700911
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Products > Attributes > Edit attribute and change the swatch size.
See Screenshot for clarification: https://postimg.cc/zLXwy2Yc
Best Regards,
December 15, 2025 at 6:47 pm #701001
ha21cnParticipantThis option does not allow setting the height and length ratio.
December 16, 2025 at 11:26 am #701084
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the page URL so I can check and give you custom CSS code?
Best Regards,
December 17, 2025 at 1:39 am #701196
ha21cnParticipanthttps://ibb.co/rGsMTBTS
The image above shows the default Text Swatch effect in Woodmart, but the Text Swatch effect I want is shown in the image below.
https://ibb.co/6pPDfRRDecember 17, 2025 at 12:05 pm #701290
Aizaz Imtiaz AwanKeymasterHello,
Try to add the following CSS in Theme Settings > Custom CSS
.wd-swatches-product .wd-swatch { width: 120px; /* adjust width as needed */ height: 30px; /* adjust height as needed */ border-radius: 15px; /* make it rounded */ }Best Regards,
December 18, 2025 at 7:18 pm #701570
ha21cnParticipantSo, can the default effect and the selected effect also be set?
December 19, 2025 at 11:21 am #701642
Aizaz Imtiaz AwanKeymasterHello,
From Products > Attributes > Swatch style (Underline, Border, Tick mark, etc.) only controls how the selected state is highlighted. They do not provide any control over the width, height, or ratio of the text swatch.
If you want to change the swatch dimensions or have different sizing/shape for default and selected states, this is not available via theme options and must be done using custom CSS.
So in short:
- Swatch style options = selection effect only
- Size / height / width ratio = CSS customization only
Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register