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
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
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
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
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 sentence\framework\php\class-framework-widgets.php and remove following code:
echo "<span class='news-thumb'>";
echo get_avatar($comment,'48');
echo "</span>";Hey,
I'm sure Peter's solution will work. :)
Regards,
Ismael
This topic has been closed to new replies.