- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 11:42 AM - edited 11-16-2022 11:46 AM
Hi,
I'm struggling with setting the height of the service portal banner image - the one that usually contains the welcome message and the global search. As of now, we don't want to show the search bar - it should just be the image, with no widget or text inside. Frustratingly, it seems like the banner image scales with it's content, and has a height of 0 if there's no content inside. Adding empty containers doesn't help.
I have gotten this to work by creating a custom css class (and setting the height attribute of that class to 300px), attaching this to the service portal theme, and setting the CSS class of the banner image to said class - but there must be an easier solution that I'm just not seeing?
Thanks for your help,
Max
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 12:59 PM - edited 11-16-2022 01:00 PM
I would do it (and have done it) the exact same way! 🙂
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 12:59 PM - edited 11-16-2022 01:00 PM
I would do it (and have done it) the exact same way! 🙂
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 11:41 PM
Thanks for your reply! I guess I expected it to be easier, but this seems to be the way to go!