New Landing How can we help? Themeforest Theme Support Neighborhood changing portfolio thumbnails to square

Viewing 8 posts - 1 through 8 (of 8 total)
  • #92139
    Sand
    Member
    Post count: 33

    hi we would like to have the thumbnails of the portfolio items be in a square layout (same as we have shop images). however, even though i upload a featured images square, the will still be cropped to rectangles. please advise if this is possible.

    see the portfolio grid on homepage for example

    #92149
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Open up sf-portfolio.php and edit:

    /* META VARIABLES
    				================================================== */
    				$thumb_image = $thumb_gallery = $video = $item_class = $link_config = '';
    				$thumb_width = 800;
    				$thumb_height = 600;
    				$video_height = 600;

    On line 74

    – Kyle

    #93009
    Sand
    Member
    Post count: 33

    thanks kyle – i activated the child theme, edited those lines so that all three say 800 and added the revised sf-portfolio.php to the child’s folder by ftp, then regenerated all the thumbnails. however, the portfolio thumbnail still appear rectangular instead of square. what else should i do? cheers!

    Attachments:
    You must be logged in to view attached files.
    #93011
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid you can’t update it through the Child Theme, you will need to update the file in the parent theme.

    – Kyle

    #93014
    Sand
    Member
    Post count: 33

    oooh, ok. so i would lose it every time the theme was updated by the makers?

    #93015
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Yes unfortunately, you will just have to note down the change so you can make it each time you update the theme

    – Kyle

    #93016
    Sand
    Member
    Post count: 33

    ok – i’ll think about whether it’s worth doing that:)

    #93017
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok no problem

    – Kyle

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