Fit image

Posted in: Newspaper
Post count: 32

Hello,

In article, when i join a pict, i choose original size to fit.It’s good for desktop but on mobile miss some parts of the pict. So i choose lower size for desktop, but pict is too small.
How can i choose the fit size for desktop and mobile?

Thank you !

Post count: 35449

Hi,

Please provide me a link where I can inspect this situation, in this way I will be able to provide you an working answer.

Thank you for your understanding!

Post count: 32

Hello Calin,

Thank you for your reply.

After 2 days, i found ONE solution but i don’t know if it’s the best one (for article, not page). I think it was because i used bakery visual composer (i m using it with another website without issu).
Now i use classic composer and i have installed this code in CCS: img { width: 100%; height: auto; }

BUT there is 2 problems:
– some picts on my website are distorded (my logo on homepage) : https://aitoguerrierdupacifique.com
– Some block are bad display on mobile: https://prntscr.com/nxxuul

Another question i wanted to ask for a long time . On the home page, i use many blocks, it’s very nice on desktop but blocks on mobile aren’t in the good order…. There is a way to choose the order display?

Thank you !

Post count: 35449

Hi,

Instead of using that custom css you can try this solution -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Also if you still want to use that code you need to be more specific, to set the code only on content, not on full site.
Create custom code with the browser’s Inspector or the Live CSS Box -> https://tagdiv.com/how-to-create-custom-code-in-newspaper-theme/

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.