JulieMcK Posted March 8 Share Posted March 8 Hi everyone, I have setup a blog component for displaying testimonials on my homepage and looking for a way to resize the thumbnail image that displays on mobile. I used the below code, but it's only changing the size on the desktop not mobile. I'm not a coder, so if anyone could provide some assistance it would be appreciated 🙂 @media only screen and (max-width: 640px){} .summary-thumbnail img {   border-radius: 50%;  padding: 0px;  max-width: 15%;  margin: auto;} Here are some screenshots from my live site on desktop & mobile. Site built on 7.0, Five template. https://www.jambusinesssupportservices.com.au/  Thanks  Link to comment
tuanphan Posted March 8 Share Posted March 8 You can use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { .summary-thumbnail img { max-width: 90% !important; } } 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
Solution JulieMcK Posted March 10 Author Solution Share Posted March 10 Awesome! Thanks @tuanphan 😃 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