- Posts: 29
- Thank you received: 0
Set maximum size of introduction image
-
keeyo
Active member - Topic Author
- Member
Less
More
2 years 10 months ago #48833
by keeyo
Set maximum size of introduction image was created by keeyo
Hello,
Can I limit the maximum size of an image on a smaller size display (smartphone)?
Currently, top images are displayed at 150 px x 150 px in PC display, but in smartphone (or reduced the window size of PC), the images are automatically enlarged to fulfill the display (for example, salondesm.com/mind ). I wanted to show the images at 150 px x 150 px on a smartphone, too.
Thank you very much for your continuous support.
Bests
Can I limit the maximum size of an image on a smaller size display (smartphone)?
Currently, top images are displayed at 150 px x 150 px in PC display, but in smartphone (or reduced the window size of PC), the images are automatically enlarged to fulfill the display (for example, salondesm.com/mind ). I wanted to show the images at 150 px x 150 px on a smartphone, too.
Thank you very much for your continuous support.
Bests
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6766
- Thank you received: 719
2 years 10 months ago #48834
by milos
Replied by milos on topic Set maximum size of introduction image
Hello,
Please edit template file /templates/hot_nail_salon/css/custom.css and around line 988 change this:
to this:
Regards,
Milos
Please edit template file /templates/hot_nail_salon/css/custom.css and around line 988 change this:
Code:
.item-image img {
width: 100%;
}
to this:
Code:
.item-image img {
width: auto;
}
Regards,
Milos
Please Log in to join the conversation.
Time to create page: 0.149 seconds