What is recommended width and hight for service portal homepage search container

ritaaudi
Tera Contributor

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!

8 REPLIES 8

mattcarter
Kilo Expert

Hi Rita,



By default there is no fixed width/height. The container will expand to fit whatever widgets/elements you place within it. If you wish, you can change the background style to Contain within the Container properties of the Page Designer, which will shrink or stretch the image so that it fits within the container.



Cheers,


Matt


Hi Matt: Would you know the css for that so it stretches or shrinks the image without cropping it, because my image's height got cropped. Thank you again.


Hey Rita,



Setting the property background-size to 100% 100% should do the trick.



Matt


Hmm. Didn't seem to do the trick. Here's what I have for the page:


find_real_file.png


and for the container:


find_real_file.png


Image still getting cropped from top. Any ideas?


Thank you!