How to center the featured image - by inclusivesolutions

This topic has 2 replies, 2 voices, and was last updated 8 years, 2 months ago ago by Robert Hall

  • Avatar: inclusivesolutions
    inclusivesolutions
    Participant
    January 29, 2016 at 08:50

    Hi, I would like to center the featured image on all posts. What custom css do I need to use to do this?

    eg. http://inclusivesolutions.co.za/autism-start-communicating/

    thanks

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 29, 2016 at 09:26

    Hello,

    Please try to add this code in custom.css file.

    .blog-post .wp-picture img {
        position: relative;
        left: 50%;
        margin-left: -430px;
    }

    Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.

    Regards,
    Robert Hall.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.