Archived topic
Featured Image Misaligned on Mobile
7 replies · Started by James on January 31, 2022
Hello:
I have just noticed that in all of my posts of my website, the alignment of the image and text looks rubbish on mobile.
My images are set to be 300 px wide and right aligned everything looks fine on the desktop but the mobile view shows the image and a small column of text.
I have shared a screenshot below.
How can I fix this?
I have added the address of my website below so that you can look at other posts.
Hi there,
i think some of your site optimizations are removing CSS or messing with its loading order.
You may first want to try clearing any server / plugin caches then browser caches.
If its still an issue then temporarily disable any optimizations, and clear browser caches.
Let me know
I don't have any cache plugins on my site.
I run ads on my site with Ezoic and so I have temporarily deactivated their plugin that I use and I have temporarily deactivated the CDN.
I have cleared my browser caches.
But I'm still seeing the weird layout.
Do you think that I should approach the Ezoic tech team?
Thanks
And I have cleared the cache at the server level...
Hmmm.... if its the only issue then it might be easier to fix it by adding this CSS to your site:
@media(max-width: 768px) {
.wp-block-image .alignright {
float: none !important;
margin: 0 0 0.5em;
}
}
It is fixed. You genius. 600+ posts looking better. Many thanks,
Glad to be of help!