I am currently learning on Stackoverflow and new to the platform. Please forgive any errors I may make.
I have a WordPress theme that is already responsive. On one of my pages, I created 3 boxes with inline CSS to give them colorful backgrounds. One box floats to the right while the other 2 float to the left.
Please take a look at the page and specifically at the 2nd box here: About Us
However, when viewing the site from a mobile device, I noticed that the 2nd box is floating to the right and goes off-screen. I tried adjusting things in media queries but wasn't successful. I initially set the 2nd block like this:
<div id="image2" style=".....;float:right;">
What I want now is to set it to float:none
in the media query.
Could someone guide me on how to achieve this? What is the correct hierarchy that needs to be placed inside the media query (which is located in a theme file)? I was able to make some changes to the logo using a media query by writing
.header-wrapper .logo-wrapper {.....}
But I'm struggling to apply the same concept to this block of text.
Any help would be greatly appreciated. Thank you!