Home › Forums › Weaver Xtreme Theme › Border around images
- This topic has 5 replies, 3 voices, and was last updated 11 years, 3 months ago by
scrambler.
-
AuthorPosts
-
June 10, 2015 at 15:22 UTC - Views: 1 #17876
nilolaus
ParticipantHi!
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” 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!June 10, 2015 at 18:01 UTC - Views: 4 #22627scrambler
Moderatorin 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
June 10, 2015 at 18:27 UTC - Views: 1 #22628nilolaus
ParticipantHi!
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!June 10, 2015 at 19:00 UTC - Views: 1 #22629Weaver
KeymasterThe 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.
June 10, 2015 at 20:03 UTC - Views: 1 #22630nilolaus
ParticipantNo 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.June 10, 2015 at 20:27 UTC - Views: 1 #22631scrambler
ModeratorWell someone or something did 🙂
Check plugins
-
AuthorPosts
- You must be logged in to reply to this topic.

