How can we help you today?

How to Change the Tiles Background Color to Grayscale

By default, when you add images as background for the Tiles Design Element, it will retain its original color:


original color


This article will demonstrate how to turn it into grayscale. And as an added effect, when you hover over a Tile, you will see its original color:


grayscale


TABLE OF CONTENTS


Prerequisites


Interactive Tutorial

Copy the code below before starting the tutorial:


.shortpoint-tile-bg {
filter: grayscale(1);
transition:filter 500ms
}
.shortpoint-tile:hover .shortpoint-tile-bg{
filter: grayscale(0);
}



NOTES:
[1] This Custom CSS works best with the following styles: Flat, Sarah, Bordered. You can change the style in the Design tab, under the Style drop-down.

style dropdown

[2] Make sure that the Color Transparency is set to 0. Otherwise, the Custom CSS will not take effect.  color transparency

Step-by-step Tutorial

Follow the detailed steps below to learn how to turn your Tiles into grayscale:


Step 1: Edit the ShortPoint web part

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


Edit

  • Click the close icon to exit the Toolbox:


Close icon


  • Click the ShortPoint tag.
  • Select the Edit Properties icon:


Edit properties icon


Step 2: Copy the Code

  • Copy the Custom CSS below:
.shortpoint-tile-bg {
filter: grayscale(1);
transition:filter 500ms
}
.shortpoint-tile:hover .shortpoint-tile-bg{
filter: grayscale(0);
}

Step 3: Edit the Tiles Design Element

NOTES:
[1] Before proceeding, make sure you already have the Tiles Design Element on your page. To learn how to add it, check out How to Customize the Tiles Design Element. 

Tiles Design Element

[2] This Custom CSS works best with the following styles: Flat, Sarah, Bordered. You can change the style in the Design tab, under the Style drop-down.  style dropdown

[3] Make sure that the Color Transparency is set to 0. Otherwise, the Custom CSS will not take effect.  color transparency

  • Click the Tiles tag:


Tiles tag

  • Select the cogwheel icon:


cogwheel icon


Step 4: Paste the code

  • Click the next icon:

next icon


  • Navigate to Custom CSS tab.
  • Paste the code.

Step 5: Save

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


eye icon

  • Click Save to apply all your changes:


Save


That’s it! You now have a beautiful grayscale Tiles Design Element.

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 59 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