- This topic has 8 replies, 2 voices, and was last updated 7 years, 2 months ago by Pratik.
-
AuthorPosts
-
February 10, 2017 at 8:05 pm #109346noscollectionsParticipant
Hello,
I need Font “A” for my menu and font “B” for the other texts
If I change defaut Police I change all the site font.
Could I change only text menu font ?Thank’s for your help
February 11, 2017 at 9:40 am #109402PratikKeymasterHi @noscollections,
Yes you can do that. But I will need your site url and font names. Please provide me those and I will help you further.
Regards,
PratikFebruary 13, 2017 at 1:51 pm #109552noscollectionsParticipantHello,
Thanks for your help, here the info :
http://www.safran-structil.com/
“Oswald”, sans-serif
that could be good to have the possibility to change in “Fonts option”
Best regards
February 13, 2017 at 2:57 pm #109560PratikKeymasterHi @noscollections,
I checked your site and the menus are taking Oswald font. Am I missing something?
February 13, 2017 at 3:20 pm #109561noscollectionsParticipantHi Pratik,
I Have put the site defaut font in oswald but I need the site in sans serif arialI change the defaut font in arial. Sorry
Now, I “only” need to change the menu font. And it will be perfect
February 13, 2017 at 5:00 pm #109563PratikKeymasterHi @noscollections,
Try Following code in Appearance=> Customize=> Additional CSS:
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: local('Oswald Regular'), local('Oswald-Regular'), url(https://fonts.gstatic.com/s/oswald/v12/DgBpgaYycijFA8v2hNt7MfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } #access { font-family: 'Oswald', sans-serif; }
Let me know how it goes.
Regards,
PratikFebruary 13, 2017 at 9:33 pm #109590noscollectionsParticipantHi, it’s me again 🙁
it doesn’t work.
Defaut Font is “sans serif arial”
My Additional CSS:
#hgroup-wrap, #hgroup, { padding: 0; } .site { width: 100%; margin-top: 0px; } @font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: local('Oswald Regular'), local('Oswald-Regular'), url(https://fonts.gstatic.com/s/oswald/v12/DgBpgaYycijFA8v2hNt7MfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } #access { font-family: 'Oswald', sans-serif; }
In dev module of firefox, it told me : Arial system for menu item
If I change defaut font of the theme by Oswald,
All the site are change and firefox told me in police inpector of the item :
Oswald regular distance
with the same code you write :@font-face {….}except : http://fonts.gstatic.com/s/oswald/v12/pEobIV_lL25TKBpqVI_a2w.woff2)
I have test it, but without succes 🙁
any idea ?
February 14, 2017 at 1:14 pm #109645noscollectionsParticipantHi,
The night is good advice, I found the problem
le font was not load, so I ask google another code and this one is good for me :
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: local('Oswald Regular'), local('Oswald-Regular'), url(http://fonts.gstatic.com/s/oswald/v12/pEobIV_lL25TKBpqVI_a2w.woff2) format('woff2'); } #access { font-family: 'Oswald', sans-serif; }
Thanks Pratik for your help
February 14, 2017 at 4:33 pm #109670PratikKeymasterHi @noscollection,
Thank you for solving the issue further and posting the answer.
Regards,
Pratik -
AuthorPosts
- The topic ‘Font menu and font content’ is closed to new replies.