Skip to main content

With the media element you can display icons or images beside the text, without having a break in the text around the picture. Further information here.

The shortcode consists of three parts. Firstly there is the tag media around the complete code. Then there is the media_object, which contains the image or the icon and finally the media_body. Only the media_object has attributes.

Code

[pastacode lang=”markup” manual=”%26%2391%3Bmedia%26%2393%3B%0A%26%2391%3Bmedia_object%20style%3D%22left%22%20aligned%3D%22top%22%26%2393%3B%3Cimg%20src%3D%22http%3A%2F%2Fplacehold.it%2F150x150%22%20alt%3D%22%22%20%2F%3E%26%2391%3B%2Fmedia_object%26%2393%3B%0A%26%2391%3Bmedia_body%26%2393%3BLorem%20ipsum%20dolor%20sit%20amet%2C%20consetetur%20sadipscing%20elitr%2C%20sed%20diam%20nonumy%20eirmod%20tempor%20invidunt%20ut%20labore%20et%20dolore%20magna%20aliquyam%20erat%2C%20sed%20diam%20voluptua.%26%2391%3B%2Fmedia_body%26%2393%3B%0A%26%2391%3B%2Fmedia%26%2393%3B” message=”” highlight=”” provider=”manual”/]

Attribute

Name Content Default value Meaning
style left, right left Defines the orientation, whether the element is hanging on the right or the left.
aligned top, middle, bottom Defines the orientation, whether the element is hanging on the right or the left.

War dieser Artikel hilfreich?

1 Star2 Stars3 Stars4 Stars5 Stars
1.00 / 5

Keine Kommentare vorhanden


Du hast eine Frage oder eine Meinung zum Artikel? Teile sie mit uns!

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*
*