[Resolved] Border only on some images?

Home Forums Support [Resolved] Border only on some images?

Home Forums Support Border only on some images?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #844832
    Lilian

    Hello,

    I think the theme I use on my website already had image bordering installed into it for blog posts, however, only some images have borders and some do not. I can’t seem to find how to fix this?

    I want all images that show up in blog posts to have the border.

    Please help. Thank you!

    #844848
    Leo
    Staff
    Customer Support

    Hi there,

    Can you guide me to a specific post I should be looking at?

    I checked a couple and don’t see any border around the images.

    Let me know ๐Ÿ™‚

    #844861
    Lilian

    Yes, I just posted this one.

    https://crazyfuntravel.com/2019/03/20/is-japan-super-safe/

    All the image have borders except for the third image.

    #844875
    Leo
    Staff
    Customer Support

    I’m not seeing borders on any of the images.

    No borders property showing in code either.

    Can you try clearing your browser cache?

    #844884
    Lilian

    So weird. I notice that when I create a post with WordPress editor, the border is there. But if I edit it with Elementor, the border is gone. If I want to be sure that all images have a blog post, what can I do?

    #844888
    Leo
    Staff
    Customer Support

    all images have a blog post

    Not sure what you mean?

    #844898
    Lilian

    I would like all images in blog posts have borders

    #844905
    Leo
    Staff
    Customer Support

    Try this CSS:

    .wp-block-image img {
        border: 2px solid #333;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #844967
    Lilian

    Thank you. That worked.

    #844996
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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