What is recommended width and hight for service portal homepage search container
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 05:32 PM
Hi: Anyone know what is the recommended width and hight for service portal homepage search container? The hight of the image I uploaded is getting chopped off.
Thank you!
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 09:06 PM
Hi Rita,
I'd add a class to the page specific CSS;
.stretch-bg {
background-size: 100% 100% !important;
}
Then on the container, set the parent class to stretch-bg
Cheers,
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2020 12:53 PM
This worked for me! Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 09:12 PM
Hi Rita,
Please check if this helps:
background-image: url(http://lorempixel.com/1400/1400/sports/3/);
background-repeat: no-repeat;
background-size: 100vw 100vh;
background-attachment: fixed;
height: 40em;
margin-top: 0;
padding: 0;
Reference: html - How do I get my background image to not be cut off at the bottom? - Stack Overflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 05:59 AM
Thank you; you have both been helpful. Do you know if there is a recommended standard width and height to begin with so the images don't stretch or shrink? Best regards, Rita