• Resolved Tom

    (@jeffreeeeey)


    Installed this plugin for a client who wishes to use these icons within their inner-page content.

    I’ve had a look at using the button to insert icons to the page content, but don’t see any way to align the icons (eg. to the left or right of textual content, like you can with images).
    Am I missing something?

    Obviously we could so this easily with HTML, but our client does not know HTML and we’d rather they weren’t messing around with code.

    An example of what we’re looking to do is:
    [PARAGRAPH OF TEXT spanning 6 columns][FA ICON spanning 1 column]

    Perhaps we could create our own classes for float left/ float right, then someone add those classes into the shortcodes? Or perhaps some classes already exists within the plugin?
    Any help would be appreciated.

    Best Regards

    https://www.ads-software.com/plugins/better-font-awesome/

Viewing 1 replies (of 1 total)
  • Plugin Author Mickey Kay

    (@mcguive7)

    Hi Tom,

    The icon shortcode gives you two attributes you can use to generate classes:

    1. class – classes that will be prefixed in the final output (e.g. “custom-class” will become “fa-custom-class”). This is a handy attribute to use to integrate any of the default Font Awesome classes you can find here: https://fortawesome.github.io/Font-Awesome/examples/

    2. unprefixed_class – these classes won’t be prefixed on output, and could thus easily be used to create custom classes per your request.

    Using one or both of these shortcode attributes, you should be able to use either Font Awesome’s default styles, your theme’s default styles, or generate your own custom classes for custom styling. Best of luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Icon alignment’ is closed to new replies.