- This topic is empty.
-
AuthorPosts
-
June 20, 2014 at 8:33 am #173289
asanti
ParticipantHi everyone!,
I’m currently using the LayerSlider and i want to know if it is possible to create an static div with the slides changing in the background, this is what i’m working on (the blue background with the text is what needs to be static):http://s27.postimg.org/bkhvsrrxv/Captura_de_pantalla_2014_06_20_a_la_s_12_01_22.png
Thanks!
June 20, 2014 at 8:40 am #173290Paulie_D
MemberYes,
What have you tried so far?
June 20, 2014 at 8:43 am #173291asanti
ParticipantHi Paulie, nothing yet,
I’m newbie in css
I’m kind of lost here, any clues?June 20, 2014 at 8:47 am #173292Paulie_D
MemberWell, you must have something if you are using the slider…
June 20, 2014 at 8:56 am #173293asanti
Participantyes paulie,
i have only the slides,this is the web, http://goo.gl/B56zPG
MOD EDIT – non-function HTML removed
June 20, 2014 at 9:21 am #173296Paulie_D
MemberI would suggest that you try and recreate that in Codepen.io.
Most of use don’t like having to use developer tools to rummage around other sites to see what’s going on.
June 30, 2014 at 9:04 am #174122asanti
Participantthanks for your advice, i’m getting closer to my goal!,
http://s30.postimg.org/5cbe5yl35/Captura_de_pantalla_2014_06_30_a_la_s_12_56_21.png
this is my css,
background: #084272;
height: 400px;
position: absolute;
left: 320px;
width: 337px;
z-index: 8;
zoom: 1;
opacity: 0.9;i’m currently using bootstrap, is there a way to make this div responsive? When i play with the browser size to different screens the div gets messy
June 30, 2014 at 9:13 am #174123Paulie_D
MemberI would suggest that you try and recreate that in Codepen.io.
June 30, 2014 at 9:29 am #174125asanti
Participantthanks paulie, a stupid question, should i paste all the css and js files used in the .html file?
June 30, 2014 at 9:37 am #174127July 10, 2014 at 2:23 pm #175170asanti
ParticipantHi everyone this where i am right now,
how can i make the text and blue caption responsive?
thanks i’m in a hurry!
July 11, 2014 at 7:18 am #175220Alan C
ParticipantWell you would use percentages to size things, or possibly vw units if you don’t care about total acceptance. Then just keep resizing the browser and check on phones ect using media queries to change it where needed.
But something like this would get you started
.blue-caption { height: 100%; position: absolute; left: 50%; margin-left: -15%; width: 30%; }
July 14, 2014 at 9:15 am #175395asanti
ParticipantThanks Alan, however, the responsive feature is not working, i manage to create this code in css to get the blue box responsive as the image,
The thing is that if i use a slider instead of a static image, when it slides the blue box and it contents hiddes behind the slider,
How can i solve this?
Thanks!
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.