-
AuthorPosts
-
April 11, 2017 at 6:13 pm #776229
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;
}April 11, 2017 at 6:26 pm #776238Hey 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 ShannonApril 11, 2017 at 7:32 pm #776269Thanks 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…
April 11, 2017 at 10:08 pm #776342Hi,
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,
VinayApril 12, 2017 at 8:22 am #776519Thanks for your help, great support1
April 12, 2017 at 8:39 am #776532Hi,
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 -
AuthorPosts
- The topic ‘Self hosted font for menu’ is closed to new replies.
