New Landing How can we help? Iconbox icon size

Viewing 14 posts - 1 through 14 (of 14 total)
  • Posted in: Atelier
  • #321253
    Fiorilla
    Member
    Post count: 6

    Hi,

    I would like to make the same modification and have followed the advice from this post: http://www.swiftideas.com/forums/topic/change-default-iconbox-icon-size/

    I have replaced the desired icon size in this line

    $image_object = spb_image_resizer( $img_url, 100, 100, true, false );

    in the icon-box.php file (I don’t have an “icon-boxes.php” in plural).

    But the size of the icons on the homepage remain the same. Could you please have a look at this?

    Many thanks,

    Fiorilla

    #321434
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you try to regenerate the image thumbnails with the following plugin?
    https://wordpress.org/plugins/regenerate-thumbnails/

    -Rui

    #321468
    Fiorilla
    Member
    Post count: 6

    hi Rui,

    Actually, I had tried this even before I wrote you, and it did not change anything. Is there anything else I can try?

    thanks,

    fiorilla

    #321545
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Looking at the page it’s already at 100px so that part it’s good. Guess it’s just some css above that was limiting it to 82px

    Add the code below to your custom css option.

    .sf-icon.image-display {
        max-width: 100px!important;
        width: 100px!important;
        height: 100px!important;
    }

    Let us know if it worked.

    -Rui

    #321668
    Fiorilla
    Member
    Post count: 6

    Absolutely, issue resolved, thank you!!

    Fiorilla

    #321763
    David Martin – Support
    Moderator
    Post count: 20834

    Marking as resolved.

    If you have found the theme/support useful, we appreciate it if you can leave feedback on our item if you have the time as it really helps us out.

    Thanks.

    #322005
    Fiorilla
    Member
    Post count: 6

    Hello,

    I just realized that the icons are indeed 100 pixels, but it looks like there is some kind of round padding around them (some of the square images are cropped at the corners). Is there a way to delete the padding or change it to a square padding?

    Thanks again for your help,

    Fiorilla

    #322125
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Sure, add the code below to your custom css option.

    
    .sf-icon.image-display {
        border-radius: 0%!important;
    }

    -Rui

    #322146
    Fiorilla
    Member
    Post count: 6

    Perfect, issue resolved, thanks!

    #322479
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks Rui – closing ticket.

    #331417
    Denis_Rudoy
    Member
    Post count: 62

    Hi guys
    I have the same problem, but this ccs did not help, could you take a look?
    http://advancedway.com.ua/

    #331418
    Denis_Rudoy
    Member
    Post count: 62
    This reply has been marked as private.
    #331420
    Denis_Rudoy
    Member
    Post count: 62

    I would like to increase the size of the image icons to 125px, and also to increase the size of the fa-icons.
    How can I do it?
    Thank you in advance!

    #331422
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please open a new ticket here: http://www.swiftideas.com/support-request/

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