New Landing How can we help? Themeforest Theme Support Dante how to change the featured image height when displaying a blog element

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #249521
    lazydays
    Member
    Post count: 24

    Hi there,

    I would like the featured image of a post to appear as a rectangle rather than square when displayed as a blog item – please see this url for link and attached screen shot.

    Thank you in advance.

    Yvonne

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

    Hi

    You’ll need to go to themes/dante/swift-framework/page-builder/builder/shortcodes/recent-post.php and edit line 173:

    
    $image = sf_aq_resize( $thumb_img_url, 420, 315, true, false);

    width = 420px
    height = 315px

    – Kyle

    #250760
    lazydays
    Member
    Post count: 24

    Many thanks Kyle

    #250763
    David Martin – Support
    Moderator
    Post count: 20834

    Great, thanks Kyle.

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