Problem adding media queries into custom CSS box.
-
Hi there,
First of all thanks for all the technical support on this forum, it’s been super helpful so far!
I’ve created a default page, with the body copy wrapping around an image. The image is ‘floated’ to the left to allow the text to sit on the right.
The problem is that on smaller screens, the text begins to squeeze too tightly beside the image and becomes unreadable. At this point, I’m wanting to add a media query to force the text below the image, instead of beside it.
Currently I’m trying to add this code into the Custom CSS Box area:
@media screen and (max-width: 720px) { img { float: none; } }This doesn’t seem to be working. Is there a problem with my code?
I’m hoping there is a simple way to achieve what I’m after.Can anyone help me out?
Thanks in advance!
The topic ‘Problem adding media queries into custom CSS box.’ is closed to new replies.
