How can we help you today?

How to Disable the Hover Behavior of Image List Items

By default, when you hover over Image List items, they will change color, signifying that they are clickable:


default hover


However, if you didn’t have links for your Image List items, this may not be an ideal behavior. This article will demonstrate how to disable the hover effect of Image List items using Custom CSS:


disable hover effect


TABLE OF CONTENTS


Prerequisites


Interactive Tutorial

Before starting the interactive tutorial, copy the code below:


.sp-type-image-list-item {
   pointer-events: none !important;
}



Step-by-step Tutorial

Follow the steps to learn how to disable the hover behavior of Image List items:


Step 1: Edit the ShortPoint Web Part

  • Go to the SharePoint page you want to use and click Edit:


Edit

  • Close the Toolbox:


close icon

  • Click the Edit properties icon:


Edit properties icon


Step 2: Copy the Code

  • Copy the Custom CSS code below:
.sp-type-image-list-item {
   pointer-events: none !important;
}

Step 3: Edit the Image List


NOTEBefore proceeding, make sure you already have an Image List on your page. If you don’t have it yet, check out How to Customize the Image List.

  • Click the Image List tag:


Image List tag


  • Select the cogwheel icon:


cogwheel icon


Step 4: Paste the code

  • Click the next icon:


next icon


  • Go to the Custom CSS tab.
  • Paste the code in the field provided.

Step 5: Save

  • Click the green check mark.
  • Click the eye icon to see your page in real-time:


eye icon


  • Save your changes:


Save


Congratulations! You have successfully removed the hover effect on Image List items:


no hove effect


You may also want to check:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 95 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more