Support Forum

testing a new theme

27 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

The mobile sliding panel (#spMainContainer #spMobilePanel) already has a z-index of 99999 which is huge so I am surprised that anything can show up over the top of that!

Try adding a couple of extra 9’s…

KV kvr28
kvr28
Member

where would I find that? or is that something I can just add to my wp-theme custom css?

YS Yellow Swordfish
Yellow Swordfish
Member

Well… if you change the SP theme then you are using ‘Unified’ for mobiles so it is the same as ‘default’ except in the Unified folder and named unified.php.

If you change it in your WP theme styles.css file then as before – just add it and see.

KV kvr28
kvr28
Member

is this the correct way I would add it to my custom css?

#spMainContainer #spMobilePanel { z-index: 10000000000 !important; }

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – give that a try.

To be honest I am not sure what the maximum z-index value can be but I believe you have gone way beyond it there so interested to hear if that solves it.

KV kvr28
kvr28
Member

this still seems to be a issue even with that high of a z-index, any other suggestions?

MP Mr Papa
Mr Papa
Member

looks like guests dont see the button?  I dont anyways…

KV kvr28
kvr28
Member

you don’t see the actions button with the log in option on mobile? well crap, back to the drawing board

MP Mr Papa
Mr Papa
Member

oh wait…  mobile?  login…  old thread so went back to the beginning… thought problem was with the unread posts button and zindex

perhaps bring me up to date…  sorry…

KV kvr28
kvr28
Member

Sorry for the confusion, the issue is when trying to log in on mobile the pop up is showing under the header, I’ve tried increasing the z-index to 10000000

MP Mr Papa
Mr Papa
Member

try changing

#spMainContainer #spMarkRead:target, #spMainContainer #spLoginForm:target, #spMainContainer #spSearchForm:target

from

position: fixed;

to

position: absolute;

think that gets it showing below…