WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => General Help & Support => Topic started by: rumen on June 29, 2022, 01:23:10 AM

Title: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 01:23:10 AM
Hi there, maybe off topic, but with one of the templates I got problem with font awesome. Tested in many browsers and only in Firefox appears normally (https://i.imgur.com/3qg621p.png) in the other appears like that (https://i.imgur.com/jWlVDYC.png)!!!

I have searched in many places with Google but no one decision helped to solved the issue.

The name of the template is "Editorial by HTML5Up (https://templates.wbce.org/template-suche/?template=html5up_editorial)" and it Run under WB-Version 2.12.2 r352

So far browsers tested (where it doesn't work):
Chromium
Watexfox
LibreWolf

Also tested on phone - same problem there! How to fix it?

Regards,
Title: Re: Help highly appreciate with font awesome
Post by: dbs on June 29, 2022, 07:12:37 AM
Hi, nobody can check this without a link to the problem.
Title: Re: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 07:52:13 AM
OF course, sure. Link (http://portmoneto.com/new)! And the template as I downloaded.
Title: Re: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 09:00:43 AM
Hi, nobody can check this without a link to the problem.

I was not sure anyone will help, so that's why I didn't send everything preliminary.

Thanks a lot for the time and desire to help in advance!!!
Title: Re: Help highly appreciate with font awesome
Post by: dbs on June 29, 2022, 09:02:48 AM
In your css the parts for the icons i see a missing backslash.
E.g. menu bars in main.css line 3226 starts with
Code: [Select]
#sidebar .toggle::before {
  content: 'f0c9';

but this must be
Code: [Select]
#sidebar .toggle::before {
  content: '\f0c9';

Problem: in the template zip are backslashes. Seems something is filtering this backslashes.
Firefox also don't show the icons.
Title: Re: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 09:18:52 AM
Super strange. Fixed! Wow. I changed all paths, css files, cdn's kit's and nothing helped. And now .... but how? Why? Some script deleted (filtered) that "\" before the code? Maybe we will not understand that ever  ....

THANKS A LOT FOR THE HELP MATE!!!!!
Title: Re: Help highly appreciate with font awesome
Post by: ruebenwurzel on June 29, 2022, 09:29:21 AM
Hello,

I have adapted several Templates from HTML5UP for WB. Editorial runs since a few years on this page: https://www.familie-gallas.de/. Actually WB 2.13.1 r124 under PHP8.1 and MariaDB 10.5.15. If you are interested i can post my WB-Version of this template.

Matthias
Title: Re: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 01:38:04 PM
I found from where comes the problem!!!

I used the editor "Addon File Editor v3.1.0-dev.1" I installed in Admin Tools to edit the code and seems that editor (https://i.imgur.com/8RJCYjx.png) remove the "\" when "Save" button is clicked.

I got similar problems with the CKeditor when put some code as "code" - after "Save" the code is removed.


Title: Re: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 01:39:22 PM
Hello,

I have adapted several Templates from HTML5UP for WB. Editorial runs since a few years on this page: https://www.familie-gallas.de/. Actually WB 2.13.1 r124 under PHP8.1 and MariaDB 10.5.15. If you are interested i can post my WB-Version of this template.

Matthias

The template is very good! But the problem is not in the template. It works! It is perfect. If there are any modifications for the new WB ver. please - share!
Title: Re: Help highly appreciate with font awesome
Post by: dbs on June 29, 2022, 02:12:43 PM
I found from where comes the problem!!!

I used the editor "Addon File Editor v3.1.0-dev.1" I installed in Admin Tools to edit the code and seems that editor (https://i.imgur.com/8RJCYjx.png) remove the "\" when "Save" button is clicked.

Tested with Addon File Editor v4.0.5 in WB 2.13.1: no problem, backslash stays alive  8)
Title: Re: Help highly appreciate with font awesome
Post by: rumen on June 29, 2022, 03:56:47 PM
Look at the video here (https://zapryanov.faith/cloud/index.php/s/zymGxTmzGkbdtr8). You will see it disappear. 
Title: Re: Help highly appreciate with font awesome
Post by: dbs on June 29, 2022, 04:13:19 PM
You're right, with your AFE version.
I mean v4.0.5. (needs WB 2.13.)
Title: Re: Help highly appreciate with font awesome
Post by: hgs on June 30, 2022, 08:14:31 AM
...
The name of the template is "Editorial by HTML5Up (https://templates.wbce.org/template-suche/?template=html5up_editorial)" and it Run under WB-Version 2.12.2 r352
...
In my opinion, an update is indispensable.
The used version is not released as stable!!!
The released version 2.12.2 r379 is from June 2019 (but already outdated)
Until today there were two other better versions
2.13.0 r63 May 2021
2.13.1 r103 April 2022
This current version is available for download here (https://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?type=5).
And the next version 2.13.2, which is then also php8.1 capable, is about to be released.