This topic has 3 replies, 3 voices, and was last updated 1 years, 2 months ago ago by Tony Rodriguez
How would I go about changing the product images that show when using the Elementor Product Cateogries widget? I see the current code is set to:
.elementor-element .category-grid>a img {
max-width: unset;
}
I tried to set the width to be 450px; but not sure this is doing what I want.
https://pasteboard.co/3GNLhdvBb8SK.png
What CSS code do I need to use?
Hello, HUSSTLE,
Thank you for contacting us and for using XStore.
Please provide URL to https://pasteboard.co/3GNLhdvBb8SK.png Is it a page, static block or?
Kind Regards,
8theme team
Hello, @HUSSTLE,
We have identified two potential solutions to your issue:
1. You can edit the page using the Elementor page builder. Once you have done this, please proceed to edit the Product Categories element. Under the General option, you will find the “stretch images” option. Please turn this option ON and adjust the height, Position X, and Position Y according to your needs. For your reference, please see this screenshot: https://postimg.cc/Y4nzFf6x
2. Alternatively, you can assign a Custom ID to the element by editing it under this link: https://postimg.cc/KkVzt4pV. Afterward, you can try using the CSS code provided below. This should resolve your issue.
div#custom_image_width img {
max-width: 450px !important;
}
We hope these solutions will be helpful to you. If you have any further questions or concerns, please do not hesitate to contact us.
Best Regards,
8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up