• Resolved Rh7783

    (@rhaitken)


    Hiya,

    Hoping someone could tell me how to centre the featured image on my post pages? (Or how to have a thumbnail picture on my homepage, without the picture being actually added to the top of the post).

    I am using the theme Smart Magazine, my site is here and an example of this annoying left aligned featured image can be found here

    I am pretty new to WordPress so any help is very very welcome! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you want your featured image to center:

    .featured_image img {
        margin: 0 auto;
        display: block;
    }

    If you want your featured image to fill the full width of the post:

    .featured_image img {
        width: 100%;
        height: auto;
    }
    Thread Starter Rh7783

    (@rhaitken)

    Thank you, that worked great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: Smart Magazine] How to centre featured image?’ is closed to new replies.