Skip to content

Instantly share code, notes, and snippets.

@magnushammar
Created August 26, 2022 17:42
Show Gist options
  • Save magnushammar/a17b7837c42cdbb90816ac81e191f143 to your computer and use it in GitHub Desktop.
Save magnushammar/a17b7837c42cdbb90816ac81e191f143 to your computer and use it in GitHub Desktop.

Relatively new Font Awesome 5 icons do not render

I am trying to add icons with the pseudo css method but I am having problems with icons that where added in Font Awesome 5. Icons added in version four, like clock and star work as expected but not chalkboard-user and an even newer I tried, dharmachakra.

/* chalkboard-user Not shown */
.bu-table-teacher th::before {
    font-family: "Font Awesome 5 Free"; 
    font-size: 16px;
    content: "\f51c";
    margin-right: 10px;
  }

/* dharmachakra: Now shown */
.bu-table-later th::before {
    font-family: "Font Awesome 5 Free"; 
    font-size: 16px;
    content: "\f655";
    margin-right: 10px;
  }  

/* Working */
.bu-table-star th::before {
    font-family: "Font Awesome 5 Free"; 
    font-size: 16px;
    content: "\f005";
    margin-right: 10px;
  }

image

System information

== Server Environment == Operating System: Linux Software: LiteSpeed MySQL version: MariaDB Server v10.5.16 PHP Version: 7.4.30 PHP Memory Limit: 512M PHP Max Input Vars: 3000 PHP Max Post Size: 50M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected

== WordPress Environment == Version: 6.0.1 Site URL: https://noppi.branschutbildarna.se Home URL: https://noppi.branschutbildarna.se WP Multisite: No Max Upload Size: 50 MB Memory limit: 40M Max Memory limit: 512M Permalink Structure: /%postname%/ Language: en-US Timezone: Europe/Stockholm Admin Email: magnus@tenk.se Debug Mode: Inactive

== Theme == Name: Branschutbildarna 2.0 Version: 2.0.0 Author: Anders Norén Child Theme: No

== User == Role: administrator WP Profile lang: sv_SE User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

== Active Plugins == Advanced Custom Fields PRO Version: 5.9.5 Author: Elliot Condon

Branchutbildarna Modules
	Version: 1.0.0
	Author: Tenk AB

Branschutbildarna Data Removal
	Version: 0.1
	Author: itiden

Cloudflare
	Version: 4.11.0
	Author: Cloudflare, Inc.

Duplicate Page
	Version: 4.4.9
	Author: mndpsingh287

Elementor
	Version: 3.7.2
	Author: Elementor.com

Elementor Pro
	Version: 3.7.3
	Author: Elementor.com

Email Log
	Version: 2.4.8
	Author: Sudar

Enable Media Replace
	Version: 3.6.3
	Author: ShortPixel

FiboSearch - AJAX Search for WooCommerce
	Version: 1.19.0
	Author: FiboSearch Team

File Renaming on upload
	Version: 2.5.0
	Author: Pablo S G Pacheco

Font Awesome
	Version: 4.2.0
	Author: Font Awesome

GDPR Cookie Consent
	Version: 2.1.2
	Author: WebToffee

Gravity Forms
	Version: 2.4.24
	Author: Gravity Forms

Klarna Checkout for WooCommerce
	Version: 2.8.5
	Author: Krokedil

Klarna Order Management for WooCommerce
	Version: 1.6.10
	Author: klarna, krokedil

PixelYourSite
	Version: 9.2.0
	Author: PixelYourSite

Redirection
	Version: 5.3.2
	Author: John Godley

Regenerate Thumbnails Advanced
	Version: 2.4.0
	Author: ShortPixel

Table Addons for Elementor
	Version: 1.2.0
	Author: Iqbal Bary

Trustpilot-reviews
	Version: 2.5.914
	Author: Trustpilot

User Switching
	Version: 1.7.0
	Author: John Blackbourn & contributors

WooCommerce
	Version: 6.8.2
	Author: Automattic

Woocommerce Diploma
	Version: 1.0.0
	Author: itiden

Woocommerce Evercate
	Version: 1.0.0
	Author: itiden

WooCommerce Swish Ecommerce Gateway
	Version: 5.1.5
	Author: Redlight Media

WordPress Importer
	Version: 0.7
	Author: wordpressdotorg

WP Import Export Lite
	Version: 3.9.23
	Author: VJInfotech

Yoast SEO
	Version: 19.6
	Author: Team Yoast

== Elementor Experiments == Optimized DOM Output: Active by default Improved Asset Loading: Active by default Improved CSS Loading: Active by default Inline Font Icons: Inactive by default Accessibility Improvements: Active by default Additional Custom Breakpoints: Active by default Import Export Template Kit: Active by default Hide native WordPress widgets from search results: Active by default admin_menu_rearrangement: Inactive by default Flexbox Container: Inactive by default Default to New Theme Builder: Active by default Landing Pages: Active by default Color Sampler: Active by default Favorite Widgets: Active by default Admin Top Bar: Active by default Page Transitions: Active by default Notes: Active by default Form Submissions: Active by default Scroll Snap: Active by default

== Log ==

PHP: showing 3 of 3PHP: 2022-08-10 16:20:57 [notice X 1][/home/branschu/noppi.branschutbildarna.se/public_html/wp-content/plugins/elementor/core/common/modules/connect/module.php::230] Trying to get property 'email' of non-object [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2022-08-10 16:24:46 [notice X 2][/home/branschu/noppi.branschutbildarna.se/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined index: data [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2022-08-25 16:35:05 [notice X 121][/home/branschu/noppi.branschutbildarna.se/public_html/wp-content/plugins/elementor/core/base/document.php::250] Trying to get property 'ID' of non-object [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]

JS: showing 7 of 7JS: 2022-08-24 14:50:43 [error X 21][https://noppi.branschutbildarna.se/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.7.0:3:1059696] Cannot read properties of null (reading 'getBoundingClientRect') JS: 2022-08-24 15:00:17 [error X 18][https://noppi.branschutbildarna.se/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.7.0:3:766552] Cannot read properties of undefined (reading 'localized') JS: 2022-08-25 09:59:06 [error X 2][https://noppi.branschutbildarna.se/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.7.0:2:51471] Model.isValidChild() should be implemented, please provide 'isValidChild' functionality. JS: 2022-08-25 20:21:01 [error X 1][https://noppi.branschutbildarna.se/wp-content/plugins/elementor/assets/js/editor-modules.min.js?ver=3.7.2:2:14029] An invalid argument supplied as multiple control value [array ( 'category' => 'InvalidElementData', 'tag' => 'Element undefined got as select_icon value. Expected array or object.', )] JS: 2022-08-25 20:51:04 [error X 2][https://noppi.branschutbildarna.se/wp-content/plugins/premium-addons-for-elementor/assets/editor/js/editor.js?ver=4.9.29:304:55] Cannot read properties of undefined (reading 'removeClass') JS: 2022-08-25 21:14:36 [error X 7][https://noppi.branschutbildarna.se/wp-content/plugins/elementskit-lite/widgets/init/assets/js/datatables.min.js?ver=6.0.1:21:43628] Cannot read properties of undefined (reading 'mData') JS: 2022-08-26 15:55:32 [error X 73][https://noppi.branschutbildarna.se/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.7.2:3:366236] Cannot read properties of undefined (reading 'controls')

Log: showing 5 of 52022-08-25 16:28:12 [info] elementor::elementor_updater Started 2022-08-25 16:28:12 [info] Elementor/Upgrades - _on_each_version Start
2022-08-25 16:28:12 [info] Elementor/Upgrades - _on_each_version Finished 2022-08-25 16:28:12 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.7.0', 'to' => '3.7.2', )] 2022-08-25 16:28:12 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.7.0', 'to' => '3.7.2', )]

== Elementor - Compatibility Tag ==

Elementor Pro: Compatibility not specified
Table Addons for Elementor: Compatibility not specified

== Elementor Pro - Compatibility Tag ==

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment