Store appearance: collapse categories, product images contain instead of cover

edited September 2020 in WooCommerce
Hello,

I'm looking to have the left sidebar pictured in the link below to start with all child categories hidden because it's overwhelming to look at. I did not see a setting for this and hoping there is a simple solution to have all child categories hidden until the user opts to "drill down".

Also, the images are being cut off. I'd like to get them to the "contain" disposition so the images are not truncated. I don't mind a little extra whitespace.

here's the page that demonstrates both visual issues I'd like to fix: https://e5i.6a0.myftpupload.com/store/

Any help & advice appreciated - thanks.

-360 Direct


Comments

  • Hello,
    1) This sidebar widget is made that way, it does not have any sliding (child elements) effect applied, so it won't be possible to create in easy way.
    You would have to create JS/jQuery script to achieve that.

    2) Which images do you have in mind? Can you show me an screenshot?
    thanks
  • edited September 2020
    Thanks for your reply Pablo. Please see screenshot below. The products shown on the store page are cut off at the bottom. It's not so obvious on the first product in the screenshot, but if you look at the 3rd product, the 12" box, you can see there's another row of color swatches in the product image that's almost completely cut off.
    image
  • Hey,
    please use the wordpress customizer tool to edit the website. Then go to the woocommerce tab > product images and select the "no crop" option. All of the images will be not cropped. But remember they will not be the same size.
    thanks
  • Hi Bryan,

    Thanks for the reply. That option is already set that way:

    image
  • Please use this CSS code into Theme Options > Custom CSS & JS > CSS
    html body .image_frame:not(.no_link) .image_wrapper img:not(.ls-l){margin-bottom:unset !important;}
    thanks
  • Hi Pablo,

    Thank you very much - adding that CSS fixed the issue I was having with the images getting cut off in the store page. Feel free to mark as complete.

    Ryan
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.