Home / Forums / WoodMart support forum / Customize Swatches
Home › Forums › WoodMart support forum › Customize Swatches
Customize Swatches
- This topic has 8 replies, 2 voices, and was last updated 3 years, 2 months ago by
Elise Noromit.
-
AuthorPosts
-
August 9, 2022 at 11:50 pm #396414
PrinteesParticipantHey there,
I’m looking to change the swatches to something similar to images uploaded.
And can I make the colour #286cf0 opposed to black.Attachments:
You must be logged in to view attached files.August 10, 2022 at 3:24 am #396430
Elise NoromitMemberHello,
Please follow the instructions of this manual to configure the swatches and let us know if you need CSS modification: https://xtemos.com/docs-topic/variable-products-and-swatches/
Best Regards
August 10, 2022 at 3:54 am #396440
PrinteesParticipantHey,
Sorry yes should have been more specific, I will need help with CSS modification to make it look like the image attached.
Attachments:
You must be logged in to view attached files.August 11, 2022 at 1:15 am #396675
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
August 11, 2022 at 4:45 am #396704
PrinteesParticipantAdded.
August 12, 2022 at 2:59 am #396869
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .wd-swatch.swatch-with-bg { border-radius: 0; } .swatch-on-single.swatch-enabled.text-only{ border:2px solid transparent; padding:3px; } .swatch-on-single.swatch-enabled.text-only:hover{ border:2px solid #000000; padding:3px; } .swatch-on-single.swatch-enabled.text-only.active-swatch{ background-color:#000000; color:#ffffff; } body .wd-swatch:hover:after, body .wd-swatch.active-swatch:after { opacity: 0; }Best Regards
August 12, 2022 at 6:06 am #396887
PrinteesParticipantAwesome, almost done.
Is it possible to have a surrounding border with padding separates the border and colour swatch.
Image shows an example.2px #f4f2f3 – border (padding between border and colour swatch)
2px #000000 – hover
3px #000000 – activeThanks.
August 12, 2022 at 6:07 am #396888
PrinteesParticipantSorry forgot to upload image
Attachments:
You must be logged in to view attached files.August 13, 2022 at 12:38 am #397048
Elise NoromitMemberHello,
The color swatches are filled with color and it is not possible to make the border and gap between the color and border.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register