Re-size catalog item image shown on catalog item page

Chris McClement
Kilo Contributor

Anyone know where I can re-size the image displayed on the catalog item page itself? It seems to default to a standard size and I can't find anywhere in the catalog item widget CSS to set a size property. I do not want to have to re-size each image individually (as we have over 600 catalog items!)

find_real_file.png

1 ACCEPTED SOLUTION

RaghavSh
Kilo Patron

Follow Below:

1. ctrl+right click and open "instance in page editor"

find_real_file.png

2. Add below code to CSS (adjust height accrodingly)

.img-responsive
{
height:50px;

}

find_real_file.png


Raghav
MVP 2023

View solution in original post

4 REPLIES 4

RaghavSh
Kilo Patron

Follow Below:

1. ctrl+right click and open "instance in page editor"

find_real_file.png

2. Add below code to CSS (adjust height accrodingly)

.img-responsive
{
height:50px;

}

find_real_file.png


Raghav
MVP 2023

Mohammad Danis1
Giga Guru

Hi Chris,

As rightly suggested above you can add below code in the CSS after opening instance in page editor .

I personally would prefer this option. Because then you don't need to clone the widget, you'r not passing out on updates on the widget, etc..

.img-responsive{
height:80px; 
}

 

Kind Regards,
Mohammad Danish

Chris McClement
Kilo Contributor

Thanks both! This has worked perfectly.

Tanwir Singh
Tera Contributor

Hi,

This is only works on resizing the picture on portal. Is it possible to do the same in Service Catalog?

 

Please help!