This topic has 3 replies, 2 voices, and was last updated 10 years by Catalin.

  • Author
  • #22834
     Marc van Daele
    Participant

    I have text in layers in a slider on my homepage. When I disable the wordpress toolbar, the text is shown in Times New Roman and not in Open Sans as it is set in the slider options. When I enable the toolbar the text is shown correctly.

    #23329
     Catalin
    Moderator

    Hello,

    I checked your site and in both cases you have the same font. Please send me a screenshot to be able to replicate your issue.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #23475
     Marc van Daele
    Participant

    The problem was fixed with the same solution as another problem (The “Use of undefined constant error”, which you said was no big deal, and probably wasn’t). Anyway the two problems had the same cause. So it is good to add the lines below in wp-config.php. Might be useful for other users too.

    You do give great support. I very much appreciate your replies.
    Marc

    I replied in the other forum topic:

    I have managed to solve the problem. The trick is to add these lines to the top of wp-config.php:

    define( ‘FS_METHOD’, ‘direct’ );
    define( ‘FS_CHMOD_DIR’, 0777 );
    define( ‘FS_CHMOD_FILE’, 0777 );

    The notices are gone, fonts are displayed correctly, google fonts are available under theme options now and the fonts on the slider look good even with the admin bar hidden.

    #23477
     Catalin
    Moderator

    glad to help.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Open sans not loading on slider when hiding toolbar’ is closed to new replies.

Log in with your credentials

Forgot your details?