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 /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

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

Go to End

2 Posts   909 Views


Community Member, 1 Post

11 February 2012 at 11:32pm

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!


Community Member, 253 Posts

12 February 2012 at 12:18am

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.