New Landing How can we help? Themeforest Theme Support Neighborhood WooCommerce and Revolution Slider Problems

Viewing 8 posts - 16 through 23 (of 23 total)
  • #85814
    Benjamin
    Member
    Post count: 68

    Hi,

    Please excuse me adding this query to the existing questions above but this might relate to the edits you gave me this morning. Our home page has a Mini Cart on it and the thumbs were changed by MOHAMMED Admin to be 70 x 105px as square thumbs were cropping our images.
    He gave me the code below but implemented it himself.

    Code Remarks-: sf-products.php $image = aq_resize( $image_link, 70, 70, true, false); to
    $image = aq_resize( $image_link, 70, 105, true, false);

    I’m not sure if it’s the bits of code you gave me today (also for the mini cart) or something else but our Mini Cart Thumbnails are cropping to squares again.

    Where should I put the code above to implement it again?

    Thanks,
    Benjamin

    #85966
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It seems to be in the file sf-products.php
    can you check that page to see if the code exist there.

    It’s location is neighborhood/includes/swift-framework/sf-content-display/sf-products.php

    Best Regards,
    Rui

    #86241
    Benjamin
    Member
    Post count: 68

    Hi,

    Yes, we have recently updated the theme so that’s probably how it broke. Should I just add the code to the bottom of the sf-products file?

    Is there any way of adding this to the child theme to save me adding in the code on every update?

    Cheers

    #86247
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Unfortunately there isn’t sorry, you would need to keep adding the code

    – Kyle

    #86252
    Benjamin
    Member
    Post count: 68

    Hi,

    Okay, maybe something to consider for a future update on the Mini Cart though?

    Should I just stick the code at the bottom of that file then?

    Code Remarks-: sf-products.php $image = aq_resize( $image_link, 70, 70, true, false); to
    $image = aq_resize( $image_link, 70, 105, true, false);

    Thanks

    #86322
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Yes.Please open to edit sf-header.php and find this line of code
    $image = aq_resize( $image_link, 70, 70, true, false);
    Change to
    $image = aq_resize( $image_link, 70, 105, true, false);

    #86373
    Benjamin
    Member
    Post count: 68

    Great, that fixed it thanks. Will make a note of this for next time we update the theme.

    Cheers

    #86377
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

Viewing 8 posts - 16 through 23 (of 23 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