Hello

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #247950

    ilir
    Participant

    I 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.
    #247959

    Hello,

    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

    #247962

    ilir
    Participant

    not 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

    #247984

    Hello,

    This CSS would break all your images. It is not possible to do with CSS.

    Best Regards

    #247992

    ilir
    Participant

    but my product page is not good with that option witch theme offers not work still are deformed
    look in photo

    Attachments:
    You must be logged in to view attached files.
    #248101

    Hello,

    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

    #251778

    ilir
    Participant

    hello,

    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

    #251915

    Hello,

    There is no option to influence the main product image on the product page, unfortunately.

    Best Regards

    #251920

    ilir
    Participant

    do have any css to target just single porduct image form wp additional css

    #252061

    Hello,

    You can try this code:

    body.single .product-images img {
        width: 100%;
    }

    Best Regards

    #252085

    ilir
    Participant

    thanks this work but can I separated this css not impact mobile just in desktop

    #252190

    Hello,

    Sure, you can insert the code in the device section as per your needs.

    Best Regards

    #252227

    ilir
    Participant

    that not work can you tele me to tareget single product sub images

    #252243

    Hello,

    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

Viewing 14 posts - 1 through 14 (of 14 total)