XF 2.2 box-shadow and z-index ?

Nicolas FR

Well-known member
Hello,

I try to do something with shadow on p-header but i can't realize it very well, let me explain:
with css in extra.less i apply a box-shadow to p-header and this is the result :

Capture d’écran 2020-10-25 154610.png

perfect except there is a blank space (10px) between p-header and p-nav, so i remove margin-bottom: 10px to p-header and this is the result :

Capture d’écran 2020-10-25 154648.png

ok there is no more space but shadow disappears... How can i remove the space and keep the shadow, how to put the menu under the shade and not over the shadows? is z-index can help me ? if yes how can i apply this attribut, i tried but without success...

Thanks ! :)
 
Last edited:
Top Bottom