0

In the this link the author recommends this 3 lines of code below be added, but I do not understand why as similiar code is found in the CSS seen at the top of the page in the link.

Can someone tell me what is occuring with the 3 lines of code below? The code works great, but I want to understand it.

Add this to the bottom of the CSS before closing the style tag.

.ms-tileview-tile-content img {
    width:100px!important;
    height:100px!important;
} 
  • 1
    If you want to get smaller tiles, then yes. Otherwise for standard size I use background images 150px width and 150px height – Patrick Jan 14 '16 at 7:20
1

As @Patrick says, the code above is only for overriding SharePoints classes for setting the size of the background image in promoted links and is only necessary to use when you change the size of the links themselfs (by using more css as per the linked question)

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.