• Hi, there’s something blocking me from customising the cookie banner.

    On the backend, I can’t see the preview of the banner. If I inspect the admin screen I’m getting a 404 on /wp-content/uploads/complianz/css/banner-preview-1-optin.css?v=240.029807053615266144

    On the front end if I inspect the page, /wp-content/plugins/complianz-gdpr/cookiebanner/css/defaults/banner-optin.css?v=24 is loading as the CSS file that sets the CSS vars for banner customisation, but clearly this is the plugin default and not the custom file.

    On the plugin dashboard I get: Urgent. Your uploads folder is not writable. Complianz needs this folder to save the cookie banner CSS.

    But the permissions are already 755. I tried creating the complianz directory within uploads, as it wasn’t there, but that didn’t help. Other uploads work fine, so WordPress is generally happy with the permissions.

    What can I try next? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @andymacb,

    Are the files available in the folder uploads/complianz/css/?

    regards Aert

    Thread Starter Andy Macaulay-Brook

    (@andymacb)

    Hi, no, sorry if that wasn’t clear, but there is no uploads/complianz folder.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    If you can create the uploads/complianz/css folder, and set it to 644, the plugin can write the css files.

    Thread Starter Andy Macaulay-Brook

    (@andymacb)

    Thanks, I’ve done that and no change. I tried 755 too. I deactivated an reactivated the plugin, just to check. And I also ran through the wizard again to make sure.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Maybe your hosting environment is blocking write access for the plugin. Maybe you can check that with your hoster.

    We can also try to create the css files. Assuming you’re in an opt-in region, and only have a banner with an ID 1 (the id is in the URL when in the banner editor), can you try to create the following files in the uploads/complianz/css folder?

    banner-1-optin.css
    banner-preview-1-optin.css

    With the correct read write permissions?

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @andymacb,

    Any update on this matter?

    regards Aert

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t customise banner: CSS not saving’ is closed to new replies.