Repository navigation
Fontawesome
Typesettercms uses Fontawesome 4.7, which is old but in most cases sufficient 31KB against 95KB "V6.6".
-
There is a FA 5.13 plugin, whose installation embeds Fontawesome 5.13 - css permanent in all themes and is compatible with FA4.7.
-
There is also a v6.6 "plugin for ckeditor":https://github.com/gtbu/ckeditor-fa42 (plugin.js line 22 fa42Path: '//cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css',....) , which does not install the Fa6-css in the theme - just add : common::LoadComponents( 'fontawesome6' );
- The Bootstrap4-theme has (until 11/2026) in its heading 5 social icons (in : installcheck.php and in include/install/Tools.php line 478 and evtl. - if You just updated the include-directory - also in data/_extra/Header_SocialMedia/page.php) with the code :
<a title="Twitter" class="fa fa-twitter" target="blank" href="https://twitter.com"></a> //6.6 fa-brands fa-x-twitter
<a title="facebook" class="fa fa-facebook" target="blank" href="https://www.facebook.com"></a> //6.6 fa-brands fa-facebook
<a title="Instagram" class="fa fa-instagram" target="blank" href="https://www.instagram.com"></a> //6.6 fa-brands fa-instagram
<a title="LinkedIn" class="fa fa-linkedin-square" target="blank" href="https://www.linkedin.com"></a> //6.6 fa-brands fa-linkedin
<a title="YouTube" class="fa fa-youtube" target="blank" href="https://www.youtube.com"></a> //6.6 fa-brands fa-youtube
<a title="Skype" class="fa fa-skype" target="blank" href="https://www.skype.com"></a> //6.6 fa-brands fa-skype
(Fa 6.6 also : fa-solid fa-triangle-exclamation // fa-solid fa-check // fa-solid fa-envelope // fa-solid fa-phone )
- “X” is Twitter's rebranded identity, envisioned by Elon Musk, who acquired Twitter in 2022 .
The fa-x-twitter Icon is from FontAwesome Version 6.4.2 available :::
- https://fontawesome.com/icons/x-twitter?f=brands&s=solid ---> class="fa-brands fa-x-twitter"
- In the 3 functions.php of the 3 subthemes of the bootstrap4 - theme stands : 20 common::LoadComponents('bootstrap4-js,fontawesome'); --- which has to be replaced by common::LoadComponents('bootstrap4-js,fontawesome6');
-
P.S. You should have the newest include/tool/Output/combine.php and the updated thirdparty/fontawesome and thirdparty/js directories !
-
An alternative is a bootstrap-icon : https://icons.getbootstrap.com/icons/twitter-x/ --- or also very simple a white X < i class="fa fa-times" style="color: white; font-size:18px;"> *** FA - Cheatsheet online
- In the newest Bootstrap 4 -theme of 11/2026 the Fa-icons-code has been replaced with bootstrap-icons. The install/Tools.php has been modified and bootstrap icon is loaded in the template.php with common::LoadComponents('bt5-icon-css');. As data/_extra/Header_SocialMedia/page.php is generated during installation, you must change the content manually if You update Tools.php and the Bootstrap4 - theme.
$content = '<a title="Twitter" class="bi bi-twitter-x" target="_blank" href="https://x.com">‌</a>
<a title="Facebook" class="bi bi-facebook" target="_blank" href="https://www.facebook.com">‌</a>
<a title="Instagram" class="bi bi-instagram" target="_blank" href="https://www.instagram.com">‌</a>
<a title="LinkedIn" class="bi bi-linkedin" target="_blank" href="https://www.linkedin.com">‌</a>
<a title="YouTube" class="bi bi-youtube" target="_blank" href="https://www.youtube.com">‌</a>
<a title="Skype" class="bi bi-skype" target="_blank" href="https://www.skype.com">‌</a>';