How to remove black background in image button on NF O365

  • 16 August 2017
  • 2 replies
  • 1 view

Badge +7

Hi Everyone,

How to remove the black background in the image button because when we are in the on-prem version this image has no black background and it is a PNG file. But when I create a image button on O365 it has black background even if the image doesn't have.


2 replies

Badge +9

Did you ever find a solution? I'm having the same problem. I think it may be due to the way SharePoint stores the image. Not sure though.

Badge +6

Hi,

basically any button on NF365 inherits from a CSS class where the background-color is set.

On your button, add a css class, and just put "background:none !important;", like : 

.ReloadButton{
width:23px;
background:none !important;
height:23px;

}

and you're done!

Cheers

Reply