[Resolved] Question Regarding Documentation on Adjusting Featured Images

Home Forums Support [Resolved] Question Regarding Documentation on Adjusting Featured Images

Home Forums Support Question Regarding Documentation on Adjusting Featured Images

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #340338
    Coulter

    In the documentation on Adjusting Featured Images, there is a section entitled “Removing The Outside Padding/Spacing” Link. The code, as written, works great for the Blog Index page, but does not affect the Single Post Featured Image.

    I would like my Single Post Featured Images to have the same style. How would I achieve this?

    Thanks.

    #340339
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link me to a page? Easier for me to provide the correct code that way 🙂

    Thanks!

    #340369
    Coulter

    Is there a way I can send you a link privately? The site isn’t technically live yet, so I don’t want to post public links.

    #340373
    Leo
    Staff
    Customer Support

    Send it through Account Issue here: https://generatepress.com/contact/ and mention the topic. Thanks!

    #340375
    Coulter

    Link has been sent.

    #340379
    Leo
    Staff
    Customer Support

    Give this CSS a shot:

    .site-main .inside-article .page-header-image-single {
        margin-top: -40px;
        margin-left: -40px;
        margin-right: -40px;
        text-align: center;
    }

    You would need to have a bigger featured image to fill the area.

    Let me know.

    #340380
    Coulter

    So far it looks good. Given that the width of the image is slightly too small, is there a good way to just center it?

    #340381
    Leo
    Staff
    Customer Support

    But then there will be padding on both sides like the original way.

    Edited the code above though so you can give it a shot.

    #340382
    Coulter

    Looks good, thanks!

    #340383
    Leo
    Staff
    Customer Support

    Glad I could help!

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.