Hi,
I have a curious case where it looks like Generatepress mobile styles are somehow not being respected by the browser on mobile. It’s like the browser does not recognize that it’s on mobile and should be applying the mobile media styles.
One example is that left-aligned images are still being floated left on mobile because
.wp-block-image .alignleft {
float: left;
margin: 0.5em 1em 0.5em 0;
}
is overriding the
@media (max-width: 768px)
.alignleft, .alignright {
float: none;
display: block;
margin-left: auto;
margin-right: auto;
}
Inspecting it in Chrome, I can see the mobile code, but it’s overstruck, like the browser ignores it.
I’m hoping you can help me figure out why this is happening. Example URL is in private information.
Thanks
Espen