Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #356617

    “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”?

    #356895

    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

    #357495

    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?

    #357542

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘"latest news widget" thumbnail picture is too small’ is closed to new replies.