Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, I just took a look- no problem posting a support question as this one isn’t in the FAQ and will need some investigation. Leave it with me and I’ll get back to you soon.

    Try this first though:
    – Update to version 1.4 (not that 1.4 contains any bug fixes, just make sure you have the latest)
    – Refresh your cloudflare cache

    I’ll be travelling for a few days but will check in every now and again to see if that fixed it. Cheers!

    Thread Starter Xavier Gimeno Torrent

    (@xaviergimeno)

    Hello again Richard,

    Regarding the “Cookie Bar not showing on Contact Page” issue, today I realized that, actually, (at least since 1.5 Update of your plugin, I can’t remember if I checked all this on previous versions), the cookie bar doesn’t dissapear on contact page (http://www.xaviergimeno.net/contact).

    The point is that when checking contact page, the bar didn’t appear because I was searching it out floating at the end of the screen (as I set up on the settings page of your plugin, the cookie bar had to appear floating at the footer). But today I saw that the bar was fixed at the end of the page (NOT floating at the end of the screen).

    I do not know if this behavior is intentionally or not (because, if you check it up, you could see that at the place where cookie bar was supposed to be on contact page, appears the “send” button) to prevent a potential conflict between your plugin and other wordpress functions (the “send” button).

    What do you think about it?

    Thanks.

    Thread Starter Xavier Gimeno Torrent

    (@xaviergimeno)

    Hello Richard,

    Quite apart of all that I’ve described earlier, I’ve also discovered that the Cookie Bar doesn’t dissapears on the Contact Page after clicking the “Accept” button.

    Please, check it up.

    Richard

    (@richardashby)

    Hi Xavier

    In summary:

    1. Cookie bar is not ‘fixed’ to footer of contact page
    2. Cookie bar does not disappear if you click “accept” on contact page
    3. The cookie bar works correctly on all other pages (fixed to footer, disappears on clicking ‘accept’)

    So the issues are isolated to your contact page, where you use the Contact Form 7 plugin. Is that correct?

    Point 1: the simplest fix is to add this CSS to your style.css (ideally child theme but parent theme style.css file also ok):

    #cookie-law-info-bar {
    position: fixed;
    bottom: 0;
    }

    …however this will probably not fix point 2.

    The root cause of all these issues is that the cookielawinfo.js script is not running on the contact form page. You have some very strong caching on the page which makes it very difficult to debug so you should try without caching enabled / force a cache reset to see what effect that has. Personally I use Ninja Forms and I find that a great contact form plugin- really simple and lightweight with minimal CSS and JS. I suspect your caching is the issue though.

    Let me know what you tried and the results.

    FOR ANYONE ELSE READING THIS TOPIC:
    – If you have a similar problem it is very unlikely to be the same root cause
    – Please start a new topic and include your URL

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cookie Bar not showing on Contact Page’ is closed to new replies.