[Resolved] way to make featured image in post display as a right aligned smaller image?

Home Forums Support [Resolved] way to make featured image in post display as a right aligned smaller image?

Home Forums Support way to make featured image in post display as a right aligned smaller image?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #314554
    sdanbu

    I’m trying to make the featured image right aligned and text surrounding it like a rectangle under the TItle of the blog post?

    #314557
    Leo
    Staff
    Customer Support

    Hi Scott,

    Try this CSS:

    .post-image {
        float: right;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #314566
    sdanbu

    Thanks that works but is there a way to make the text surround the image?

    #314567
    Leo
    Staff
    Customer Support

    It should be around the image. There needs to be enough text or the image needs to be smaller.

    I used the same code here: https://s2.postimg.org/vhqqelpvt/2017-05-05_1504.png

    #314568
    Leo
    Staff
    Customer Support

    Wait sorry you shouldn’t need that CSS.

    You can set it in Customizer > Blog > Featured Images > Alignment > Right

    #314569
    Leo
    Staff
    Customer Support

    and make sure the Location is Below Title.

    #314576
    sdanbu

    Thanks

    #314583
    Leo
    Staff
    Customer Support

    You’re welcome!

    #314711
    sdanbu

    For some reason why I try use the customizer>blog>featured image settings

    the featured image doesn’t shrink automatically. Do I have to manually shrink the featured images?

    I saw some info here but it looks like these might change other instances of featured image, such as other pages with using wp post
    https://docs.generatepress.com/article/adjusting-the-featured-images/

    #314739
    Leo
    Staff
    Customer Support

    You can adjust the width and height using the customizer.

    Keep in that those settings only apply to featured image on the main blog page, not single posts.

    Let me know if this helps.

    #314754
    sdanbu

    Thanks yes I’m wondering how to do it on single posts?

    #314756
    Leo
    Staff
    Customer Support
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.