Center slider images

Home Forums SKT Full Width Forum Center slider images

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #167395
    Jan Romanowski
    Participant
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: October 10, 2020

    Hello,

    I want to center slider images for screens lower than 479px. The problem occurs with n-th-child.
    First and second is placed well but third and fourth are showing left-edge of the image.
    It happens only for lower resolutions.

    Site: http://romabutik.pl

    Jan

    #167439
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25854
    • Total: 25854
    Member since: August 16, 2013

    Hi,

    Kindly go to Appereance>>Theme Option>>Layout Setting>>Custom CSS Box

    Add this code there:

    @media screen and (max-width:479px) {
    .slide-2 img { left: -76% !important;}
    .slide-3 img { left: -60% !important;}
    }

    Regards,
    Dave

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