xF1 How to add webfonts to your XenForo forum so that they work in the text editor

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,500
    7,741
    321
    localhost
    Heisenberg submitted a new resource:

    - A method of adding webfonts to your XenForo site that works with the Redactor text editor.

    There is an issue with the Redactor rich text editor used for editing posts. Webfonts linked in the XenForo site don't work in it. The problem is because it uses an iFrame, which is a separate environment and doesn't have access to the loaded webfonts in the main frame.

    The solution to this is to include your webfont CSS in both the main and editor CSS.
    So here's the tutorial...

    How to add webfonts to your XenForo site so that they work in the text editor!

    1. In the Admin...