Home Forums WordPress Themes – Premium Preference Image Border not removing

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #15634
    Roland
    Member

    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.:

    #20663
    Sushil Adhikari
    Moderator

    Do you have a link to this site? I will take a quick look.

    #20664
    Roland
    Member
    #20665
    Sushil Adhikari
    Moderator

    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.

    #20666
    Roland
    Member

    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

    #20667
    Sushil Adhikari
    Moderator

    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 🙂

    #15635
    Roland
    Member

    Yeah, when I use the WordPress Advanced image editor it spits out the wonky: &quot code

    Weird, eh?

    And my other mistake was not deleting the <img class="aligncenter

    Thanks for your help!

    ~R

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.