Site logo

[Resolved] full-width featured image for mobile responsive pages

Home Forums Support [Resolved] full-width featured image for mobile responsive pages

Home Forums Support full-width featured image for mobile responsive pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2115191
    Marko

    Hey guys,

    Sorry I tried to search for this but couldn’t find an answer.

    I want to be able to make my posts full width, just like my page setup in the private details. However my post setup seems to follow the same margin as the text but I haven’t been able to fix this myself, hoping you might be able to point me in the right direction settings or css wise with generatepress? Thank you.

    I’ve also shared screenshots in mobile view to show what I mean.

    Thank you.

    #2115571
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    @media(max-width: 768px) {
        .post-image-above-header .inside-article .featured-image {
            margin-left: -30px;
            margin-right: -30px;
        }
    }
    #2116133
    Marko

    Thank you David, that worked perfectly.

    #2116542
    David
    Staff
    Customer Support

    You’re welcome

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