Home › Forums › WoodMart support forum › Hello
Hello
- This topic has 13 replies, 2 voices, and was last updated 3 years, 12 months ago by Elise Noromit.
-
AuthorPosts
-
December 4, 2020 at 8:13 pm #247950
ilirParticipantI have very problem with this theme not have any option to fix image when is addetet to difrend size how to target shop page images product to add this css code
img {
height: 300px;
width: auto;
text-align: center;
object-fit: contain;
}Attachments:
You must be logged in to view attached files.December 4, 2020 at 9:21 pm #247959
Elise NoromitMemberHello,
Please remove your CSS and try to follow the suggestions from here: https://xtemos.com/docs/woodmart/faq-guides/image-size-content-alignment-product-grid/
Best Regards
December 4, 2020 at 9:29 pm #247962
ilirParticipantnot working i have try so many times iwant to add this css to target just product no all images because i have try this but not work
December 4, 2020 at 10:47 pm #247984
Elise NoromitMemberHello,
This CSS would break all your images. It is not possible to do with CSS.
Best Regards
December 4, 2020 at 10:57 pm #247992
ilirParticipantbut my product page is not good with that option witch theme offers not work still are deformed
look in photoAttachments:
You must be logged in to view attached files.December 5, 2020 at 1:50 pm #248101
Elise NoromitMemberHello,
In order for the CSS rule could work, you need to upload images of the same size.
Please try to apply the CSS to this selector:
.product-grid-item img
Best Regards
December 17, 2020 at 1:00 pm #251778
ilirParticipanthello,
this .product-grid-item img it work for fix my porblem but but not work i single porduct page image can you sendme a clas to target a sigle porduct page image to config it
December 17, 2020 at 10:29 pm #251915
Elise NoromitMemberHello,
There is no option to influence the main product image on the product page, unfortunately.
Best Regards
December 17, 2020 at 10:37 pm #251920
ilirParticipantdo have any css to target just single porduct image form wp additional css
December 18, 2020 at 10:55 am #252061
Elise NoromitMemberHello,
You can try this code:
body.single .product-images img { width: 100%; }
Best Regards
December 18, 2020 at 11:52 am #252085
ilirParticipantthanks this work but can I separated this css not impact mobile just in desktop
December 18, 2020 at 4:37 pm #252190
Elise NoromitMemberHello,
Sure, you can insert the code in the device section as per your needs.
Best Regards
December 18, 2020 at 8:23 pm #252227
ilirParticipantthat not work can you tele me to tareget single product sub images
December 18, 2020 at 11:06 pm #252243
Elise NoromitMemberHello,
As I told you below it is not possible to correct with the CSS. You will have to change the size of the image itself.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register