Home › Forums › WoodMart support forum › Help with attribute image
Help with attribute image
- This topic has 13 replies, 2 voices, and was last updated 2 months, 2 weeks ago by
Luke Nielsen.
-
AuthorPosts
-
December 18, 2024 at 3:57 am #623394
xtemos.backing633ParticipantHi, i want to have one of my attribute image swatch full size, but its being rounded automatically.
Attachments:
You must be logged in to view attached files.December 18, 2024 at 3:18 pm #623568
Luke NielsenKeymasterHello,
Navigate to Appearance -> Widgets -> Shop page widget area -> change the “Swatches shape” option – https://prnt.sc/Ua8Z48ZILxkV
Clear the cache and check how it works.
Kind Regards
December 19, 2024 at 6:38 am #623759
xtemos.backing633Participanthi, ive tried but it still makes the images have a border and be cropped in whatever form the “swatches shape” (circle, rounded or round) form if, but if you see the first attribute, it shows full image without cropping, my images that are cropping are the same size as the ones on top. Also i have seen the widget settings from my first attributte to see if it was different, but it is the same as the one with the problem
Attachments:
You must be logged in to view attached files.December 19, 2024 at 12:46 pm #623870
Luke NielsenKeymasterHello,
Is there any chance that you could give me access to the dashboard area so I can look closer at the issue there.
Thank you in advance
Kind Regards
December 20, 2024 at 9:44 am #624104
xtemos.backing633ParticipantSure, data keys on private
December 20, 2024 at 4:20 pm #624259
Luke NielsenKeymasterHello,
On my side it shows that access is failed – https://prnt.sc/m6k3rfpmFmqc could you please check it on your side?
I await your response.
Kind Regards
December 21, 2024 at 8:58 am #624343
xtemos.backing633ParticipantHi, se the new log
December 23, 2024 at 12:33 pm #624705
Luke NielsenKeymasterHello,
Still the same issue – https://prnt.sc/4WFB7i6bMYGm
Navigate to Products -> Attributes -> edit the attribute that has those values with images and change the swatch style here – https://prnt.sc/RpYrBatiqI0a
Let me know the result.
Kind Regards
December 23, 2024 at 8:00 pm #624893
xtemos.backing633ParticipantHi!
December 24, 2024 at 1:49 pm #625071
Luke NielsenKeymasterHello,
Sorry for the delay.
Such styles of swatches activate for the Brands attributes that are defined here – https://prnt.sc/e4J0dHU3uJv9
At the moment I see that those attributes are not related to the Brands and that is why the images looks a little bit different.
So select the “Auto” attribute as a brand in Theme Settings – https://prnt.sc/QFIkiIKvWbPR and check how it works.
Let me know if such a solution suits you.
Kind Regards
December 24, 2024 at 8:36 pm #625182
xtemos.backing633ParticipantHi, but if i select “auto” now the brand will change correct? Is there a way to show the “auto” image swatch as the brand with CSS?
December 26, 2024 at 11:00 am #625419
Luke NielsenKeymasterHello,
It’s possible to make the custom CSS, but it will work for other filter swatches if they have the same configuration.
.woodmart-woocommerce-layered-nav .wd-swatches-filter .wd-swatch { --wd-swatch-h: 30px; --wd-swatch-w: 60px; } .woodmart-woocommerce-layered-nav .wd-swatches-filter .wd-swatch-bg:before { border: 0 !important; }
Try to use the above code and let me know.
Kind Regards
December 26, 2024 at 10:41 pm #625561
xtemos.backing633ParticipantHi luke, it worked, for other and future image swatches i just have to change configuration for it to not be affected by the css right?
December 27, 2024 at 10:41 am #625624
Luke NielsenKeymasterHello,
In that case, just bind the custom code to a specific id – https://prnt.sc/RUlA5tVAl5IY
Let me know if you have any questions.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register