How does one style the loader on the Service Portal initial load?

cjke_7777
Kilo Explorer

When a Service Portal is initially loaded, it shows the following indicator:

find_real_file.png

Is there anyway to control or style this? And if not, can it simply be removed?

Also, is it possible to remove all the unneeded requests? For example, remove bootstrap from ever being loaded? 30 odd requests seems quite high if we're trying to keep the page quick and nimble (I understand some of the configuration data and files being needed).

6 REPLIES 6

Midhun1
Giga Guru

HI Chris,



In html body template you can change :



In html template you can use:


<ul class="nav navbar-nav">


  <div class="header-loader" ng-show="loadingIndicator">


      <div class="hidden-xs sp-loading-indicator la-sm">


          <div></div>




if you want to add custom spinner:



<ul class="nav navbar-nav">


  <div class="header-loader" ng-show="loadingIndicator">


      <div class="hidden-xs la-sm">


          <img src="portal-loading-spinner.svg" class="loading-spinner"/>


      </div>


  </div>


Where abouts is this?



I looked in portal->page, portal->theme and portal->widget.



Thanks


Midhun1
Giga Guru

Navigator->Service portal ->Portals and Open your portalPortalImage.png



In the main menu you have SP Header Menu widget.



Navigator -> Service Portal -> Widgets then open "SP Header Menu" widget in that



you need to update the code


amaradiswamy
Kilo Sage

Hi Chris,



How did you implement this?



Regards


Swamy