Problem mit Fontawesome

About the template and stylesheet - and changing the menu
Post Reply
Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Problem mit Fontawesome

Post by Tata » Sun Dec 31, 2023 4:34 pm

Es ist eingestellt in fa plugin:
$plugin_cf['fa']['require_auto']="";
$plugin_cf['fa']['fontawesome_version']="4";
$plugin_cf['fa']['fontawesome_shim']="";
Es ist definiert in stylesheet.css:
a[title="Pozvánka"]::after{
width: 20px;
font-weight: normal;
border-bottom: none !important;
font-family: FontAwesome;
content: "\f06e";
}
Im Editor (Edit und Preview) sieht es dann so aus:
Screen Shot 2023-12-31 at 11.58.28.jpg
Auf der Webseite aber immer nur so:
Screen Shot 2023-12-31 at 11.59.47.jpg
Andere FA Ikonen, die direct im Text reingegeben sind, laufen richtig.
Screen Shot 2023-12-31 at 17.33.03.jpg
Was ist da falsch?
EDIT: Ich habe gefunden, daß es passiert nur auf der Unterseiten, die durch Accordion Plugin geöffnet sind. D.h., daß der Plugin wohl kein FA unterstützt (?). Vielleicht will Knollsen etwas dazu sagen (?)
Noch habe ich gefunden folgendes:
Werden auf der Untetrseiten die <UL> benutzt, übernehmen sie die Formatierung von Accordion (schau an http://www.cmsimple.sk/_sub/cyklocajka/?Pridaj-sa-k-nam - da ist Accordion ganz unten).
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

lck
Posts: 2971
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Problem mit Fontawesome

Post by lck » Mon Jan 01, 2024 1:14 pm

Tata wrote:
Sun Dec 31, 2023 4:34 pm
EDIT: Ich habe gefunden, daß es passiert nur auf der Unterseiten, die durch Accordion Plugin geöffnet sind. D.h., daß der Plugin wohl kein FA unterstützt (?).
Das liegt daran
./plugins/accordion/css/stylesheet.css

Code: Select all

.acc *::after, .acc *::before {content: none !important;}
füge hier hinter dem content: "\f06e" ein !important hinzu.

Code: Select all

a[title="Pozvánka"]::after{
width: 20px;
font-weight: normal;
border-bottom: none !important;
font-family: FontAwesome;
content: "\f06e" !important;
}
Last edited by lck on Mon Jan 01, 2024 1:33 pm, edited 2 times in total.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Problem mit Fontawesome

Post by Tata » Mon Jan 01, 2024 1:22 pm

Danke. Wird versucht :-) Oder geht die Unterseite eine Ebene höher. Damit ist der Problem weg.
EDIT: Das wars.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply