Local Font For Navigation (Menu) - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Local Font For Navigation (Menu)

GS

Gerald Schaaf

Helix Framework 3 years ago

As many others in the EU, I should not use google fonts directly. So I downloaded the fonts to my local installation. Generated /templates/shaper_helixultimate/css/custom.css

/ viga-regular - latin / @font-face { font-family: 'Viga'; font-style: normal; font-weight: 400; src: local(''), url('../fonts/viga-v14-latin-regular.woff2') format('woff2'), / Super Modern Browsers / url('../fonts/viga-v14-latin-regular.woff') format('woff'), / Modern Browsers /
}

Tried to call it with nav (font-family: 'Viga';)

But acctualy I don't have any clue how to change the navigation font the right way.

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #82839

about class name, for menu you have to use

#sp-menu .sp-megamenu-parent > li,
#sp-menu .sp-megamenu-parent > li > a  { font-family: 'Viga'; }
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #82837

Hi Gerald ,

You should start with reading my guide: https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3/google-fonts-and-dsgvo

watch also video that is at the bottom of that guide.

0
GS
Gerald Schaaf
Accepted Answer
3 years ago #82926

Thx Frank!

I was not shure about the class! Now everthing work fine! THX :)

0
GS
Gerald Schaaf
Accepted Answer
3 years ago #82927

Not only in Germany - now also in Austira ;(

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #82930

Also Austria court cases?

Good to know.

0