Home Forums Weaver Xtreme Theme Border around images

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17876
    nilolaus
    Participant

    Hi!

    Can someone tell me where the gray borders around images come from? Is that a weaver issue or is it generated by wordpress? The code i see is:
    <p>
        <img class=”alignnone wp-image-597 size-full” width=”200″ height=”73″ alt=”Zur Webakte” src=”http://kgr-partner.de/wp-content/uploads/2015/06/webakte_login_01.jpg&#8221; style=”max-width: 98.5%; height: auto; background-color: #eeeeee; t…px; margin: 0.4em 0px 1em 0px; border: initial none #bbbbbb;“></img>
    </p>
    and what I mean you see at: http://kgr-partner.de/webakte/
    Thank you!
    #22627
    scrambler
    Moderator

    in the link you gave, the only image I see with a border is the one at the bottom with a lock image and Web Acte.

    if this is the one you mean, it has an inline style

    margin: 0.4em 0px 1em; padding: 8px; outline: rgb(119, 119, 119) solid 1px; width: auto; height: auto; text-align: center; max-width: 98.5%; box-shadow: 0px 1px 2px #bbbbbb !important; background-color: rgb(238, 238, 238); -webkit-box-shadow: #bbbbbb 0px 1px 2px; resize: none;

    and the 1px dark grey border is cause by the outline property in yellow above

    If not please elaborate about what image you area speaking of

    #22628
    nilolaus
    Participant

    Hi!

    Thank you for answering! 
    I found out that this is generated by the wordpress classes for aligning images (or so). For me it’s a miracle, that someone can think anyone needs a brown-grey field with a dark grey border behind an Image.
    Humans are crazy.
    Thank you!
    #22629
    Weaver
    Keymaster

    The classes for aligning the images are part of all themes – it is required. But they are for alignnone, alignleft, etc.The only place that inline styling came from (the style= part) would have to be a manual entry purposely done by someone at some time. Is is not generated by the theme.

    #22630
    nilolaus
    Participant

    No idea how it came to this, but I would definitely remember if I wrote an inline style that I definitely not want to have 😉

    Thank you.
    #22631
    scrambler
    Moderator

    Well someone or something did 🙂

    Check plugins

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