- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2017 08:44 PM
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:
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:
Does anyone know why this is happening? How can I fix it? thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 06:37 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 06:45 AM
It looks like there is nothing inside it when you make the screen smaller because the search box that shows up with the smaller screen is actually a different search element. I think what you'd want to do is find the class that's causing the larger search box to be hidden and remove it, then get rid of the search box that shows up when the screen gets smaller.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 06:58 AM
hey Brad, you were right. although i didn't have hidden-xs in my parent class, when i opened up the code you see it in the first line of the html:
<div id="homepage-search" class="hidden-xs wrapper-xl">
<div class="wrapper-xl">
<h1 class="text-center text-4x m-b-lg sp-tagline-color" ng-bind="options.title"></h1>
<h4 ng-if="options.short_description" class="text-center m-b-lg sp-tagline-color" ng-bind="options.short_description"></h4>
<sp-widget widget="data.typeAheadSearch" />
</div>
</div>
once i deleted that, it works! thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 11:22 PM
Hi Brad,
When we use "hidden-xs" css class it hides the element from both mobile and tablet view. I wanted to know how to hide an image for mobile view and not for tablet view. Please help me on this.
Regards,
Gope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 05:49 PM
I removed the visible-xs from parent class and the container in the page has gone missing. how do i get this back?