Comments (4)
Is there a possibility to force UTF-8? (characters like ü ä ö are not displayed correctly).
Can you be more specific? Or provide an URL where what you mention is happening?
You can maybe force the <script> tag's charset into utf-8, but that might not help at all if the page "hosting" the script is in another encoding?
Hard to say any more without getting more info...
Also, is there a way to force the cookie banner into the foreground? On my mobile page the banner is sometimes covered by content when scrolling.
By default, z-index is 255, you can change it via data-attributes, or you can override with your own css.
But without specific example/url it's impossible to say what's causing the covering.
from cookie-banner.
Current value of zindex is1, but it is even worse than the standard 255.
I was able to solve the problem with the encoding which was indeed due to my settins, but I'm still struggeling with keeping the banner in the foregroundl
Putting it back to 255 solves the problem for the desktop version, If you scroll down on the mobile version it enters the foreground towards the end of the site
from cookie-banner.
There's an element with z-index: 576 or some such (#u3407-14) -- you can bump cookie-banner z-index to 1000 or reduce that element's 576 to something below 255
from cookie-banner.
Thanks, that solved the issue for me.
from cookie-banner.
Related Issues (20)
- banner disappears on page reload HOT 1
- Could you help add git tag HOT 10
- .cookiebanner-close element missing HOT 2
- Styling option not working HOT 1
- acceptOnFirstVisit: true HOT 4
- Multi-line data-message HOT 2
- EU Cookie Law changes in 2018 HOT 33
- magnific-popup integration HOT 1
- Empty linkmsg causes error HOT 4
- Cookie Expire Date HOT 4
- data-on-closed="" seems to loop? HOT 1
- Callbacks not working on dist/cookiebanner.min.js HOT 4
- Two links in the message possibility HOT 2
- Suggestion: allow "accept-on-navigation"
- Does not show up in Firefox or Chrome HOT 2
- Allow hide "More Info" link HOT 2
- Opt-In Mandatory in 2019
- `expires` option doesn't work with Firefox. HOT 14
- suggestion: change URL from http to https
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookie-banner.