Code Monkey home page Code Monkey logo

Comments (4)

zytzagoo avatar zytzagoo commented on September 13, 2024

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.

jktz90 avatar jktz90 commented on September 13, 2024

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.

zytzagoo avatar zytzagoo commented on September 13, 2024

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.

jktz90 avatar jktz90 commented on September 13, 2024

Thanks, that solved the issue for me.

from cookie-banner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.