Comments (3)
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.
Maybe better to stick with Fork-Awesome?:
https://github.com/ForkAwesome/Fork-Awesome
from pivot.
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)
- Icons in navbar doesn't show in certain browsers HOT 40
- Sidebar text color ignored when highlighted in mobile HOT 1
- Mobile / small screen left menu is purple, not blue HOT 1
- Icons not supported in MW 1.35 HOT 2
- renderSidebar causing InvalidArgumentException HOT 1
- Off-canvas-menu only closing when clicked on icon HOT 1
- Vertical align of grids content HOT 3
- Font awesome for cyrillic HOT 1
- "Search for pages containing" not displayed
- Font size in Pivot 2.2.2/2.3.0 is larger than in 2.2.0
- User menu and actions menu not working
- Hardcoded /w/ folder in pivot.css leads to resource failure
- Incompatible with MW 1.38 - White screen HOT 8
- In what css is the background color for the pages? HOT 5
- Not Compatible with MW 1.34.1 - Error 500 (fresh install, no extensions) HOT 3
- Off canvas menu animates during page transition sometimes
- Mobile layout - Recent changes checkboxes HOT 2
- Title header color and text centering HOT 5
- [Enhancement] Left-menu search (on mobile widths only) doesn't auto-complete HOT 3
- Login and personal_urls HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pivot.