Hi - I am using the 'Post Grid' element to display latest portfolio posts on the home page. This looks great on desktop, but on smaller screens the blocks change dimension (between portrait and landscape). Is there any way (or custom CSS) I could add that would keep the images always square and just scale down?
Thanks for the quick reply - great support as always.
I tried downloading the plugin and regenerating the thumbnails, but it hasn't made any difference, the boxes are still resizing rather than staying square:
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
That's brilliant and works well! Using a phone it does stay square - although if I just resize the browser if still reverts to thin landscape. See attached. Can anything be done to stop this?
Thanks for your perseverance on this! It might be a server cache issue, but when I test on desktop (chrome browser resizing) it works perfectly. But when testing on my actual iPhone, I still get the landscape (wrong) sizing?
Hi - I am using the 'Post Grid' element to display latest portfolio posts on the home page. This looks great on desktop, but on smaller screens the blocks change dimension (between portrait and landscape). Is there any way (or custom CSS) I could add that would keep the images always square and just scale down?
Thanks!
Hi There,
Try to regenerate your image thumbnails using this plugin: https://wordpress.org/plugins/regenerate-thumbnails/
Thanks.
Thanks for the quick reply - great support as always.
I tried downloading the plugin and regenerating the thumbnails, but it hasn't made any difference, the boxes are still resizing rather than staying square:
https://wordpress-391871-1342624.cloudwaysapps.com/
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team
That's brilliant and works well! Using a phone it does stay square - although if I just resize the browser if still reverts to thin landscape. See attached. Can anything be done to stop this?
Hey Again,
Use this revised css and remove the one earlier provided.
Thanks
ThemeNectar Support Team
Thanks for your perseverance on this! It might be a server cache issue, but when I test on desktop (chrome browser resizing) it works perfectly. But when testing on my actual iPhone, I still get the landscape (wrong) sizing?
Does it look okay for you on an actual phone?
Hey Again,
Thanks
ThemeNectar Support Team
Also, they seem to show up square on my Android mobile as well as Desktop.
Thanks
ThemeNectar Support Team