-
AuthorPosts
-
July 24, 2015 at 7:09 pm #339760
My web site is http://www.mikewolfpost.com
I have a 1920×1080 (16×9) slider that I am using above the masthead. It is rotating frames of HD material I have worked on. I have a static layer with my logo in it
I placed the logo in the static layer in the top/let corner of the slide as I want it to stick to the top and the left edge of the frame. However, it seems to be wanting to live in the top/left corner of an invisible 16×9 area within the browser no matter what size the browser is. So it only lives in the correct spot if the browser happens to be sized to 16×9, and it floats around when the browser is resized.
What settings should I use to make the static slide logo stick to the top/left of the browser no matter what shape the browser window happens to be?
Essentially I want it to behave just like the Scroll Bottom Anchor.
Thanks.
July 25, 2015 at 1:46 am #339966Hello There,
Thanks for writing in!
That happens because the position of the logo gets calculated according to the browser size. To make the position always on the top left corner of the slider, you can make use of this code instead. Please add this code in your customizer, Appearance > Customize > Custom > CSS
.tp-static-layers .tp-static-layer { top: 10px !important; left: 10px !important; }
Let us know if this has been helpful to you.
July 25, 2015 at 2:54 am #340008Geniusness. Thanks again!
July 25, 2015 at 5:21 am #340073You’re most welcome.
July 30, 2015 at 9:25 pm #345913This code freezes all static layers to 10,10-
.tp-static-layers .tp-static-layer { top: 10px !important; left: 10px !important; }
Is it possible to target only one static layer so that the first static layer is fixed (as above) but the second layer uses default behavior?
July 31, 2015 at 12:38 am #346040Hi,
You can change the code to this.
.tp-static-layers .tp-static-layer:first-child { top: 10px !important; left: 10px !important; }
Hope that helps.
July 31, 2015 at 5:14 am #346240Awesomeness. Thanks for the quick response!
July 31, 2015 at 5:59 am #346267You’re welcome!
August 11, 2015 at 3:16 am #355781I upgraded to Slider Revolution 5 and this functionality does not work anymore. Is there new CSS to have the first static layer in the slider be fixed on screen (see above)? Again, I want to make the static slide logo stick to the top/left of the browser no matter what shape the browser window happens to be? Essentially I want it to behave just like the Scroll Bottom Anchor.
And only the first static layer. We had it working with Slider Revolution 4.x
Many thanks.
August 11, 2015 at 4:47 am #355833Hi,
Kindly replace the code with this.
.tp-static-layers .tp-mask-wrap .tp-static-layer:first-child { top: 10px !important; left: 10px !important; }
Hope that helps.
August 11, 2015 at 5:13 am #355851That did not work. Still floating.
http://www.mikewolfpost.comAugust 11, 2015 at 5:22 am #355864Hi,
Sorry about that, the code should be.
.tp-static-layers .tp-parallax-wrap:first-child { top: 10px !important; left: 10px !important; }
Hope that helps.
August 11, 2015 at 5:29 am #355871Yessir! Many thanks.
August 11, 2015 at 5:58 am #355896You’re welcome! 🙂
-
AuthorPosts