New Landing How can we help? Cardinal Customize Icon Height & Width

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Cardinal
  • #196670
    Msmith
    Member
    Post count: 41

    Hello!

    I’d like to know what custom css I can use to make the fa icons on my site larger.

    Thanks!

    #196703
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    What specific pages or sections were you looking to do this on?

    The FontAwesome icon sizing is controlled by adding different CSS classes. Ex:

    To increase icon sizes relative to their container, use the fa-lg (33% increase), fa-2x, fa-3x, fa-4x, or fa-5xclasses. <i class="fa fa-camera-retro fa-lg"></i>

    Full documentation here: http://fortawesome.github.io/Font-Awesome/examples/

    – David.

    #196755
    Msmith
    Member
    Post count: 41

    Hi David,

    Thanks for your response. Does this go for wherever a icon is placed, like within the standard icon box. (That’s where I’ll be placing it.)

    #196929
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .sf-icon-box h3 > i, .sf-icon-box h3 > a > i {
        font-size: 38px !important;
    }

    Thanks
    Mohammad

    #207233
    Msmith
    Member
    Post count: 41

    Fixed! Thank you!

    #207243
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Glad 🙂 to help you.
    Thanks
    Mohammad

    #207285
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks Mohammad, marking as resolved.

    – David.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register