New Landing How can we help? Themeforest Theme Support Dante Portfolio Image Height – How to set to Portrait?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #124955
    ronin
    Member
    Post count: 282

    Hi,

    I’m just wondering how I can set the portfolio images to be portrait aspect ratio (tall) rather than their current 263w x 197h.

    That would put them at about 395px high, going by their feature image dimensions.

    Also, how would I remove the portfolio options / paginations bar on the item itself?

    Thanks very much, Kurt

    #125044
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Go to includes/sf-portfolio.php and find these lines:

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

    around line 89

    2) Add this to your custom css:

    .portfolio-options-bar {
      display: none;
    }
    

    – Kyle

    #125313
    ronin
    Member
    Post count: 282

    Hi Kyle,

    Thanks for that. The first thing worked – how can I put that into the child theme so it won’t be overwritten next update?

    The second display: none thing didn’t work, however: see http://www.zebidoodigital.com.au/marcella/?portfolio=look-book-7 where the nav buttons are still above the feature image.

    cheers, Kurt

    #125344
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You would have to copy the whole sf-portfolio.php code and paste into your child theme’s functions.php file

    That css should work, please move it to the top of your custom css, just incase you have a mistake somewhere else in one of your rules

    – Kyle

    #125659
    ronin
    Member
    Post count: 282

    Excellent – thanks mate – switched the css and all good.

    One last thing – how do I remove the related projects from the bottom of the portfolios? – eg http://www.zebidoodigital.com.au/marcella/?portfolio=look-book-5

    cheers, Kurt

    #125711
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .related-projects {
      display: none;
    }
    

    – Kyle

    #125716
    ronin
    Member
    Post count: 282

    Awesome – thanks very much.

    #125718
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.