Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Making Portal page responsive

Yous1
Tera Contributor

Hi everyone, 
I have made a page in Service Portal but  it's not responsive .
When I switch the view on tablet or on phone , the look is very messy.

I  missed some thing important. It 'is not about the page but about the customized widget in that page.
Please help me to find a solution.
Thanks in advance for your help and your time!

4 REPLIES 4

Peter Bodelier
Giga Sage

Hi @Yous1,

 

Please take a look here: Responsive Pages | ServiceNow Developers

It will guide you on how to make the page responsive.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Thanks for your quickly reply and your help!

I missed something , it's ok about the page. But the problem is with the widget inside this page.
I have some customized widget and they are not responsive!
Do you have  any  idea/guide about this?
Thank you!

Hi @Yous1,

 

You can define how a widget should react by using the same kind of logic, as what is explained in the reference.

 

For example you can use this in your widget HTML:

<th class="hidden-xs">
or
<th class="visible-md visible-lg">

Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Thanks for your reply!
Ok I will try to use class in CSS.

I will let you know!