• Resolved Charmer83

    (@charmer83)


    Why is there a border around this image, because I was given a code to put in my appearance customize additional css and it worked for this page https://stemcellsamplified.com/x39-patch/ something is really off somewhere. Can someone please help me it’s driving me nuts

    The page I need help with: [log in to see the link]

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; }

    Vlad T

    (@vladytimy)

    Try

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

    or

     img {
        border: none!important; 
    }

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

    Vlad T

    (@vladytimy)

    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

    Vlad T

    (@vladytimy)

    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

    Vlad T

    (@vladytimy)

    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.