0

I need to create a section on a page that is similar to the standard tile feature that SharePoint comes with

enter image description here

I was thinking of creating a new list with columns for Title, href link, background image

How do I then craete this? I need to pull the data from the list such as the background image and show it as a tile on the page.

Does anyone have an idea on how to acheive this?

Thanks

FYI - I'm knowledgeable in html and a bit of javascript but not at all in Sharepoint

I'm using Sharepoint online

Thanks again

2

No need to develop something on your own. The templates with tiles is available so you can create your own list. It's called Promoted Links and are available when you create a new list.

If you can't find it, make sure that the Team Collaboration Lists feature is enabled.

EDIT

Managed to get what i think you want. Remember that a default tile size is 150x150px so your images should be in the same size. I've disabled the effect, and pushed the title linke below the box.

<style type="text/css">
.ms-tileview-tile-root {
    height: 170px !important;
}
.ms-tileview-tile-content {
    height: 190px !important;
}
.ms-tileview-tile-detailsBox {
    height: 50px !important;
    background-color: white;
    top: 140px !important;
}
.ms-tileview-tile-detailsListMedium {
    height: 170px;
}
.ms-tileview-tile-titleMedium {
    color:#000;
    font-size: 1em;
}
.ms-tileview-tile-titleMediumCollapsed {
    height: 0px;
}
</style>

Will give you this result:

enter image description here

  • Is there a way to change the background of the tile to a jpg, and instead of the text appearing on the tile, just have it appear below? To confirm - each tile will have a different jpeg – ChrisBull Mar 17 '17 at 12:08
  • Well, yes.. The promoted links accepts both jpg and png, but the benfit is that a png background is transparent. You mean show the title below the actual tile? – Christoffer Mar 17 '17 at 12:10
  • Yeah so I just want the picture and then a title under it, no special effects or anything, and then you can click either to go to a page – ChrisBull Mar 17 '17 at 12:14
  • You would need to a lot of custom CSS, if you just want pictures on a row with links below it, you should be able to insert a HTML table when editing the page, add your images and add a link to each picture, as well as a text link below it. Then you can change the style for the table to none to hide the borders. – Christoffer Mar 17 '17 at 12:18
  • 1
    @ChrisBull See my updated answer. No jQuery needed. :) – Christoffer Mar 17 '17 at 13:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.