New Landing How can we help? Themeforest Theme Support Joyn SPB> Picture> How to Change the Font Awesome icon that appears on hover ?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Joyn
  • #226171
    mengeco
    Member
    Post count: 558

    Hello,

    SPB> Picture> How to Change the Font Awesome icon that appears on hover ?

    Best regards

    #226172
    mengeco
    Member
    Post count: 558
    This reply has been marked as private.
    #226176
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    What is the new font awesome icon you wish to use?

    -Rui

    #226178
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You would need to edit wp-content/plugins/swift-framework/page-builder/shortcodes/media.php, line 141:

    $link_icon = apply_filters( 'sf_link_icon' , '<i class="ss-link"></i>' );
    $view_icon = apply_filters( 'sf_view_icon' , '<i class="ss-view"></i>' );

    However this is not something that can be saved in the child theme so you will need to remember to make the change each time you update the swift framework plugin

    – Kyle

    #226191
    mengeco
    Member
    Post count: 558

    If the new icon is “icon-reorder” what must change in code ?
    Thanks !!

    #226214
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Change ss-link or ss-view to fa-reorder

    – Kyle

    #226223
    mengeco
    Member
    Post count: 558

    OK, and is it possible to change icon size ?

    #226229
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Sure. Add the code below to your custom css option and adjust the font-size value

    figure.animated-overlay:hover figcaption .thumb-info-alt i {
        font-size: 60px!important;
    }

    Hope it helps.

    -Rui

    #226230
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sure, add this to your custom css:

    figcaption .thumb-info-alt > i {
      font-size: 28px;
    }

    – Kyle

    #226233
    mengeco
    Member
    Post count: 558

    Great, thanks !!

    And for more information, in code

    $link_icon = apply_filters( 'sf_link_icon' , '<i class="ss-link"></i>' );
    $view_icon = apply_filters( 'sf_view_icon' , '<i class="ss-view"></i>' );

    I change “ss-view”, it’s ok.
    But, if I change “ss-link”, what is the icon that is replaced?

    Thanks !

    #226235
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    If you’re using a link for the image instead of lightbox, it will show the link icon

    – Kyle

    #226237
    mengeco
    Member
    Post count: 558

    Ok, thank you very much !!!

    #226241
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem 🙂

Viewing 13 posts - 1 through 13 (of 13 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