Site logo

Archived topic

Image is not displaying well on mobile preview

7 replies · Started by Naama on March 15, 2023

Viewing posts 1–8 of 8

Hi, I am adding an image which is about 450x450 pixel which is displayed well on desktop. But when switching to mobile preview, the picture is not displaying proportionally to the content width and only part on the image is displayed. Any idea how to fix it?

Hi, I have attached a link as an example but it happens on all posts. look at the first image on desktop and them on mobile and you'll notice the left part of the image is not displayed on mobile (the basket part)

Hi Naama,

Can you try adding this through Appearance > Customize > Additional CSS:

@media (max-width: 768px){
    .wp-block-image figure {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
}

Hi, unfortunately, it is still not working well

will do

If it still doesn't work, try disabling the cache plugin.

Let me know!

This archived topic is closed to new replies.