Home › Forums › WoodMart support forum › product visual
product visual
- This topic has 11 replies, 2 voices, and was last updated 2 years, 2 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 28, 2022 at 4:09 am #431651
NicosaParticipantHello,
Attached screenshot, I would like the colors to be smaller than the images, you gave me in CSS code – .single-product [class*=”wd-swatches”] { –wd-swatch -size: 5em !important; }
.wd-bg-style-1[class*=”wd-swatches”] { –wd-swatch-size: 3em !important; }
.wd-bg-style-1[class*=”wd-swatches”] .wd-swatch-bg { border: 1px solid #000 !important; }
.wd-swatch :is(img,picture) {
object-fit: contain !important;
}
;
}The problem is that the image and the color are the same size so I think the {} CSS – .single-product selector is not working in 5 em..
Please give me a clue to correct this style.
Attachments:
You must be logged in to view attached files.December 28, 2022 at 3:59 pm #431815
Aizaz Imtiaz AwanKeymasterHello,
Sorry for the inconvenience but earlier, when we provided you with CSS you had different styles selected for the Color as well as the Image Swatches, so in that case the CSS would work for the Color Swatches because the .wd-bg-style-1 is the class which was earlier specifically generated for the Color Swatch on your Site.
Now both of the mentioned Swatches have the same exact classes being generated so it’s quite difficult to specifically target the Color Swatch right now unfortunately with the same style. Right now, there isn’t a separate class specifically generated for the Color Swatch which we can target.
Best Regards
December 28, 2022 at 4:48 pm #431828
NicosaParticipantIt’s a shame because for us users it would be more convenient to have separate classes. it is complicated then to have a harmony between the images and the colors which are two different things..
December 29, 2022 at 10:38 am #431966
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, there are some limitations related to the swatches design right now which is why it is difficult to specifically target the Color swatch right now.
Just in case, if you can have a different bg-style for Color and Panneau Swatches on your Site then we can try providing you the CSS specifically for the Color Swatch as in that case they both can have a different bg-style class and it will become easier to target the Color Swatch specifically. Hope you can understand the limitations here.
Best Regards
December 29, 2022 at 2:46 pm #432027
NicosaParticipantHello,
Thank you for your feedback, it would be nice to do some tests according to the css codes, if you can make me selectors after I adjust them according to my needs..
Thank you
December 30, 2022 at 9:53 am #432211
Aizaz Imtiaz AwanKeymasterHello,
Once you have different
bg-styles
selected for the Swatches, you can share the exact Product URL with us so that we can provide you the specific CSS for that.Best Regards
December 30, 2022 at 2:16 pm #432272
NicosaParticipantHello,
I put the url for you in the private area.
Beautiful day,
December 30, 2022 at 4:41 pm #432308
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say, but your Site is on Maintenance mode and the wp-admin URL isn’t also accessing. So, kindly please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards.
December 30, 2022 at 4:43 pm #432310
NicosaParticipantHello,
I removed the maintenance during your intervention,
tell me if it’s ok
December 31, 2022 at 10:49 am #432375
Aizaz Imtiaz AwanKeymasterHello,
Now as you have two different bg-styles for the swatches, the earlier sent will work in this regard for Color Swatches size decrement:
.wd-bg-style-1[class*=wd-swatches] { --wd-swatch-size: 2em !important; }
You can change the value according to your choice.
Location to paste Custom CSS, go to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section >> paste the CSS.
Best Regards
December 31, 2022 at 2:16 pm #432401
NicosaParticipantHello,
Thanks for your feedback,
I tried the code works, thanks for your research and especially for the solution.
Beautiful day,
December 31, 2022 at 2:18 pm #432403
Aizaz Imtiaz AwanKeymasterMost Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘product visual’ is closed to new replies.
- You must be logged in to create new topics. Login / Register