mediafactum.
Multimedia- und Webprojekte

Verantwortlich für Website und Inhalte:

Volker Siebert
EDV-Dienstleistungen
Knobelsdorffstraße 100
14050 Berlin

v.siebert@mediafactum.de

mediafactum.
Volker Siebert, EDV-Dienstleistungen

  Knobelsdorffstr. 100
14050 Berlin (Westend)
  +49 (0) 30 34 65 08 -62
  +49 (0) 322 283 546 78
  xxxx yyyy
  www.mediafactum.berlin
<ul class="list-unstyled">
<li><i class="fa fa-envelope"></i> anschrift</li>
<li><i class="fa fa-phone"></i> tel</li>
<li><i class="fa fa-fax"></i> fax</li>
<li><i class="fa fa-mobile"></i> mobil</li>
<li><i class="fa fa-home"></i> homepage</li>
</ul>

FontAwesome | getting started
FontAwesome | cheatsheet
FontAwesome | specials
netzmacht/contao-font-awesome

Layout:

 

Frage/Problem: FontAwesome funktioniert so nicht

Grund, Lösung

  • TinyMCE wandelt <i> um in <em>
    funktioniert trotzdem
  • TinyMCE entfernt Tag, wenn dieses leer ist
    daher &nbsp; einfügen

wie kann man den Abstand durch &nbsp; vermeiden?

 

<ul class="list-unstyled">
<li><em class="fa fa-envelope tab30" style="width: 30px;"> </em>Knobelsdorffstr. 100 14050 Berlin (Westend)</li>
<li><em class="fa fa-phone tab30" style="width: 30px;"> </em>+49 (0) 30 34 65 08 -62</li>
<li><em class="fa fa-fax tab30" style="width: 30px;"> </em>+49 (0) 322 283 546 78</li>
<li><em class="fa fa-mobile tab30" style="width: 30px;"> </em>xxxx yyyy</li>
<li><em class="fa fa-home tab30" style="width: 30px;"> </em>www.mediafactum.berlin</li>
</ul>
  •  Knobelsdorffstr. 100
    14050 Berlin (Westend)
  •  +49 (0) 30 34 65 08 -62
  •  +49 (0) 322 283 546 78
  •  xxxx yyyy
  •  www.mediafactum.berlin

wie kann man einen Listenpunkt mit FA realisieren?

  • arrow-circle-right
  • arrow-circle-right
  • check
    dfdf
  • check
    dfdf
  • check
    dfdf
  • check
    dfdf
  • envelope
    dfdf
  • phone
  • fax
  • mobile
  • home
ul {
	padding-left: 1.5em;
	list-style: none;
}
ul > li:before {
	font-family: FontAwesome;
	content: "\f0a9";
	display: inline-block;
	width: 1.5em;
	margin-left: -1.5em;
}

Alternative (ungetestet)

https://www.tricd.de/

.checkboxes {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.checkboxes li {
	display: block;
	padding-left: 20px;
	position: relative;
}
.checkboxes li:before {
	color: #008000;
	content: "\f00c";
	font-family: FontAwesome;
	left: 0;
	position: absolute;
	top: 0;
}
li:before {
	display:none;
	font-family:"Font Awesome 5 Solid";
	color:#000;
	content:"\f35a";
}

ul .svg-inline--fa {
	margin-right:10px;
	margin-left:5px;
}

Frage: wie kann <script> in Artikel eingefügt werden, ohne dass es umgeschrieben wird?