-
AuthorPosts
-
December 7, 2016 at 9:03 pm #721713
Ahoy,
I tried adding this code to change the font family for the testimonial slider but it didn’t work.
.avia-testimonial-name { font-family: 'MuseoSans_500' !important; font-size: 20px !important; color: black !important; }
Any ideas on how to get that to work?
December 8, 2016 at 8:04 am #721858Hey mcraig77,
It’s using Quicksand at the moment, how did you import the font you want to use?
Best regards,
RikardDecember 9, 2016 at 7:37 am #722336Ahoy,
Yes I know… I dont want quicksand.
this is the thread on how the font is imported
please advise
December 12, 2016 at 8:10 am #722998Hi!
Where did you add the fontface rule? The font file is not found.
http://77.104.162.96/~davekern/wp-content/uploads/dynamic_avia/77.104.162.9…n/wp-content/themes/enfold-child/fonts/WebFonts/MuseoSans_500-webfont.woff Failed to load resource: the server responded with a status of 404 (Not Found)
Please try a relative url.
@font-face { font-family: "MuseoSans_500"; src: url("/wp-content/themes/enfold-child/fonts/WebFonts/MuseoSans_500-webfont.woff"); }
or..
@font-face { font-family: "MuseoSans_500"; src: url("wp-content/themes/enfold-child/fonts/WebFonts/MuseoSans_500-webfont.woff"); }
Regards,
IsmaelDecember 12, 2016 at 8:43 pm #723353Ahoy I added this as the font face rule (private)
Does that not work? If I use that link the font downloads.
Let me know how to change that font, thanks!
December 14, 2016 at 8:13 pm #724495Hi,
try if this is working with a default WP theme, to make sure this is not theme related. Check out this tutorial: http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/
Best regards,
AndyDecember 15, 2016 at 5:55 am #724737Ahoy,
yes I don’t believe it is theme related the font was downloaded here. https://www.fontsquirrel.com/fonts/museo-sans
please advise
December 16, 2016 at 6:53 am #725184Hey!
Did you try our suggestion above regarding “relative” url?
@font-face { font-family: "MuseoSans_500"; src: url("/wp-content/themes/enfold-child/fonts/WebFonts/MuseoSans_500-webfont.woff"); }
Cheers!
IsmaelDecember 17, 2016 at 11:04 pm #725743Ahoy,
I went ahead and tried both of relativie urls to the following and added this code to change the testimonial name. Still nothing…
@font-face { font-family: "MuseoSans_500"; src: url("/wp-content/themes/enfold-child/fonts/WebFonts/MuseoSans_500-webfont.woff"); }
@font-face { font-family: "MuseoSans_500"; src: url("wp-content/themes/enfold-child/fonts/WebFonts/MuseoSans_500-webfont.woff"); }
.avia-testimonial-name { font-family: 'MuseoSans_500' !important; font-size: 20px !important; color: black !important; }
Please Advise
December 19, 2016 at 2:55 pm #726031Hi,
if this is not theme related, then we can’t really help you. Best to ask in general WordPress forum instead. So at first you need to make sure that using font face on your WP installation is working in general. If yes, then we can help you so it will work with Enfold, too.
So again: try using font face in a default WP theme. When it’s working fine for you, then come back to us.Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.