Featured image and text alignment

  • Author
    Posts
  • #160563

    albajen
    Member

    Hi

    I was wondering if there is any way to make the featured image of a post the same width of the page as the text?

    I have a single column list for my blog posts roll so that they are centred within the page, which I like. However, when I set a featured image for a post within the roll it is narrower than the excerpt or preview text below. Is there a way to align the featured image with the text? Essentially I’d like the featured image to match the width of the text and the ‘read more’ button.

    I hope this makes sense.

    Thanks!

    The blog I need help with is jenniferburns.co.uk.

    #160577

    ricardpriet
    Theme Author

    Hello there,
    thank you for using our theme :)

    Yes, it is possible adding this CSS:

    .entry-thumbnail img {
        width: 100%;
        max-width: 100%;
    }

    Here you are how to add it to your WordPress site:
    https://wordpress.com/support/custom-design/editing-css/

    However, unfortunately you will see that the image has a bit blurry. To show the original image instead of this cropped image (which is max 750px), a child theme is needed, but this is only available in business plan or higher.

    Hope this help :)
    best,
    Ricardo

The topic ‘Featured image and text alignment’ is closed to new replies.