ServicePortal custom widget CSS Styles

Katie A
Mega Guru

Hello,

I am creating a modified version of the Popular Questions widget on the Service Portal login page (id = landing).

I have cloned the widget and will be making some modifications to the code.

However, after cloning the widget, I noticed that it did not carry over all of the CSS Styles.

The background is not transparent, as it is in the original version.

Where can I set this to match the original widget style?

Screen Shot 2016-11-16 at 5.14.52 PM.png

1 ACCEPTED SOLUTION

Katie A
Mega Guru

I answered my own question. There is another CSS file in Service Portal > Widget Instances.



I am guessing that CSS is specific to the particular widget instance rather than the widget itself. I copied the CSS from the original widget instance and it worked.


View solution in original post

3 REPLIES 3

Katie A
Mega Guru

I answered my own question. There is another CSS file in Service Portal > Widget Instances.



I am guessing that CSS is specific to the particular widget instance rather than the widget itself. I copied the CSS from the original widget instance and it worked.


Yasin7
Kilo Contributor

Hi  Katie,

Can u tell what code you have implemented to make the widget background has transparent.

Sure you can apply the background-color:transparent CSS style to the class.

.panel-default {
  background-color: transparent;
  }