• Resolved leeannw

    (@leeannw)


    Hello! I’ve created a featured post slider, but since the images are smaller than the available space, they are left-justified. I would like to center them – does anyone know how?

    The site has an Under Construction landing page – to get around it and view, go to:
    https://laddcomm.com/wp-admin
    [Credentials moderated – Not safe]

    Thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try adding this to the images;

    display: table;
    margin: 0 auto;

    Thread Starter leeannw

    (@leeannw)

    Thanks Andrew! Where would I put this? In the custom.css file?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m not sure how that theme operates, does it tell you to put your CSS modifications in there?

    If so, enter this in there;

    .slides img {
     display: table;
     margin: 0 auto;
    }

    Thread Starter leeannw

    (@leeannw)

    It was in the style.css file and this code worked like a charm.
    You rock!!
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Center Images in Featured Post Slider’ is closed to new replies.