Home Forums WoodMart support forum Product grid not same size

Product grid not same size

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

    gixstudioeu
    Participant

    Hello, have an isue, have website with imported products from old website and I can get product grid in product category in same line same size, images a different to much and I dont have option get good quality of images, what I can do for product grid? I really neet product tabs in category the same size like product title, add to cart buttons in same level in line.

    #481039

    gixstudioeu
    Participant

    Hello, dont need to help I found snipped code

    .product-grid-item .product-image-link img {
        object-fit: contain !important;
        height: 25em !important;
    }
    #481047

    gixstudioeu
    Participant

    But now have another problem, images not fitting when showing in grind becouse some product photos is portrait, some squares. Maybe have any ideas how to fix it ?

    #481088

    Luke Nielsen
    Keymaster

    Hello,

    Please read our article on how to make content alignment in a product grid.

    https://xtemos.com/docs-topic/image-size-and-content-alignment-in-a-product-grid/

    I’d be happy to assist if you have any other questions or concerns.

    Kind Regards

    #614510

    gixstudioeu
    Participant

    Hello, I am back this code worked, but now you have new option recently viewed, and this code is corrupted the image1 attached

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

    Luke Nielsen
    Keymaster

    Hello,

    Clarify, which code you use, and send me access to the admin panel so I can look closer at the issue.

    I await your response.

    Kind Regards

    #614558

    gixstudioeu
    Participant

    Hello, I used this code

    
    .product-grid-item .product-image-link img {
        object-fit: contain !important;
        height: 25em !important;
    }
    #614564

    Luke Nielsen
    Keymaster

    Hello,

    Send me the URL link of where that issue occurs.

    Did you try to disable that code and recheck the issue?

    Kind Regards

    #614585

    gixstudioeu
    Participant

    Then I disabled the code, product image on grit not same size, but isue with recently viewed is disapearing. I temporary disabled maintenance mode

    #614600

    Luke Nielsen
    Keymaster

    Hello,

    In general, the issue in the images themselves, you need to upload them with the same sizes – https://take.ms/uQ8us so then the product grid will be equal.

    Send me a link where you found that custom CSS code.

    Thank you for your time.

    Kind Regards

    #614608

    gixstudioeu
    Participant

    Yes I know, but I searching for solution, becouse its always different sizes, it time to edit all pictures for ~1000 products, and its need code or another solution, can you sugest something ? I cant find a code origin ir internet for now, its more than year after 🙂

    #614758

    Luke Nielsen
    Keymaster

    Hello,

    Apply code only for the archive pages using our theme presets: https://xtemos.com/docs-topic/theme-settings-presets/

    Thus on the home page, those Recently viewed products will not be affected.

    Kind Regards

    #614767

    gixstudioeu
    Participant

    I think it worked 🙂 big thanks to you 😉

    #614773

    Luke Nielsen
    Keymaster

    Hello,

    Glad that it worked for you. In case you need any additional help, I’d be more than happy to assist you.

    Have a good day!

    Kind Regards

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

The topic ‘Product grid not same size’ is closed to new replies.