Tagged: color section, responsive
Hello,
I made a website for a client who is very happy with it, but she is not happy at all with the images on mobile.
The images crop pretty weird, and because she has all pictures of herself this is a big problem.
The pictures look great on desktop but weird on mobile.
My colorsection is custom height 500px, large padding
How can I fix this?
Thanks so much for the help, and thanks for making an awesome theme!
Hey mirr,
If you want greater control over how the images look on mobile you could create another Color Section to only show for mobile and upload images better adapted to that screen format. You can assign IDs to your sections then show/hide the correct one using CSS like this:
@media only screen and (min-width: 768px) {
#section-desktop {
display:block !important;
}
#section-phone {
display:none !important;
}
}
@media only screen and (max-width: 767px) {
#section-desktop {
display:none !important;
}
#section-phone {
display:block !important;
}
}
Best regards,
Rikard
Thanks Rikard! This works great! What’s the best size to upload the mobile images?