Hi @ermarsot,
How fun. Cool site!
I think you should look into art direction for that background hero and the 2 foreground images.
In short, you want to show a landscape-friendly image on desktop (like you have now), but then provide a portrait-friendly (stacked) version for smaller devices. You can use media queries to figure which version to display (depending on the device).
You can learn more here https://dev.to/marklchaves/what-is-art-direction-and-how-to-use-it-1o3n.
I’m happy to answer any question about this! Just yell.
Cheers,
Mark
Hi,
You can use Bootstrap or media rules
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
Font: https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
-
This reply was modified 5 years, 1 month ago by
Yui. Reason: please use CODE button for proper formatting
@cyferweb Thanks! I have added the
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
to the Additional CSS and it is still no responding.
-
This reply was modified 5 years, 1 month ago by
Yui. Reason: please use CODE button for proper formatting
@mlchaves thank you! I will try it and let you know! thanks!
@mlchaves Thanks for your recommendations. I have inserted the code that you gave me in my additional CSS and plug the URL of my pictures into WordPress. I am still not having success. I am not sure what I am doing wrong.
Hello @ermarsot,
I just visited your site again. I don’t see any media queries or art-direction images.
Did you remove the code?
If you want me to help you troubleshoot, feel free to set up a test page and then post the link to the test page.
If you need more examples, I’ve got many live demos of art-direction responsive design on my CodePen and running my own site.
Just let me know 🙂