H
8

Update: Solved my forum layout bug after 3 days - Z-index was the issue all along

I had this forum theme that kept hiding my reply box behind the sidebar on mobile. Drove me crazy for three days straight. Tried float fixes, display changes, everything. Finally opened DevTools and saw the sidebar had a z-index of 9999 from the theme's CSS. Dropped it down to 100 and the reply box showed up perfect. Has anyone else found random huge z-index numbers breaking their layouts? I swear theme makers just slap those on without thinking.
2 comments

Log in to join the discussion

Log In
2 Comments
sanchez.mia
Oh man, I once spent a whole weekend chasing a z-index ghost on my recipe blog. Turns out the navigation menu had a z-index of like 999999 from some premium theme I bought. I felt so dumb when I finally saw it, like I'd been yelling at a brick wall that was actually made of air. Now I always check DevTools first before I even touch any CSS, saves me from another weekend of shame.
1
noahcampbell
That theme probably had a hundred other hidden timebombs waiting too?
2