New Landing How can we help? Cardinal Resize image icon box?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Cardinal
  • #263724
    kmb32687
    Member
    Post count: 8

    Is there anyway to resize the image icon box? 70x70px is too small. Is it possible to go up to 108x108px?

    Thanks

    Kyle

    #263734
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Go to plugins/swift-framework/includes/page-builder/shortcodes/icon-box.php and edit line 48:

    if ( $image != "" ) {
                    $img_url      = wp_get_attachment_url( $image, 'full' );
                    $image_object = sf_aq_resize( $img_url, 70, 70, true, false );
                    $image_url    = $image_object[0];
                }

    Change 70, 70 to 108, 108

    – Kyle

    #264700
    kmb32687
    Member
    Post count: 8

    Thank you!!! It works. ๐Ÿ™‚

    #264979
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

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