Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17037

    Hi there

    Is it possible to change the size of the thumbnail images in the sentence combo widgets. Im looking to either increase the size and retain the text or, increase image size and sacrifice the text. If this is doable, how do I do it?

    Thank you

    #93985

    Hi,

    You can adjust the image size on custom.css by doing this

    .news-thumb {
    width: 50px;
    height: 50px;
    }

    .news-thumb img {
    width: 50px;
    height: 50px;
    }

    Adjust width and height.

    Regards,

    Ismael

    #93986

    Hi Ismael

    Managed to get that one to work thanks. Can scale the picture frames and images up. Is there anyway to increase the resolution of the thumbnail accordingly?

    Also, in the same widget, is it possible to edit the widget so that in the recent comment tab, the gravatars dont show?

    Thank you

    #93987

    Yes, you can change the thumbnail size in functions.php – open up the file and replace:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36 );						// small preview pics eg sidebar news

    with:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>50,  'height'=>50 );						// small preview pics eg sidebar news

    Afterwards regenerate the thumbnails: http://wordpress.org/extend/plugins/regenerate-thumbnails/

    Open up sentenceframeworkphpclass-framework-widgets.php and remove following code:

    echo "<span class='news-thumb'>";
    echo get_avatar($comment,'48');
    echo "</span>";

    #93988
    #93989

    Hey,

    I’m sure Peter’s solution will work. :)

    Regards,

    Ismael

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

The topic ‘change image size on sentence combo widget’ is closed to new replies.