Disable borders around images
-
Hi,
Is there any way to disable all bordes around images at once with graphene? (for example with Custom-CSS?).
Thank you for answering
ModMoved to support.
This has been answered many times. Add
img {border:none;}
to either custom css or child theme stylesheet.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
}ModThat 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.
Ken, can anyone add tags to a thread? Even if it’s not the person who started the thread?
ModI 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.
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.
ModI 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.
The problem is that I’m not very well in programming. But the code in your last post is OK.
ModGlad 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.