0

Check out my site; http://sequoiasystems.org.

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.

John Slegers
  • 45,213
  • 22
  • 199
  • 169
Scott
  • 13
  • 1

1 Answers1

0

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" style="z-index:100;">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>
Joseph_J
  • 3,654
  • 2
  • 13
  • 22
  • Thanks. It actually still goes behind my Revolution Slider; http://sequoiasystems.org. Thanks for your support. – Scott May 02 '18 at 03:47
  • Yup, no problem.. Sometimes you have to keep upping the z-index until your sure it passed any other z-index being called on the page. Please mark as the accepted answer. Cheers! – Joseph_J May 02 '18 at 03:50