- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 02:41 AM
Hello,
On our employee center homepage, we are trying to apply a background image to the employee search so it looks like this:
However, it appears the only way of applying a background image is to apply it to the entire container:
Is there a way of achieving this?
Thanks in advance 🙂
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 10:21 AM
@MichaelCreatura , I'm not sure but OOTB u cannot achieve what ur requirement for ESC portal. Do inspect to figure out the required CSS for set the img in right position write "paddings"and "positioning" on ur css.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 10:37 AM
Hello @MichaelCreatura ,
This is possible in SP portal using "contain" option in background styling.
But in ESC "contain" option will give u this result:
@MichaelCreatura , Please mark my answer as accepted solution and helpful. If it is works for u.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 10:48 AM
Thanks, @Community Alums but when I do this it looks like the below:
What dimensions does the image need to be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 10:55 AM - edited 03-17-2023 11:01 AM
@MichaelCreatura , means it is working for u.
use 1440 × 670 px (sp) or 2000 × 250 px (esc) dimensions for image. (pls try both)
@MichaelCreatura , Please mark my answer as accepted solution and helpful. If it is works for u.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 05:45 AM
I've managed to achieve the below:
By adding the below:
But now I can't get the search bar and title to sit ontop of the background image!