lensmens Posted April 26 Share Posted April 26 (edited) Hi everyone, My photography blog shows pictures nicely horizontally and vertically on a computer, but the vertical pictures are too small in the mobile version of the site. Is there any code of another way to make them show bigger only on mobile devices? (Also: only for blogposts, all other images on the site are fine) Example of a blogpost https://www.lensmens.be/blog/huwelijksfotograaf-isabel-thomas-antwerpen Thanks in advance! Christophe PS: tagging you, @tuanphan because you've helped me a lot in the past! Thanks again! Edited April 26 by lensmens Link to comment
Solution tuanphan Posted April 28 Solution Share Posted April 28 You can use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { div.blog-item-content-wrapper { .sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor img { width: 100% !important; left: 0 !important; height: auto !important; top: 0 !important; } a.image-slide-anchor.content-fit { height: auto !important; padding: unset !important; } }} lensmens 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
lensmens Posted April 30 Author Share Posted April 30 Hey @tuanphan, thanks again: works like a charm! tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment