Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!
    Karin

    #602343

    Hi 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,
    Rikard

    #602408

    Hi 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,
    Karin

    #603757

    Hey!

    Are you referring to this layerslider? both the text and the button are perfectly centered on my end – http://screencast.com/t/gTtPxb0r

    Cheers!
    Josue

    #604302

    Yes, 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,
    Karin

    #604309

    Hi!

    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,
    Josue

    #605061

    Hi 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,
    Karin

    #605131

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #605139

    Hi Josue,

    please find the login details in the private content. Username is: Enfold

    Regards,
    Karin

    #606124

    Hey!

    try a value with “%” instead of “px”.

    Cheers!
    Andy

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.