Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #220947

    Hi there,

    The layer slider is on mobile devices not centered. It’s aligned left..

    When I use margin-left to center the slider, this works but then the video playing is still aligned in
    it’s original position..

    I added this code for the portrait version of tablets:

    @media only screen and (max-width: 800px) and (min-width: 767px) {
    /* Tablet styles Portrait */

    html * .ls-container img, body * .ls-container img, #ls-global * .ls-container img {
    margin-left: 37px;
    }}

    I have left the code online so you can have a look at what i mean: http://www.videyou.nu/wp

    Any suggestions?

    Thanx!

    #221129

    Hey Ben!

    Please try to move the video using this:

    @media only screen and (max-width: 800px) and (min-width: 767px) {
    .ls-s2.ls-video-layer {
    left: 50px !important;
    }
    }

    Regards,
    Ismael

    #221230

    That worked like a charm!

    Thank you! You guys are amazing!! I have had the privilege to learn so much from you!! :-)

    Chrs!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘The Layer slider is on mobile devices not centered’ is closed to new replies.