Add portal title into Navbar in Service Portal Helsinki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 05:28 PM
Hi, I'm looking to add a site title next to our logo within the ServicePortal, using Helsinki version.
Any ideas would be most appreciated.
Thanks
Ed
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 06:49 PM
You could try to add it dynamically with angular. Either way if you want to edit it, you'll have to "copy" and use your own header in your theme. I opted to rebuilt the header with a new header widget as the default ServiceNow Header widget is too restrictive.
This link will help if you decide to rebuilt it. As there are media issues that will need to be overcome.
html - Exclude menu item from the collapse of bootstrap 3 navbar - Stack Overflow
Also I the variable for displaying the portal title is...
{{::portal.title}}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 10:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2016 12:35 AM
Hello Ed,
I have created the an image and combined it with title.It serve my purpose.
Thanks
Saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2017 12:08 PM
I cloned the Stock Header and edited to add text:
<a class="navbar-brand navbar-brand-logo" ng-if="::portal.logo" href="?id={{::portal.homepage_dv}}">
<img ng-src="{{::portal.logo}}" />
</a>
<p class="navbar-text">Your Text Goes Here</p>