The CreatorCon Call for Content is officially open! Get started here.

Add portal title into Navbar in Service Portal Helsinki

edhefford
Kilo Expert

Hi, I'm looking to add a site title next to our logo within the ServicePortal, using Helsinki version.

Screen Shot 2016-08-19 at 10.26.54 AM.png

Any ideas would be most appreciated.

Thanks

Ed

6 REPLIES 6

scottl
Kilo Sage

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}}


salu
Mega Guru

edhefford



Hello Ed,


Did you get any other solution for this



Thanks


Saranya


Hello Ed,


I have created the an image and combined it with title.It serve my purpose.



Thanks


Saranya


Bryan13
Tera Expert

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>