marmalademoon Posted July 20, 2022 Posted July 20, 2022 Site URL: https://www.marmalademoon.com Hello, Does anyone know how to style the portfolio index page so that the images maintain their original aspect ratio? I also wonder how to match the automatically generated color to that of the image background? /Kate https://www.marmalademoon.com
tuanphan Posted July 21, 2022 Posted July 21, 2022 Try adding to Design > Custom CSS .index-item-image { max-width: 100% !important; width: 100% !important; height: auto !important; max-height: initial !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
marmalademoon Posted July 23, 2022 Author Posted July 23, 2022 Thanks so much @tuanphan! I tested and it works well for portrait images but not so well for square ones? Have you got any suggestions for how to tweak it? /Kate
marmalademoon Posted July 23, 2022 Author Posted July 23, 2022 I just had another look and it looks like it's the third, fifth and so on - rows that still look a bit funky?
tuanphan Posted July 26, 2022 Posted July 26, 2022 On 7/23/2022 at 11:14 PM, marmalademoon said: I just had another look and it looks like it's the third, fifth and so on - rows that still look a bit funky? On 7/23/2022 at 11:08 PM, marmalademoon said: Thanks so much @tuanphan! I tested and it works well for portrait images but not so well for square ones? Have you got any suggestions for how to tweak it? /Kate It looks fine to me. Can you describe in detail + screenshot? Thank you. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
marmalademoon Posted August 3, 2022 Author Posted August 3, 2022 Hello again, @tuanphan! So sorry for the delay, I had a bit of trouble screenshooting. Attaching three images, and hope you understand what I mean? /Kate
marmalademoon Posted August 19, 2022 Author Posted August 19, 2022 What do you think, @tuanphan? Is there a way to adjust those odd lines?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment