Hey,
i included ma own font with this css. How can i adress this font to the main menu and the body text as well?
Thanks for any help
@font-face {
font-family: ‘Gill Sans MT’;
src: url(‘fonts/Gill Sans MT.ttf’);
src: url(‘fonts/Gill Sans MT.ttf#iefix’) format(’embedded-opentype’),
url(‘fonts/Gill Sans MT.ttf’) format(‘woff’),
url(‘fonts/Gill Sans MT.ttf’) format(‘truetype’),
url(‘fonts/Gill Sans MT.ttf#bodonixtregular’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
h1 {
font-family: ‘Gill Sans’;
font-size: 22px;
font-style: normal;
font-variant: normal;
font-weight: 400;
line-height: 16px;
}
Hey dondela,
Try adding the following to quick css:
#header_main_alternate.container_wrap{
font-family: ‘Gill Sans’;
}
.template-page.content{
font-family: ‘Gill Sans’;
}
Best regards,
Jordan Shannon
Thanks for that tip. I tried
#header_main_alternate.container_wrap{
font-family: ‘Gill Sans MT’;
}
But this doesn´t work. I uploaded the font “Gill Sans MT.ttf” in the folder “fonts” of the child template. Is this the right font format? i am not sure…
Hi,
To add your own fonts please check this link https://kriesi.at/support/topic/own-custom-font/#post-733898
Adding the font family to the “p” tag should work for menu items unless you have another font specified for it. In that case please add the below CSS
.menu-item .avia-menu-text {
font-family: 'YOUR-FONT-NAME'!important;
font-size: 18px;
}
Best regards,
Vinay
Thanks for your help, great support1
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Vinay