ElkArte Community

Elk Development => Theme development => Topic started by: CrimeS on April 22, 2015, 03:30:32 pm

Title: Content going through background
Post by: CrimeS on April 22, 2015, 03:30:32 pm
Hello! I've a small problem with some content such as linktree, or the buttons going through my fixed menu on top. I tried set z-indexes, but it either didn't work, or I haven't done it properly.

Here's a screenshot:
(http://img.liczniki.org/20150422/Screenshot_3-1429730948.jpg)

I'm not sure where to look for the solution, but it could be something some of you have dealed with. I can't provide a demo right now, because it's in early stage. It shouldn't be seen by anyone else :)

Edit,  I forgot to add that I'm using alpha channel to add a little but of transparency for the background.
Title: Re: Content going through background
Post by: emanuele on April 23, 2015, 03:38:21 am
ehh.... dunno. xD
Did you position:absolute the body?
Title: Re: Content going through background
Post by: CrimeS on April 23, 2015, 05:42:26 am
Nope, the body is untouched. I guess I will need to put it online.

It's available here:
http://elkartestudio.com/index.php
Title: Re: Content going through background
Post by: emanuele on April 23, 2015, 07:38:21 am
I can't see such behaviour on the user pages, could it me a problem with the admin area only?
In that case it could be related to the #admin_content ?
Again sorry, but I'm mostly guessing... :-[
Title: Re: Content going through background
Post by: CrimeS on April 23, 2015, 07:41:00 am
I noticed this behaviour for more elements. (I'm browsing as a guest and avatars go through and few other things).

(http://img.liczniki.org/20150423/Screenshot_4-1429789248.jpg)

It's probably some stupid mistake :D
Title: Re: Content going through background
Post by: emanuele on April 23, 2015, 02:48:18 pm
OMG... I'm dumb, I was looking at another thing... :-[ :-x

Setting the z-index to 100 on "top_bar1" works for me n Chrome.
Title: Re: Content going through background
Post by: CrimeS on April 24, 2015, 12:32:31 pm
Thank you, it worked. I'm wondering why I didn't use higher z-indexes than 0 and 1, when I was doing it  ::)
Title: Re: Content going through background
Post by: emanuele on April 24, 2015, 12:37:53 pm
There are seom z-index applied here and there to avoid some random overlapping, so yes, low z-index may not be enough to fix everything. ;D