Margin above featured image on Twenty Fifteen

  • Unknown's avatar

    Hi,

    I am using the Twenty Fifteen theme. The featured image on my home page displays hard up against the top of the page. It would look better if there was a margin above the image.

    Is it possible to set one up using CSS Customisation .. and if so how?

    Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello,

    You can fix that with CSS. To give that image a little top border all you need to do is add this text to your CSS customization.

    .post-thumbnail img{
    padding-top: 10px;
    }

    You can change the number of pixels to what ever size suits you best.

    I hope this helped. Let me know if you have any questions.

  • Unknown's avatar

    Worked fine. Thanks for that and for the prompt response.

  • The topic ‘Margin above featured image on Twenty Fifteen’ is closed to new replies.