Archived topic
Z-Index Order
3 replies · Started by Ashley on September 12, 2018
Hi Guys!
So I'm trying to basically apply an Apple-esque overlay to the bottom of my page content.
I'm using a hook to do this currently which is just basically inserting a styled div.
I want it to appear above the header and main section but not the footer.
At the moment I'm trying to do this with z-index's but it's not working out. Is this a hierarchy issue perhaps?
Hi there,
Try this as your CSS:
.site-footer {
z-index: 3;
position: relative;
}
Let me know :)
Worked like a charm, cheers Tom! :-D
Glad I could help! :)