WordPress.org

Ready to get started?Download WordPress

Forums

Clean Retina
[resolved] Center Images in Featured Post Slider (5 posts)

  1. leeannw
    Member
    Posted 1 year ago #

    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!!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try adding this to the images;

    display: table;
    margin: 0 auto;
  3. leeannw
    Member
    Posted 1 year ago #

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

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    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;
    }
  5. leeannw
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic