- This topic has 6 replies, 10 voices, and was last updated 9 years ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress Themes – Premium › Preference › Image Border not removing
Andre:
I’m laying-out a series of small images in a 6 column layout (one image per column) and I am trying to remove the color image border from ONLY THESE images. I found another post where you suggested adding the style=bordernone code (e.g.:
Do you have a link to this site? I will take a quick look.
Awesome..thanks for the link. The bordering is applied to this CSS in the style.css file (which you can edit directly if you want because there are no more updates to this theme).
.img-intro img,
.img-intro-left img,
.img-intro-right img,
.img-intro-none img,
.imageborder,
.contact-image img,
.entry-attachment img,
img.alignnone,
img.alignright,
img.alignleft,
img.aligncenter,
div.wp-caption img {
border-bottom:8px solid #78a5b6;
}
You can choose all or select images above to do this:
border: none; (or border: 0;)
In relation to that page with the logos, you could do:
img.aligncenter {
border: 0;
}
By the way, your added style to the image tag should work but I noticed you have the coding incorrect on a couple:
<img class="style="border:none;" aligncenter" .......
It should be:
<img class="aligncenter" style="border: none;"
Another you have as:
<img class="aligncenter style=" src="http://dev.floridametrology.com/wp-content/uploads/Nu-Flexbar-1.png" .......
But the style=” is wrapping the image src, which it should not be.
Andre:
This site has a whole lotta images and we like the borders on them. It’s just this one page with 18 small images that we want border-less so I don’t want to apply a universal css unless that’s my only choice.
Is it my only choice?
:S
You’re fast…I just added an update to my last posting. Anyway, then to be selective, you can do your no border on the image tag like you were trying before, but just make sure your code is done correctly 🙂
Yeah, when I use the WordPress Advanced image editor it spits out the wonky: " code
Weird, eh?
And my other mistake was not deleting the <img class="aligncenter
Thanks for your help!
~R
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.