Support » Theme: Clean Retina » Center Images in Featured Post Slider

  • 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:
    http://laddcomm.com/wp-admin
    [Credentials moderated – Not safe]

    Thanks!!

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

    (@anevins)

    Forum moderator

    Try adding this to the images;

    display: table;
    margin: 0 auto;

    leeannw

    (@leeannw)

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

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    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;
    }

    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.