Inhalte aufrufen

Profilbild

Font in navigation bar

font navigation bar

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 encoremedia

encoremedia

    Newbie

  • Members
  • Punkt
  • 6 Beiträge

Geschrieben: 20 July 2015 - 18:44

Hello,

 

I need help with the font size in the navigation bar, how to increase the font in the navigation bar?

 

I tried to add a font-size in C: \inetpub\wwwroot\Content\Bootstrap\navbar.less

 

 

// Links
.navbar .nav > li > a {
  float: none;
  // Vertically center the text given @navbarHeight
  padding: ((@navbarHeight - @baseLineHeight) / 2) 25px ((@navbarHeight - @baseLineHeight) / 2) 25px;
  color: @navbarLinkColor;
  font-size: 16px;
  text-decoration: none;
  text-shadow: 0 1px 0 @navbarBackgroundHighlight;
}
.navbar .nav .dropdown-toggle .caret {
  margin-top: 8px;
}

 

but the font size is not increased.

 

 

thx fot help:)

Angehängte Bilder

  • Angehängte Datei  nav.PNG   94.66K   0 Anzahl Downloads


#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 20 July 2015 - 19:09

Open \SmartStore.Web\Content\bootstrap\custom\navbar.less and search for ".navbar .nav > li > a".
It already has a font-size css which you can change to increase the size.

Marcus Gesing

Smartstore AG


#3 encoremedia

encoremedia

    Newbie

  • Members
  • Punkt
  • 6 Beiträge

Geschrieben: 20 July 2015 - 21:32

Ok, thanks for help.