Tagged: andy, LayerSlider
-
AuthorPosts
-
March 22, 2016 at 5:31 pm #602017
Hi,
I am working with the LayerSlider module and am wondering whether it is possible to place a second layer in the middle of the first layer.
E.g. my first layer is a picture of 1600×375 pix and my second (and third) layer is a line of text. I would like to have this line of text in the middel of the picture. Of course I can change the settings to set the pixels distance from the left side but this is quite hard to find the centre of the picture.
Hope you can help!
Thanks!
KarinMarch 23, 2016 at 6:59 am #602343Hi Karin,
I’m not sure I understand what you mean, could you post a screenshot or mockup highlighting the result you are looking to achieve please?
Thanks,
RikardMarch 23, 2016 at 9:56 am #602408Hi Rikard,
Thanks for your reply,
We use the advanced layer slider for each page on our website. You can check our homepage (see private content) for an example.
The first layer is a picture, the 2nd layer is a line of text which comes in with a slight delay. In the “LayerSlider WP” I adjust the settings for each layer. In the tab “styles” I adjust the position from the left side in pixel. For example: 200 pix will move the line of text 200 pix to the right. However I want to have the line of text exactly in the middle of the picture and don’t know how to get this. I know my picture is 1600 pix wide but this doesn’t help cause I don’t know how big my line of text is.Does this explain a bit more?
Sorry I can’t paste a screenshot in this text box.Regards,
KarinMarch 26, 2016 at 2:47 am #603757Hey!
Are you referring to this layerslider? both the text and the button are perfectly centered on my end – http://screencast.com/t/gTtPxb0r
Cheers!
JosueMarch 29, 2016 at 8:51 am #604302Yes, this one and all the others.
This one is not exactly in the middle and it takes ages to get all the text boxes kind of in the middle. So my question is: is there not a way to centre the text box?Regards,
KarinMarch 29, 2016 at 9:05 am #604309Hi!
Have you tried playing around with the Left/Right (Style tab) options in the Layer or with the custom CSS field? try with this (CSS):
position: absolute; margin: 0 auto; left: auto; right: auto;
Best regards,
JosueMarch 30, 2016 at 10:02 am #605061Hi Josue,
I already tried playing around with the style tab but it so hard to get it exactly in the middle. This is not duable.
CSS doesn’t seem to work either :-(
Any other tips?Cheers,
KarinMarch 30, 2016 at 1:32 pm #605131Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueMarch 30, 2016 at 1:47 pm #605139Hi Josue,
please find the login details in the private content. Username is: Enfold
Regards,
KarinMarch 31, 2016 at 7:01 pm #606124Hey!
try a value with “%” instead of “px”.
Cheers!
Andy -
AuthorPosts
- You must be logged in to reply to this topic.