Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

z-index for #conent in layout.css dosen't work


Reply

2 Posts   491 Views

Avatar
Chriso

11 February 2012 at 11:32pm Community Member, 1 Post

Hey Guys,

I'm new in silverstripe coding. It's great! But I want to set z-index for the #Content and/or #ContentContainer from layout.css of the tutorial. It dosen't work. Would be great if someone could help?! Thx a lot!

Avatar
Pigeon

12 February 2012 at 12:18am Community Member, 243 Posts

Z index only works on absolutely or relatively positioned elements. Without your markup or css, or knowing what you want to achieve, it's pretty hard to help further than that.