-
AuthorPosts
-
May 20, 2017 at 4:48 am #796906
Is it possible to change the font of the headline rotator to a font that I downloaded? If so, how?
- This topic was modified 7 years, 7 months ago by natemoss.
May 20, 2017 at 12:38 pm #796971Hey Nate,
I think that should be possible yes, did you import the font you downloaded with CSS? If not then please do so and post a link to your site so that we can have a closer look.
Best regards,
RikardMay 21, 2017 at 4:30 pm #797210Okay I imported it here: public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts
Then I went to general styling and added:
@font-face {
font-family: SLIM JOE.otf;
src: url(public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/SLIM JOE.otf);
}
div {
font-family: SLIM JOE.otf;
}
The link is hereMay 21, 2017 at 4:31 pm #797211I don’t know what to do from here
May 22, 2017 at 5:08 am #797371Hi,
Thanks for the feedback, could you try following this maybe? http://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/
Then you could try CSS like this in Quick CSS:
.av-rotator-text span { font-family:'your-font'; }
Best regards,
RikardMay 23, 2017 at 12:47 am #797997Okay, I changed the file name to “SLIMJOE.otf” I thought maybe the space between the two words was causing an issue, didn’t help.
My code consists of:
@font-face {
font-family: SLIMJOE;
src: url(public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/SLIMJOE.OTF);
font-weight: normal;
}.av-rotator-text span {
font-family:’SLIMJOE’;
}Still does not work
May 23, 2017 at 7:17 am #798083Hi,
Could you try to use the full URL for the font? Make sure that it’s working, the one you are using now is not.
Best regards,
RikardMay 23, 2017 at 10:39 pm #798543Okay this is what I have now
May 23, 2017 at 11:02 pm #798555Hi,
There is no font there:
http://lifteatrepeat.co/public_html/wp-content/content/Fonts/SlimJoe.woff2It returns an error
Best regards,
BasilisMay 24, 2017 at 5:50 pm #799047Yeah there was an error with my url. I forgot to take out “public_html”
this is the link now which is correct. Even with the corrected link it still does not work
http://lifteatrepeat.co/wp-content/content/Fonts/SlimJoe.woff2May 24, 2017 at 9:41 pm #799194Hi,
Can you give us temporary admin and ftp access? so we can check further with the issue :)
Best regards,
NikkoMay 25, 2017 at 6:10 pm #799690Yeah for sure.
If you go to pages, there’s a page I made called “test page” feel free to mess around or change anything there. I made it just to troubleshoot the headline rotator so do whatever is needed with it.May 25, 2017 at 10:06 pm #799839Hi,
I tried to access your site, but I’m redirected showing the site is for sale. Screenshot in private content.
Best regards,
NikkoMay 26, 2017 at 1:06 am #799910OMG i’m sorry lol its lifteatrepeat.co
I added the .com out of habit my bad
May 26, 2017 at 1:07 am #799911I’ll be buying it eventually lol
May 26, 2017 at 9:03 pm #800363Hi,
No worries, I have replaced the @font-face css code with this one:
@font-face { font-family: 'SlimJoe'; src: url('https://domain.co/wp-content/content/Fonts/SlimJoe.eot'); src: url('https://domain.co/wp-content/content/Fonts/SlimJoe.eot?#iefix') format('embedded-opentype'), url('https://domain.co/wp-content/content/Fonts/SlimJoe.woff2') format('woff2'), url('https://domain.co/wp-content/content/Fonts/SlimJoe.woff') format('woff'), url('https://domain.co/wp-content/content/Fonts/SlimJoe.ttf') format('truetype'), url('https://domain.co/wp-content/content/Fonts/SlimJoe.svg#slimjoe') format('svg'); } span.av-rotator-text, span.av-rotator-text .av-rotator-text-single {font-family:'SlimJoe';}
The http://domain.co part of the code I posted was replaced with your site’s real address. It should be working properly now, let us know if it’s good on your end :)
Best regards,
NikkoMay 27, 2017 at 2:37 am #800480Yep works great! Really appreciate yalls help!
May 27, 2017 at 5:25 pm #800578Hi,
Glad we could help :) and thanks for using Enfold :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.