SharePoint 2013 - Global (Top) Navigation - Título de la página que figura como 'Inicio' pero mostrando Nombre de Subsite

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/95047

  •  10-12-2019
  •  | 
  •  

Pregunta

Espero que alguien pueda ayudar a responder esto.

El título de la página está en casa y quiero que el primer elemento de NAV superior esté 'Inicio'

Si cambio el título subsitativo, entonces cambia el título en la NAV superior en la página de inicio a 'Inicio', lo que no quiero.

Espero que esto sea claro.¿Alguien puede ayudar?

ingrese la descripción de la imagen aquí

¿Fue útil?

Solución

I found the answer here: http://bemusedbi.blogspot.com/2013/04/hiding-home-link-in-sharepoint-2013-top.html

/* deletes the top nav left side 'Home' button do not delete*/

.ms-core-listMenu-horizontalBox li.static > a{ display: none !important; }

.ms-core-listMenu-horizontalBox li.static > ul a{ display: block !important; }

Otros consejos

You can achieve this by using CSS ':after' selector and 'content' property.

#DeltaTopNavigation ul#zz10_RootAspMenu > li.static > a > span > span:after {
  content: "Home";
  font-family: inherit;
  font-size: 14px;
}
#DeltaTopNavigation ul#zz10_RootAspMenu > li.static > a > span > span {
  font-size: 0;
}

enter image description here

In the above image, you can see the highlighted text is "Lorem Ipsum Dolar" which we make it font-size: 0 and add content property "Home" to it's parent span tag. You may have to adjust the CSS 'ul#zz10_RootAspMenu' to your id (use Firebug/IE tools to select elements and view hierarchy).

Licenciado bajo: CC-BY-SA con atribución
scroll top