Support » Plugin: Gutenberg Post Blocks » Post image size calculation

  • Resolved mkdev

    (@mkdev)


    So I have the first grid image set to 550px, but the result is this (which displays as a 550px block but image is only half):

    .ultp-block-item:first-child .ultp-block-content-overlay {
    height: calc(550px/1.5);
    }

    I can overwrite it via css but from where comes this calculation?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpxpo

    (@wpxpo)

    Hi @mkdev,

    Thank you for using our post blocks plugin. We used CSS to calculate image size. So, you can easily override plugin CSS. Could you please tell me which blocks you are using?

    Note: If you share your website URL then I can understand properly your issue.

    Hi,

    Thanks for the response.

    I’m using “Post Grid #3” with only 1 post in the query. (as a hero image)
    It’s followed by a Post grid 2. (no issues here)

    The website is not live yet.

    Plugin Author wpxpo

    (@wpxpo)

    Hi @mkdev,

    We have used a specific design for post grid 3. If you want to use this block then must have to display 3 posts or more. If you want to display 1 post then you can use the post grid 2. Hope you will understand.

    If you are satisfied with our support then give us a five-star review in the WordPress directory. As a new plugin developer, it helps us a lot.

    Have a nice day.

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