Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Howdy!

    What was the CSS you were given? I have a feeling that it may have been given to target only that image.

    Thread Starter Charmer83

    (@charmer83)

    Yep I think so too… .post-44 img{ border: none !important; }

    Try

    .type-page img {
        border: none!important; 
    }

    or

     img {
        border: none!important; 
    }

    The last one should disable border for any image on your website.

    Or use this to disable border only for those two posts

    .post-44 img, .post-228 img { 
      border: none !important;
     }

    Hope this helps.

    Thread Starter Charmer83

    (@charmer83)

    Thank you… there will be more than 2 images on this site, I’ve just started working on it. I’m not happy with the new wp block editor, it throw a lot of the content out of whack

    Did you try

    .type-page img {
        border: none!important; 
    }

    OR

    img {
        border: none!important; 
    }

    ?

    These ones are generally available, not only for those specific posts.

    The default border around images is not a WP Block Editor feature. This comes from your theme design.

    Thread Starter Charmer83

    (@charmer83)

    I will try these and let you know. Do I put it on my child theme or the customize additional cost area

    Additional CSS should be enough for this.

    Thread Starter Charmer83

    (@charmer83)

    I used
    img {
    border: none!important;
    }

    and it worked for the 2 pages just hope it continues for any other images I add

    Thread Starter Charmer83

    (@charmer83)

    Thank you that one worked for more images… I guess I’m good to go on that one. Thanks again

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘border around image’ is closed to new replies.