Inhalte aufrufen

Profilbild

Font in navigation bar

font navigation bar

2 Antworten zu diesem Thema

#1 encoremedia

encoremedia

    Newbie

  • Members
  • 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

  • nav.PNG


#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3034 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.

Schöne Grüße aus Düsseldorf,
Marcus Gesing


#3 encoremedia

encoremedia

    Newbie

  • Members
  • 6 Beiträge

Geschrieben: 20 July 2015 - 21:32

Ok, thanks for help.





Auf dieses Thema antworten