Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #347680

    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

    #347719

    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

    #347886

    Thank you for the information Yigit, I’m going to test it this weekend.
    Regards.
    Jean

    #348257

    We looking forward to hearing from you Jean :)

    Regards,

    Josue

    #348327

    Hi, I managed to do what I wanted, my client wants to have big visual news, before / after:
    Modifications widget news
    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Widget Lasted News – How to resize pictures?’ is closed to new replies.