- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 06:21 AM
Hi All,
I am using custom homepage search widget cloning from OOB homepage search widget.
How to add background image for this particular widget.
Thanks in advance!!
Thanks & Regards,
Bubuprasad
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 06:24 AM
You could put a div tag around with a class that defines the background image.
<div class="myBackground">
// The rest of the HTML for the widget
</div>
CSS:
.myBackground {
background-image : url("location_of_my_image");
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 06:24 AM
You could put a div tag around with a class that defines the background image.
<div class="myBackground">
// The rest of the HTML for the widget
</div>
CSS:
.myBackground {
background-image : url("location_of_my_image");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 06:24 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 06:28 AM
I always like the "no code" approach better!
There's always something new to learn on the platform and that's why I love this community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 06:33 AM
Haha,
Service Now community is the best community ever