HI, I would like to change the layout of the widget Lasted news, with CSS I can implement what I want, but the images I can not change the size of the images (36×36 pixels), I want something larger (200×150 px recut), I tried to look in the source files without finding out where it’s going.
Do you have an idea to get there?
Regards.
Jean
Hey Jean!
Please 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 as needed. Then regenerate thumbnails using – https://wordpress.org/plugins/regenerate-thumbnails/
You may need custom CSS code after that, please let us know if you do.
Best regards,
Yigit
Thank you for the information Yigit, I’m going to test it this weekend.
Regards.
Jean
We looking forward to hearing from you Jean :)
Regards,
Josue
Hi, I managed to do what I wanted, my client wants to have big visual news, before / after:
Base image 200×120 px
CSS:
#top .news-thumb {
float: none;
height: 122px;
padding: 0px;
width: 202px;
border-color:#fff !important;
position: relative;
z-index: 2;
}
#top .news-thumb img {
display: block;
float: none;
height: 120px;
width: 200px;
position: relative;
z-index: 2;
}
#top .news-headline {
display: block;
font-weight: 300;
font-size: 16px;
line-height: 140%;
}
#top .news-time {
display: none;
}
Regards.
Jean