Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1348452

    I’m trying to get Single Posts to display the full image instead of a cropped version. I’m using the Modern Business blog style, and for the Single Post Style I’m using Single post with big preview image (feature image) setting.

    I’ve tried a bunch of different things, but nothing changes the size of the image.

    #1348475

    Hey BrendanG,

    Thank you for the inquiry.

    You can add this code in the functions.php file to override the default thumbnail size in the single post page.

    add_action("ava_after_main_title", function() {
      global $avia_config;
    
      if( is_singular("post") ) {
        $avia_config['image_size'] = 'full';
        $avia_config['preview_mode']  = 'custom';
      }
    }, 10);
    

    Best regards,
    Ismael

    #1351286

    Thank you! You can close this.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to display uncropped image in Single Post’ is closed to new replies.