-
AuthorPosts
-
January 2, 2025 at 4:12 pm #1474484
I have an Easy Slider on the home page for which I can no longer edit or change images.
Trying to change an image on an existing Form Element by clicking Change Image, nothing happens. I can alter the Captions though (but don’t want to, I want to add a new slide to the show).
Trying to add a new image slide to the slide show, clicking on Insert Image in Content – Select Images, nothing happens.
Click Add Single Image or Video at the bottom of Content does add a new empty Form Element but I cannot Change (Add) Image, although I can add a Caption. On saving though, the new element does not show in the slider (maybe because there is no image?).
Login details in Private – note different login URL.
January 2, 2025 at 8:12 pm #1474491Hey zimbo,
Could you try updating the theme to the latest version (6.0.8) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/. If not, then please try to activate the parent theme to see what happens then.
Best regards,
RikardJanuary 3, 2025 at 1:40 pm #1474564Hi,
Done both of those requests, made no difference.January 4, 2025 at 1:02 pm #1474617Hi,
There are error messages coming from underscores js while editing the front page. What happens if you temporarily deactivate all plugins and remove any custom code you might have added?
Best regards,
RikardJanuary 4, 2025 at 5:40 pm #1474628Found the problem. I looked at the error messages you reference in Dev Tools on Edit Page and noted they were in one part caused by “unsafe-eval is not an allowed source of script in the following Content Security Policy directive”. If I remove all the Content Security Policy directives from .htaccess, Easy Slider works again. (I only added the CSP stuff initially a month or so ago and have not had need to edit Easy Slider until now.)
Thing is I was using the directives @Ismael suggested in this thread: https://kriesi.at/support/topic/wordpress-enfold-and-content-security-headers/ and there is no mention of unsafe-eval.
I confess to not really understanding all this CSP stuff and whilst I want the site secure it seems every time I tweak the CSP something else breaks, like Easy Slider. I note that @Guenni007’s last post indicates possible issues with LayerSlider re. CSP settings.
Bizarrely, when I remove the CSP directives, Lighthouse still gives me a 100 score for Best Practices with a note of “No CSP found in enforcement mode.”
So I guess we can close this thread – but how do we address the CSP problem? Can you work on a definitive set of CSP directives that are fully compliant with all elements of Enfold?
January 5, 2025 at 10:45 am #1474649Hi,
Thanks for the update, we’ll close this thread for now then. If you have further questions about CSP then please open a new thread.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Cannot edit Easy Slider’ is closed to new replies.