Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Dynamic content image placeholder on mobile

  • AngieWeikmann

    Hello!
    I have an issue with dynamic content where I place an image. I use ACF for custom fields for optionally 4 images and use the field value to place the image with dynamic content.
    https://praxis16.at/barbara-sparenberg/

    On desktop the result is as intended, in my browser’s version of the mobile view also. If the field is not filled with an image, there should be nothing to see.

    But on the actual mobile device I see a border, when there is no image uploaded. How can I get rid of the slight border?

    I hope you see what I mean on the screenshots.

    Thank you!
    Angie.

  • Hi there,

    Can you try this CSS?

    img.dynamic-meta-image:not(img[srcset]) {
        display: none;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.