GithubHelp home page GithubHelp logo

Feature Request: Font Awesome 5.0 about pivot HOT 3 OPEN

hutchy68 avatar hutchy68 commented on August 22, 2024 1
Feature Request: Font Awesome 5.0

from pivot.

Comments (3)

Hutchy68 avatar Hutchy68 commented on August 22, 2024

Love to upgrade, but this will require some work. What is at issue, open source version vs pro (paid) and the icons available to the open source. Some changed, some did not, some have a different call to render them.

from pivot.

poVoq avatar poVoq commented on August 22, 2024

Maybe better to stick with Fork-Awesome?:
https://github.com/ForkAwesome/Fork-Awesome

from pivot.

designnerd avatar designnerd commented on August 22, 2024

We implemented a temporary fix for this by creating a customizations folder in the MW directory, then placing the FontAwesome5 basic (free) set items we downloaded there, then added the following workaround in LocalSettings.php:

Load Theme Customizations

$wgResourceModules['ourtheme-customizations'] = array(
'styles' => "/fontawesome-5-8-2/css/all.css", // Stylesheet to be loaded in all skins
'scripts' => "", // Script file to be loaded in all skins
'localBasePath' => "$IP/customizations/",
'remoteBasePath' => "$wgScriptPath/customizations/"
);
function efCustomBeforePageDisplay( &$out, &$skin ) {
$out->addModules( array( 'ourtheme-customizations' ) );
}

Then in the CSS:

#yourElement {
content: "\f0f3";
font-family: "Font Awesome\ 5 Free";
font-weight:900;
}

Not an ideal way to do it but it gets the job done as a temporary workaround. :)

from pivot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.