How can we help you today?

How to Prevent Images Cropping on ShortPoint Tiles Design Element (SharePoint 2016 and SharePoint 2013 On-Premise)

In this article we will show you how to prevent images cropping on ShortPoint Tiles Design Element.


Before:


After:


TABLE OF CONTENTS


This article is for you if:

  • You have ShortPoint installed on your SharePoint sites.
  • You are a ShortPoint user with an active license.
  • You use SharePoint 2016 or SharePoint 2013 On-Premise environment.


Notes:
1. If you use SharePoint 2019 or Office 365 environment, please check our solution article on How to Use Image Settings to Manage Image Cropping in ShortPoint Elements.
2. Image Cropping functionality is coming soon for SharePoint 2016 and SharePoint 2013. 


Prerequisite


You use ShortPoint Tiles Design Element with images as tile items' background.


Step 1: Open the ShortPoint Tiles' settings


Edit your page.


Click the cogwheel icon to open the settings of the Tiles Design Element.



The Settings tab will appear.



Step 2: Copy the custom CSS code


Here is the custom CSS code you will need to use for preventing images cropping on Tiles:

.shortpoint-tile-bg-image {
background-size: contain;
background-repeat: no-repeat;
background-position: 50% 50%;
}

Please copy it.


Step 3: Update Tiles with code


Switch to the Custom CSS tab:




Paste the copied code to the Custom CSS field:



You may check how it will look like on your page by clicking the Preview button:   



Then, click Update and save the page.  



Result


That's it. This is how it may look like on your page: 



Related articles:


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