How to add a background image to a container in UI Builder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 11:03 AM
I am creating landing pages to use in San Diego for our users and would like to add our company's background image to the landing page. However, I'm new to UI Builder and CSS and can't figure out how it's done. The image is already stored in ServiceNow (System UI > Images) and I copied the URL to use in the CSS, but it isn't working. I googled examples of using a background image in CSS and looked at how the OOB Landing page background image is created in CSS, but I still can't figure it out.
Using an OOB image in System UI > Images, this is what I ended up with:
* {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2022 10:08 AM
Hi
please follow the instructions on https://developer.servicenow.com/dev.do#!/learn/courses/sandiego/app_store_learnv2_uibuilder_sandieg...
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 07:35 AM
Hi Maik,
Thanks for the link but it only answers part of my question. Since I'm creating new landing pages that means I'm using the OOB experience Unified Navigation App, which means I can't open the application in Studio and add an image. How can I take an existing image that is already stored in ServiceNow and use it in my landing page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2022 08:04 AM
This worked for me:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2022 08:05 AM
Next question - how do we make these images clickable? Seems very very basic.