Viewing 12 posts - 16 through 27 (of 27 total)
  • #139576
    Gaspard
    Member
    Post count: 29

    Ho thanks but it’s not what i want ! It isn’t for H4 it is for “fa-icon” like the attachement.. Thanks

    Attachments:
    You must be logged in to view attached files.
    #139585
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .sf-icon-float-left {
    padding: 0 10px 0 0 !important;
    }

    Thanks
    Mohammad

    #139613
    Gaspard
    Member
    Post count: 29

    Perfect, thanks !

    #139615
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

    #206528
    Faktorrosta
    Member
    Post count: 7

    Is this problem will be fixed in future (icon tag not have fa- prefix)? In my theme (v3.13) this still exist ๐Ÿ™

    #206541
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @Faktorrosta
    – Please provide me specific page url to check this issue.
    Thanks ๐Ÿ™‚
    Mohammad

    #210997
    Faktorrosta
    Member
    Post count: 7

    In old posts icon shortcode has param “image” without fa- prefix. How to fix it for all old posts?
    For ex. http://piter-trening.ru/effektivnye-roznichnye-prodazhi/

    Attachments:
    You must be logged in to view attached files.
    #211237
    Ilya
    Member
    Post count: 122
    This reply has been marked as private.
    #211254
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Hi,
    Please open to edit shortcodes.php at /neighborhood/includes/swift-framework/
    Find this code:-

    if ($cont == "yes") {
     return '<div class="sf-icon-cont cont-'.$size.' sf-icon-float-'.$float.'"><i class="fa '.$image.' sf-icon icon-'.$size.'"></i></div>';
     } else {
     return '<i class="fa '.$image.' sf-icon sf-icon-float-'.$float.' icon-'.$size.'"></i>'; 
     }

    Change to:-

    $image  = str_replace('fa-','',$image);
    if ($cont == "yes") {
     return '<div class="sf-icon-cont cont-'.$size.' sf-icon-float-'.$float.'"><i class="fa '.$image.' sf-icon icon-'.$size.'"></i></div>';
     } else {
     return '<i class="fa-'.$image.' sf-icon sf-icon-float-'.$float.' icon-'.$size.'"></i>'; 
     } 

    Thanks
    Mohammad

    #211295
    Faktorrosta
    Member
    Post count: 7

    Thank You!

    Is it will be fixed on next update or i need to change this everytime?

    #211317
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I will sent it to developer for check and include in next upgrade.
    Thanks
    Mohammad

    #211508
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi guys,

    How are you setting up those shortcodes? Manually, or using the shortcode generator? The image parameter for the icon should always include “fa-”

    – Ed

Viewing 12 posts - 16 through 27 (of 27 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