We're merging with GenerateBlocks! Learn more here.

[Resolved] polaroid reduce image and enlarge content-wrap

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support polaroid reduce image and enlarge content-wrap

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23642
    Carlo
    Participant

    Hi there,

    card style: polaroid.

    I’d like to proportionally reduce the size of the image and enlarge the size of the content wrap.
    Let’s say: 40% image and 60% content-wrap.
    And since the image’s width is reduced, the height of the image (and of the whole row) should be proportionally reduced as well

    How can I do that?
    Thank you

    #23758
    elvin
    Moderator

    Hi,

    For the ratio. Adjust these 2.

    .wpsp-card.wpsp-row .wpsp-content-wrap {
        flex: 1 0 60%;
    }
    .wpsp-row .wp-show-posts-image {
        flex: 1 0 40%;
    }

    You can add in height property if you need it.

    #23772
    Carlo
    Participant

    Thank you Elvin, It works.

    #23882
    elvin
    Moderator

    Nice one. Glad it works for you.

    No problem. 🙂

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