Skip to main content

Font Awesome for Plone

Project description

Introduction

This addon register fontawesome into Plone CSS registry.

version of font awesome: 4.3.0

License

How to install

This addon can be installed has any other addons. please follow official documentation

For Plone 5, import the “collective.fontawesome (Plone 5)” profile.

How to use

To use an icon you can add ‘fa fa-X’ to your tag where X is the icon you want:

<ul>
    <li class="fa fa-glass">item 1</li>
    <li class="fa fa-music">item 2</li>
    <li class="fa fa-search">item 3</li>
</ul>

Or just use CSS for your class ‘myclass’:

.myclass:before {
    content: "\f000";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

to know more on the content to use or class to use you can look at the code https://github.com/FortAwesome/Font-Awesome/blob/master/docs/assets/css/font-awesome.css#L272

An example page is avaible in the addon, here is a screenshot:

http://plone.org/products/collective.fontawesome/screenshot

Replacing Plone’s default icons with FontAwesome fonts

There is now a separate Generic Setup profile called replace-plone-icons which will replace Plone’s default icons (e.g. for content types and actions) with FontAwesome fonts.

IMPORTANT: You still need to install the default profile as well.

Credits

Companies

People

Changelog

1.0.3 (2015-07-10)

  • Update to fontawesome 4.1.0 [jcbrand]

  • Update to fontawesome 4.3.0 [ebrehault]

  • Add new GenericSetup profile that replaces Plone’s default icons for content types and actions with FontAwesome fonts. [jcbrand]

  • Plone 5 compliancy [ebrehault]

1.0.2 (2013-05-14)

  • Update to fontawesome 3.1.1

1.0.1 (2013-05-06)

  • Fix packaging (manifest)

1.0 (2013-05-06)

  • Package created using templer [JeanMichel aka toutpt]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.fontawesome-1.0.3.zip (415.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page