“latest news widget” thumbnail picture is too small. how to make it bigger? and the text size is also too small. how to resize the font size for “latest news”?
Hey songjiekun!
Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed
.news-thumb img, .news-thumb img { width: 40px; height: 40px; }
.news-thumb { width: 48px; height: 48px; }
strong.news-headline { font-size: 14px; }
then go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
and change it to
$avia_config['imgSize']['widget'] = array('width'=>48, 'height'=>48); // small preview pics eg sidebar news
and regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
Yigit
thank you.
what if i use child theme, should i change functions.php for child file?
add
$avia_config['imgSize']['widget'] = array('width'=>48, 'height'=>48);
to child theme’s functions.php?
Hey!
You should add
$avia_config['imgSize']['widget'] = array('width'=>48, 'height'=>48);
to child theme’s functions.php file. You can also try using this plugin – https://wordpress.org/plugins/simple-image-sizes/
Cheers!
Yigit