Service Portal - Image link - Changing image on hover

sonishka
Kilo Contributor

Hello!

I'm new to ServiceNow and Service Portal and experiencing some trouble with image links. Some help would be much appreciated! 🙂

I have created those image links and I would like to get different pictures when hover on the links.

find_real_file.png

I guess that I could upload my "hover picture" in ServiceNow and change my widget instance CSS like this:

.image-container:hover {
    background: url("myhoverimage.png");
}

However, I don't know where I can upload this image and if I'm on the right track! 🙂

Any idea?

Thanks a lot for your help. 🙂

 

4 REPLIES 4

Upender Kumar
Mega Sage

Hi,

You have upload image in System UI-->Images

 

find_real_file.png

 

 

Thanks

Please Hit Correct, ️Helpful depending on the impact of the response

sonishka
Kilo Contributor

Thanks for your help. I could upload my image, however, I still need to make some adjustments on image size. 

I'm not sure it's the "best" way to do this...

sukku
Tera Contributor

Hi Sonishka,

I have a similar kind of requirement in portal. When we mouse hover on knowledge widget another image should be displayed.

I have cloned out of box widget icon link widget and tried img class in html and css but no luck.

Could you please tell me how you have achieved this.

 

Thanks and Regards,