Centre align of Featured Image in Blog - by Lily

Solved5 replies3 participantsUpdated by Robert Hall

  • Avatar: Lily
    Lily
    Participant

    Hi,

    At the moment the Featured Image on the blog is left aligned by default, could you point in the right direction to make this image default centre align?

    5 Answers

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    Please try to add the following code in custom.css file.

    .post-images ul.slides li {
        text-align: center;
    }

    Regards,
    Robert Hall.

    Avatar: Lily
    Lily
    Participant

    Hi,

    Thanks for that, but it didn’t make an difference, I have kept the CSS in so you can see.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Try to use this code instead of the previous one:

    .blog-post .wp-picture img {
        margin-left: 20%;
    }

    Best regards,
    Jack Richardson.

    Avatar: Lily
    Lily
    Participant

    Many thanks for that

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

The issue related to '‘Centre align of Featured Image in Blog’' has been successfully resolved, and the topic is now closed for further responses