Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #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.
    #796971

    Hey 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,
    Rikard

    #797210

    Okay 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 here

    #797211

    I don’t know what to do from here

    #797371

    Hi,

    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,
    Rikard

    #797997

    Okay, 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

    #798083

    Hi,

    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,
    Rikard

    #798543

    Okay this is what I have now

    #798555

    Hi,

    There is no font there:
    http://lifteatrepeat.co/public_html/wp-content/content/Fonts/SlimJoe.woff2

    It returns an error

    Best regards,
    Basilis

    #799047

    Yeah 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.woff2

    #799194

    Hi,

    Can you give us temporary admin and ftp access? so we can check further with the issue :)

    Best regards,
    Nikko

    #799690

    Yeah 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.

    #799839

    Hi,

    I tried to access your site, but I’m redirected showing the site is for sale. Screenshot in private content.

    Best regards,
    Nikko

    #799910

    OMG i’m sorry lol its lifteatrepeat.co

    I added the .com out of habit my bad

    #799911

    I’ll be buying it eventually lol

    #800363

    Hi,

    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,
    Nikko

    #800480

    Yep works great! Really appreciate yalls help!

    #800578

    Hi,

    Glad we could help :) and thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 18 posts - 1 through 18 (of 18 total)
  • You must be logged in to reply to this topic.