[Resolved] Forcing the width of the featured image of the post detail page

Home Forums Support [Resolved] Forcing the width of the featured image of the post detail page

Home Forums Support Forcing the width of the featured image of the post detail page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #324528
    Mildmac SA (ESA78960895)

    Hello,
    How can I force the width of the featured image of the posts on the detail page to have a determined size, and that if the image is smaller it can be enlarged
    Thank you
    Rafael

    #324546
    Tom
    Lead Developer
    Lead Developer

    You could try this:

    .page-header-image-single img {
        width: 100%;
    }

    You can change the width to whatever you like.

    #324591
    Mildmac SA (ESA78960895)

    Great Tom. It worked perfectly.
    Sorry for my ignorance with CSS.
    Thank you very much

    #324699
    Tom
    Lead Developer
    Lead Developer

    No apologies needed! Always happy to help 🙂

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