Set maximum size of introduction image

  • keeyo
    Active member
  • Topic Author
  • Member
  • Member
More
2 years 10 months ago #48833 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

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 years 10 months ago #48834 by milos
Hello,

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.

  • keeyo
    Active member
  • Topic Author
  • Member
  • Member
More
2 years 10 months ago #48838 by keeyo
Hi Milos,

Thank you very much!
It works perfectly as what I wanted :-)

Bests

K

Please Log in to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum