[Support request] how to centre a Feature image?

Home Forums Envy Blog how to centre a Feature image?

This topic contains 8 replies, has 5 voices, and was last updated by  smithavant 7 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1886

    Kai
    Participant

    how do you centre a Feature image?

    also

    can you also recommended the preferred pixel dimensions that work best with this theme?

    #1898

    Rabindra
    Keymaster

    Hi @kai,

    Will you please allow us your site URL and where exactly you want to center the feature image either on a blog page or single post/page.

    Thanks!

    #1901

    Kai
    Participant
    This reply has been marked as private.
    #1902

    Kai
    Participant

    can you also recommended the preferred pixel dimensions that work best with this theme?

    this relates question relates to the feature image on a blog post

    #1904

    Suvanno
    Keymaster

    Hello Kai,
    to center featured image you can simply add this CSS codes to your site via customizer-> additional css

    .featured-image img {
        margin: 0 auto;
    }

    Prefered image dimension is with 1200px width and height will be adjusted automatically.

    let me know if you are facing any other issues regarding this theme. Thanks

    Regards

    #4715

    sivanandha
    Participant

    I tried that approach, but I still see the image misaligned. here is an example. can you help me with this, please?

    Brand Identity – Branding your business

    #4721

    Suvanno
    Keymaster

    Hello @sivanandha,
    It works, please try adding those CSS code to your site via customizer.

    .featured-image img {
        margin: 0 auto;
    }
    #4723

    sivanandha
    Participant

    I see that it works when I add it to the customizer. but for some reason, it’s not working if I add it to the child themes CSS. thanks

    #5164

    smithavant
    Participant

    I think the image which is to be uploaded, it is needed a measurement and characters such as a resolution and size

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.