i really hope that somebody can help me… i am trying to add a carousel slider in my header… it works… however i have this problem that i would like to KEEP the TITLE and the HOUSE on the bottom right even if i use slide images… now when i add a slider… the HOUSE hides behind the images… i want it to be visible all the time…
How can we possibly know what may go wrong until you implement the slider? Please give us a test page with the slider in place. You are asking us to shoot at a target 1000 feet away, while blindfolded. This is impossible. Sliders also differ in code so we can’t even give you a universal response here. There is literally nothing we can suggest unless you give us a (broken) page.
I am sorry i didn’t upload my files. PLease take a look now.
So what i am trying to accomplish with z-index for example, i want the SLIDE images to BEHIND that HOUSE at the bottom right corner… so i want that house to be place OVER the image on the right side bottom.
Ah ok. We have many people come here and expect us to be psychic. Thankfully you don’t appear to be one of them. Thank you .
Child elements will always be placed on top. Negative z-index won’t work here I believe. Your best bet would be to make that house it’s own element and absolutely position it near the bottom. From there, stacking context should be easy to figure out.
Oke for the house… what is the best CSS code to start with since i am really confused and i don’t know how i can solve this. Since i am using this now as a background image inside the jumbotron class, how can i fix this?
This is a nice trick and yes you are using inline styling… but since i am using wordpress and a PHP code inside my divs i don’t think this wil be a good idea?
Just be careful if you are going to change the code of the carousel if it is a WordPress plugin. As soon as the plugin is updated, you will lose any changes you made to it. Use classes that are already part of the original code.
can somebody please take a look at my slider now. I have tried z-index: -1 an dtried working in Google chrome live editor… when i view second image it FADES and shows me the perfectly aligned background image of the house on the right bottom corner but it is for some reason not being PLACED OVER the image instead of behind it…
can somebody please give me a solution?