Problem hiding message for non European visitors.
-
My intention is to hide the cookie consent message for visitors from outside Europe. As instructed I installed the GeoIp Detection plugin. As instructed in one of the support threads I checked “Add a country-specific CSS class to the <body>-Tag.” in the GeoIP plugin. The geo-detection now works but with an unwanted side effect:
I have a quite lengthy message placed at the top of the web-site. Doing as above makes the message invisible but all empty space occupied by the message at the top remains (Hence the message seem to be there but text colours are set to blank so not visible). The annoying result is that you get a large blank space above your site and there is no way to get rid of that because the button to close the message is also hidden.
If I don’t hide the message the visitor can click on the button and this nicely removes the space above the web-site. A proper solution to this should also remove all the empty space to be like there was no cookie message. I think this unintended side effect is caused by the Cookie consent plugin rather than by the Geo detect plugin. I would appreciate a lot if this could be fixed.
(Currently I don’t hide the message for non-European visitors due to the above problem.)
The page I need help with: [log in to see the link]
- The topic ‘Problem hiding message for non European visitors.’ is closed to new replies.