Page 1 of 1

Does "FontSizeSelect" no longer work with FlatPress 1.4.1? || Funktioniert "FontSizeSelect" nicht mehr mit FlatPress 1.4

Posted: Tue Dec 02, 2025 3:43 pm
by Ronny-M
Hello FlatPress friends,

I installed the "FontSizeSelect" plugin on FlatPress 1.4.1, added it to the widgets, and tested whether the font size changed accordingly. However, when I click the buttons, the font size doesn't change at all. Adjusting the font size in the admin area and then clicking the buttons on my website doesn't change anything.

Is the add-on no longer working...? How can I fix this?

Thank you for your help,

Best regards, Ronny
---------------------------
Hallo FlatPress Freunde,

ich habe, unter FlatPless 1.4.1 das Plugin "FontSizeSelect" installiert, dieses in die Widgets eingefügt und getestet, ob sich die Schriftgröße entsprechend ändert. Bei einem Klick auf die Buttons ändert sich die Schriftgröße jedoch nicht im geringsten. Eine Anpassung der Schriftgröße im Admin Bereich und darauf folgenden Klicks auf die Buttons auf meiner Webseite brauche keine Änderung..

Funktioniert das AddOn nicht mehr...? Wie kann ich diesen Fehler beheben?

Vielen Dank für Eure Hilfe,
MFG Ronny

Re: Does "FontSizeSelect" no longer work with FlatPress 1.4.1? || Funktioniert "FontSizeSelect" nicht mehr mit FlatPress

Posted: Thu Dec 04, 2025 4:53 am
by m1k3
Hey Ronny, which server are you using (e.g. Apache, Nginx)? From what I can tell it's likely due to the content security policy setting on the server which is preventing an inline script in FontSizeSelect from running. Basically, the plugin needs to be updated to follow strict CSP.

Re: Does "FontSizeSelect" no longer work with FlatPress 1.4.1? || Funktioniert "FontSizeSelect" nicht mehr mit FlatPress

Posted: Sat Dec 06, 2025 3:28 pm
by fraenkiman
Hello everyone,

This is most likely not due to the server configuration.
Starting with FlatPress 1.4, a stricter CSP is used.--> FlatPress Protect Plugin
Screenshot 2025-12-06 164052.png
Screenshot 2025-12-06 164052.png (114.53 KiB) Viewed 767 times
Patched plugin v1.9.2:
fontsizeselect1_9_2.zip
(28.85 KiB) Downloaded 126 times
Best regards,
Frank

Re: Does "FontSizeSelect" no longer work with FlatPress 1.4.1? || Funktioniert "FontSizeSelect" nicht mehr mit FlatPress

Posted: Sat Dec 06, 2025 4:13 pm
by m1k3
Thanks for clarifying, Frank! That was my first thought but then I remembered shared hosting providers may be hardening the servers by default.

Re: Does "FontSizeSelect" no longer work with FlatPress 1.4.1? || Funktioniert "FontSizeSelect" nicht mehr mit FlatPress

Posted: Sat Dec 06, 2025 4:28 pm
by fraenkiman
Not excluded... and if so, the plugin should also work under such conditions.