SharePoint 2013 - Global (Top) Navegação - Título da página Listado como 'Home', mas exibindo o nome do subsite

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

  •  10-12-2019
  •  | 
  •  

Pergunta

Espero que alguém possa ajudar a responder isso.

título da página é o lar e eu quero que o primeiro item Nav Top seja 'Home'

Se eu alterar o título subsite - então ele altera o título no Top NAV na página inicial para 'Home' - que eu não quero.

Espero que isso seja claro.Alguém pode ajudar?

Digite a descrição da imagem aqui

Foi útil?

Solução

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

Outras dicas

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 em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top