• Resolved Francesco

    (@fcolombo)


    Why is the z-index value of the #callnowbutton so high by default? (2147483647).

    This causes the button to hide other possible elements of websites, such as cookie bar notices at the bottom.

    Is it safe to reduce the value?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jerry Rietveld

    (@jgrietveld)

    Hi Francesco,

    Thanks for your message! The reason it’s so high is that it needs to be in front of everything else. I can see that it might be annoying when you have a cookie notice appearing on the same place. Can you not move the cookie notice to the top of the screen? Both need to be visible but I’d say you much rather have a visitor call you than a visitor clicking the cookie notice.

    Alternatively, if you’re comfortable editing the code and you don’t mind that the notice sits over the call now button you can decrease the z-index value as well.

    Cheers,
    Jerry

    Thread Starter Francesco

    (@fcolombo)

    Thanks for your reply, Jerry.

    I’ll have a think and see if moving the cookie notice to the top makes sense.

    Totally agree with you that I’d rather have someone calling, than acknowledging the cookie message ??

    On the other hand, I don’t want to clutter the website with notices and buttons on the top and on the bottom.

    I guess it’s a fine line…

    Another option I’m experimenting is to automatically dismiss the cookie bar after a certain amount of vertical scroll… bye bye.

    I’ll work something out.

    Thanks again for the quick reply. Love the plugin, been using it for years. Signed up for the premium preview too ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why is the z-index value so high?’ is closed to new replies.