Pregunta a l'IA
Hola! Pregunta'm qualsevol cosa
Useful templates

These templates use the wiki syntax to create Semantic-UI elements. By default, Elephant uses the template-semantic root for web templates.

Web site solution vs. Email solution

It's important to understand differences between the content published in the web from that sent by email.

Emails cannot use web frameworks. Email applications do not allow the whole set of CSS rules, neither accept executing all JavaScript code. In short, emails use a subset of the wiki syntax in order to allow publications to be sent by email and show as expected. As a rule, do not use framework specific classes in email content.

Left image, right centered text

Web site solution


This is an example of middle and center aligned text

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Code

[html(&class:ui stackable middle aligned grid)]
[html(&class:six wide column,padding-top:0px,margin:0px,line-height:0px)]
[img repository(/abstractal1.jpg)]
[/html]
[html(&class:ten wide column)]
[block(&class:ui basic center aligned text container segment,font-size:2.1em)]
---+This is an example of middle and center aligned text

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
[/block]
[/html]
[/html]

Email solution


This is an example of middle and center aligned text

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Code

[column(width:35%)]
[img repository(/abstractal1.jpg)]
[column(width:65%,text-align:center,vertical-align:middle,font-size:2.1em)]
---+This is an example of middle and center aligned text

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
[/column]
[/no-format]