Reduce Thumb Size on Mobile Devices
-
I am using Simple Portfilio. How can I set my thumbnail size to 240 x 190 on large and medium screens, and reduce the thumbnail size to 150 x 113 on phones ?
Didn’t find anything in the documentation. I searched the forum and found the following CSS that changes the image size on mobile devices:
@media handheld, only screen and (max-width: 767px) {
.foogallery .fg-image {
height: 113px;
width: 150px;
}When I tried it, it reduced the image size within the thumbnail on my phone, but not the overall thumbnail size. Here is a screenshot: https://www.dropbox.com/s/o9j7s17l2mph72w/Foo%20Gallery%20Screenshot.jpg?dl=0
Is there a CSS that will change the overall thumbnail size on mobile devices?
Here is what I am trying to do: I want to have 4 columns on my laptop and 2 columns on my phone. When my thumbnail size is set to 240 x 190 I get 4 columns on my laptop (exactly what I want) and one column on my phone (not what I want). When my thumbnail size if set to 150 x 113, I get 6 columns on my laptop (not what I want) and 2 columns on my phone (exactly what I want).
- The topic ‘Reduce Thumb Size on Mobile Devices’ is closed to new replies.