Hey Everyone --
I've seen feedback on this issue across multiple themes, but have found no solution for my theme as of yet. To provide a bit of backstory, our homepage banner image looks perfect -- but, our mobile homepage banner image seems to be cut off. I would love to have the ability to add a single homepage banner image for both device types without having to worry about the banner looking distorted on mobile.
Any ideas on how I could fix this?
Hi Jay! Hope you are doing well!
This problem is due to the fact that the aspect ratio of the images does not coincide with the container on the mobile phone, so the images are cropped. There are many solutions, for example, I can suggest changing the minimum banner height from 500 pixels to 400 pixels on a mobile phone, in which case it will be displayed better https://prnt.sc/12mx6cr and most likely the height setting is controlled from the customizer.
I did make a few customizations to myactual site, so if you could take a look at that and make suggestions, that would be awesome.
This site has a minimum height of 400 pixels for this banner, it looks decent, is minimally cropped. I like. How else can I help?
@AlexHodzitsky On mobile, our model is almost all the way off of the banner. It would be much more ideal if he was centered on mobile, even though he is right-aligned on desktop. How can we make that happen?
This also brings up another point, what would be the best way to ensure that even when images aren't centered on desktop, it is automatically centered on mobile? Would we need to add a section to the theme to upload mobile only homepage banners? If so, how? (Leaning on you and the other experts here for the best course of action either way)
Sidenote -- I added a pw to the site, as we haven't gone live yet (pw: test).
Yes, you can do that. To do this, you need to display the setting with the choice of centering the picture in the customizer. But I will not be able to provide you with a step-by-step solution, since i need to look into the theme code. You can also hire a developer for this custom code.
To solve your problem, you need to customize this slideshow module.
If you can not do that, you can add me as a staff and I'll check it for you (my email: email@example.com)