Disable borders around images

  • Anonymous

    #2159

    Hi,

    Is there any way to disable all bordes around images at once with graphene? (for example with Custom-CSS?).

    Thank you for answering

    Mod

    Kenneth John Odle

    #19098

    Moved to support.

    This has been answered many times. Add img {border:none;} to either custom css or child theme stylesheet.

    Tigeryoshi

    #19099

    Thank you.

    I know this has been asked many times before but I didn’t find it.

    EDIT: No, this code doesn’t work. But when I gave your code to the search I found an extendend version:

    Code:
    .entry-content img{
    border:0px
    }
    Mod

    Kenneth John Odle

    #19100

    That will only change images in your posts, but presumably that’s what you want.

    You’re right, sometimes it’s hard to find things here, because people use vague or generic titles for their threads, or they hijack other threads. If we tagged our threads better, that may make searching easier. I will try to do this more consistently from now on.

    Anonymous

    #19101

    Ken, can anyone add tags to a thread? Even if it’s not the person who started the thread?

    Mod

    Kenneth John Odle

    #19102

    I honestly have no idea. I know very little about bbPress. (Although I like it because it’s much like WordPress, and much easier to use than other forum software.) But if you click on a tag, it takes you directly to a listing of threads with that same tag. Much easier than searching.

    Tigeryoshi

    #19103
    Quote:
    That will only change images in your posts, but presumably that’s what you want.

    You’re right, sometimes it’s hard to find things here, because people use vague or generic titles for their threads, or they hijack other threads. If we tagged our threads better, that may make searching easier. I will try to do this more consistently from now on.

    What does/should your code do? I didn’t see any effect when I tested it. Anyway thank you for help.

    Mod

    Kenneth John Odle

    #19104

    I was just pulling that off the top of my head, presuming it would change all images. But other bits of code could also affect how images display. Something like this

    img {border:0px !important;}

    might be more universal. But again, none of this is tested, I’m just thinking off the top of my head.

    Using Firebug is always your best bet for precisely figuring out what you are trying to change.

    Tigeryoshi

    #19105

    The problem is that I’m not very well in programming. But the code in your last post is OK.

    Mod

    Kenneth John Odle

    #19106

    Glad it worked! I’ll do a tutorial about images in the future.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!