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.

Service Portal container disappears when shrinking screen size

yundlu316
Kilo Guru

I have a container in a Service Portal page that holds the Search widget only.   I also uploaded an image and set it as the background for that same container.   Everything looks fine on a laptop screen, except for a weird grey strip at the bottom of the screen...as if the content isn't tall enough:

find_real_file.png

On a related issue, when I shrink the screen size to see how it looks, the container with the background image and search widget completely disappears:

find_real_file.png

Does anyone know why this is happening?   How can I fix it?   thanks!

1 ACCEPTED SOLUTION

Hi David,



I think the culprit is the Parent class = hidden-xs on that container. What that does in bootstrap is when the widget get's below ~768px the element is hidden. It's a way to keep the page responsive, so I would be careful removing it, but you should be able to remove that Parent class and have the container no longer disappear.



Screen Shot 2017-01-26 at 8.37.04 AM.png


View solution in original post

8 REPLIES 8

Gurpreet07
Mega Sage

Hi David,



uncheck move to header for this container.


Hi Gupreet, that box is currently unchecked.   Thanks.


Hi David,



I think the culprit is the Parent class = hidden-xs on that container. What that does in bootstrap is when the widget get's below ~768px the element is hidden. It's a way to keep the page responsive, so I would be careful removing it, but you should be able to remove that Parent class and have the container no longer disappear.



Screen Shot 2017-01-26 at 8.37.04 AM.png


Hi Brad, my parent class is actually empty as well.   haha not sure what's going on here, thanks!