Posted by figtree_development on June 10, 2014 at 7:11pm
I am curious. I am sure what I am wanting to do has been done before. I am attempting to build a theme using omega as the parent. I would like for the content zone to contain(at least on the homepage) a slider of images in the background with fixed-column-paneled content on top of it.
In other words the slider moves behind the paneled content.
Has anyone attempted this? I would think a zlayer css-magic trick could make this happen. unfortunately I have been unsuccessful. Thoughts?

Comments
Hi Jason, Most slideshow
Hi Jason,
Most slideshow modules are running a lot of javascripts that are altering the z-index of the slide containers. Most of the time, the javascripts are making those changes as inline style changes on those containers.
So, I'm guessing you're probably trying to set z-index of the slides or the slideshow container but those values won't be inherited.
It's probably possible but you may need to set a bunch of "crazy high" z-indexes on the items you're trying to float over top.
More info on exact modules and/or example would be helpful to get more detailed tips.
--
Digital Frontiers Media
Omega 4
Hi Jason,
Here is an example I put together using a simple views slideshow.
Screen shot of the scss and tpl.php
http://take.ms/gkVcr
Short screencast of the final results
http://monosnap.com/file/T4yMDxMp1PAIGls1HPVPoFZPZhSpZW
@C13L0 Interesting. I was
@C13L0
Interesting. I was always under the assumption that using negative z-index values would cause problems with setting simple things like background-color on the body, i.e. setting it to anything other than transparent would then cover up the negatively z-indexed item. And then you'd have to negatively z-index body farther back still, and then what kind of fun inheritance ensues from there? I've never actually bothered to test my assumptions so they may, indeed, be completely wrong. Curious as to your thoughts/experience on it.
Are there any IE implications to setting an item negative like that?
--
Digital Frontiers Media
You are right. I normally
You are right. I normally wouldn't use a negative z-index but I couldn't get it to work properly without using a negative value. We need a theming guru in here! Where is Blaldwin when he is needed?
Interesting question...
If someone could post an actual site demonstrating the problem, I'd be happy to take a look. I think things with Views Slideshow tend to be pretty bloated and difficult to modify. You could likely make a slider yourself that would work better without too much trouble.
Use a view to get the markup the way you'd like it, add a little CSS and jQuery and you should have something.
Here's a quick example I found that might inspire:
http://codepen.io/zuraizm/pen/vGDHl
John Hannah
Friendly Machine
@DigitalFrontier Thanks for
@DigitalFrontier
Thanks for making me rethink that!!! I overlooked a basic rule. z-index only works on position elements (position: relative, postition: fixed, etc) There was no need to change the z-index on the view but instead on the custom regions.
Here is the updated code with the views css removed as it was not needed.
http://take.ms/8XiV7
Screenshot of final result with an aliceblue background added for testing
http://take.ms/7r0M4
regions and background slideshows ...
so, this is definitely possible, and not too difficult if you're creating a custom layout. If you can, create a special region for the front page, and in the layout.css don't assign any grid width to that region. What you'll then want to do, is create a template for that region, and a "region.preprocess.inc" in Ω4's preprocess folder. check against the region's machine name in an if statement, then create a template variable that equals "views_embed_view('view_name', 'display_id', array('arg_1', 'arg_2')); argument array is optional. Once you have that variable defined, open the region template that you previously created and output it where necessary. In your styles, assign the grid width to the elements that you need to (I'm assuming each slide will have it's own content container, for things that aren't the image). This will give you a full width image slider, with columnar content "on top" of it, and does not require any z-index hackery. good luck. ping me in IRC if you need some hand-on assistance, or if you'd like to schedule a time where we can share screens and go over this together.
-Erik
ThatGuy@ErikBaldwin.com
ThatGuy@CLoudNYNEDesign.com
http://www.ErikBaldwin.com
http://www.CLoudNYNEDesign.com
@CLoudNYNE on Twitter
currently in Portland, OR
Congratulations! You have
Congratulations! You have been chosen to give a demonstration at one of our infamous Brevard meetups =)
When I can pencil you in?
I agree
First of all a HUGE thank you too all of YOU. Since I am in SRQ, I would love to see a online demonstration. I am also still working in Omega3. YES YES I know I need to move to Omega4....