-
AuthorPosts
-
July 17, 2017 at 10:44 pm #822980
Hi, I would like to use the font LEMON MILK only for the menu of the website to match the Logo. Is that possible?
Thanks a lot, CarolinJuly 19, 2017 at 5:17 am #823648Hey phamosa,
It should be possible yes, did you import the font using CSS? https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
Best regards,
RikardJuly 19, 2017 at 12:05 pm #823896Thanks Rikard!
I added this to the custom.css and uploaded the three otf files to the URL indicated (/httpdocs/wp-content/themes/enfold/css/fonts) (I created a new folder called “fonts”
@font-face {
font-family: LemonMilk;
src: /httpdocs/wp-content/themes/enfold/css/fonts(LemonMilk.otf);
src: /httpdocs/wp-content/themes/enfold/css/fonts(LemonMilkbold.otf);
src: /httpdocs/wp-content/themes/enfold/css/fonts(LemonMilklight.otf);
}Is that correct?
Thanks for your help!
July 19, 2017 at 2:14 pm #823962Hi phamosa,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaJuly 19, 2017 at 4:15 pm #824048Yes, of course. I would only like to know if I can
July 19, 2017 at 4:25 pm #824051Hi,
Could you please switch user role to Administrator? :)
Also, we may need FTP logins as well. If you do not mind, please post it in private content fieldBest regards,
YigitJuly 19, 2017 at 4:29 pm #824056Now you’re the admin :)
Please let me know what you do because I want to learn it ;)
July 19, 2017 at 4:44 pm #824061Hi!
I installed and activated child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/, turned your font to @font-face, uploaded them in /fonts folder on your child theme and added following code to Quick CSS field
.avia-menu-text { font-family: 'Lemon/Milk'; }
Please review your website :)
Best regards,
YigitJuly 19, 2017 at 5:20 pm #824074Hi Yigit,
thank you so much, you’re great!!!
One more question: what about updates of the Enfold theme – am I excluded from them when I use a child theme?Thanks
CarolinJuly 19, 2017 at 5:30 pm #824079Hi Carolin,
Now that you are using a child theme, you can update the theme without worrying about losing those changes. If you have made any other changes on theme files, please move them to your child theme as well otherwise they will be overwritten. If that is the case, these posts may help – http://kriesi.at/documentation/enfold/child-theme-translations/ and http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/ :)
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.