1

I was wondering why the navigation menu in team sites looks different on different pages/sub-sites.

To give you an example:

How it should look site-wide: It seems that this menu is only appearing on https://*.*******.*/_layouts/15/settings.aspx

enter image description here

How the main page appears:

enter image description here

Is there any way I could fix this so that the menu in the first image is displayed site-wide? The menu in the first image is only view-able in some sub-sites but not the main page for example.

Also is it possible to remove the 'National Statistics Office' (site name) from the navigation bar?

Code in seattle masterpage (html)

<style type="text/css"> .ms-core-listMenu-horizontalBox li.static > a{ display: none !important; } .ms-core-listMenu-horizontalBox li.static > ul a{ display: block !important; } .menu-item-text { display: none; } .additional-background ms-navedit-flyoutArrow { display: none; } </style>

enter image description here

Brian
  • 1,951
  • 16
  • 56
  • 101

1 Answers1

0

You can inherit the top level navigation from the parent site if you go to site settings > Navigation > Global Navigation: use navigation items from parent site (first option, badly translated from my mother language) :)

To hide the site title, yes this is possible but through using css. Use your browser developer tools (F12), try to find a class or an identifier and hide it through css in your master page. It should look something like this:

<style type="text/css">
.ms-core-listMenu-horizontalBox li.static > a{
display: none !important;
}
.ms-core-listMenu-horizontalBox li.static > ul a{
display: block !important;
}
</style>
Verthosa
  • 1,671
  • 1
  • 15
  • 37
  • Unfortunately 'Use Navigation Items from parent site' is not clickable and whenever I try to modify the master page it prompts me to save it under another name. – Brian Apr 21 '16 at 07:49
  • You are logged in as administrator? – Verthosa Apr 21 '16 at 08:32
  • Yes, I am a site owner and have full rights on the portal. – Brian Apr 21 '16 at 08:53
  • I have modified the master page (html) and included the following `` but the National Statistics Office is still appearing. – Brian Apr 21 '16 at 09:17
  • Just have a look with the developer tools of your browser (f12) and click the link you want to hide. Use that ID to hide it with css or jquery. The example i gave is possible to not be the same as your ids/classes – Verthosa Apr 22 '16 at 06:46