php - How can I make my privacy alert in-front of all DIVs, RevSlider etc


Check out my site;

I included a a privacy alert because of new EU Regulation, but the alert goes behind some of my website components like other DIVs and Revolution slider...

I have tried some CSS, but nothing seems to work.




You can probably fix it by giving it a high z-index. You can do it two ways.

1.) Use inline style attribute:

<div id="myDiv" class="page_speed_933007143">This is my privacy warning</div>

2.) Use CSS with a class:

 .myclass {

    z-index: 100;

<div id="myDiv" class="myClass">This is my privacy warning</div>

People are also looking for solutions to the problem: php - Sorting html table based on input field


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.