Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • rwatt Friend
    #1042862

    There’s a number of examples of fontawesome icons at http://fontawesome.io/examples/

    How do you add options, like stack icons, ie. this combination from above? I can’t get it to work.

    <span class="fa-stack fa-lg">
      <i class="fa fa-camera fa-stack-1x"></i>
      <i class="fa fa-ban fa-stack-2x text-danger"></i>
    </span>
    fa-ban on fa-camera
    • This topic was modified 7 years, 5 months ago by  rwatt.
    Pankaj Sharma Moderator
    #1042889

    Hi
    You can use them on site as : fa fa-camera fa-stack-1x
    may i know on which module you want to use the icons and not showing on site?

    Regards

    rwatt Friend
    #1043051

    I’m using ACM module type features intro style 2 … I can try with another instance.

    I’m trying to stack fa-bug + fa-ban … which appears to require <span class="fa-stack fa-lg"> as a wrapper for the multiple icons to be stacked. (see edits to original post)

    The edit UI doesn’t accept <span class="fa-stack fa-lg"> as a wrapper.
    fa-stack-1x appears to stack the first icon with the Feature Title …
    Any other icon specified in the Font Awesome Icon input box is ignored, in most instances.

    Not sure how the module parses inputs…


    1. fa-icons-in-acm-features-intro-style-2
    Pankaj Sharma Moderator
    #1043147

    Hi
    You can not add the code as Html because it will break the PHP code syntax this is why you are getting this issue.
    Add the font awesome code as given by default.
    Only one icon will show at a time.

    Regards

    rwatt Friend
    #1043303

    In other words, ACMs do not support stacking multiple icons.

    Pankaj Sharma Moderator
    #1043363

    Hi
    Yes, it supports only one icon in the field. You may have to customise the ACM files to achieve this.
    File /acm/feature-intro/tmpl/style-2.php

    Regards

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum