Layering Widgets?

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Anyone know if there's a way to layer widgets? I wrote code so I could have a background slide in, but I can't make it into a background, per se?
Photo of rachelhamel90

rachelhamel90

  • 1 Post
  • 0 Reply Likes
  • frustrated

Posted 7 years ago

  • 1
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hi Rachel,

Most widgets don't have an input facility which would allow you to set the Z-level. Some do and certainly you can do it with code in an HTML widget.

It's a bit of a balancing act to do this as most styles have an opaque background so you need to find out the Z-level of the style background, set your own slide-in above this then finally your content above this.



The image is taken from Smashing Magazine: http://coding.smashingmagazine.com/20...

W3 Schools have information on the Z-levels if you need to reference this.http://www.w3schools.com/cssref/pr_po...