Tagged: center, size, thumbnails
-
AuthorPosts
-
April 21, 2014 at 7:50 pm #253985
Hi Support,
How can i make the recent portfolio widget thumbnails bigger?
Want em to fill the whole sidebar “Center” and just have the title under them?It is going to present all the models that are in the portfolio so we only need a bigger picture and the name under that :-)
Cheers!
April 21, 2014 at 7:50 pm #253987This reply has been marked as private.April 22, 2014 at 3:18 pm #254384Hey!
It looks like your website is currently down – http://www.downforeveryoneorjustme.com/http://hyrenhunk.sokonline.se/
Please try adding following code to Quick CSS in Enfold theme options under Styling tab.news-thumb { height: 130px; width: 130px; } .news-thumb img, .news-thumb img { width: 122px; height: 122px; }
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 width and height to 122px and regenerate thumbnails using – http://wordpress.org/plugins/regenerate-thumbnails/
Regards,
YigitApril 23, 2014 at 4:14 pm #255026Hi Yigit,
I did everything as instructed but it didn’t work. :-( any idea?Cheers!
MApril 23, 2014 at 4:16 pm #255028This reply has been marked as private.April 25, 2014 at 8:14 am #255959Hi!
I fixed it. I replaced the code in functions.php with:
add_action('after_setup_theme','avia_change_image_sizes'); function avia_change_image_sizes(){ global $avia_config; $avia_config['imgSize']['widget'] = array('width'=>122, 'height'=>122); // small preview pics eg sidebar news }
and changed the css code to:
#top .image_size_widget .news-thumb { height: 130px; width: 130px; } #top .image_size_widget .news-thumb img { width: 122px; height: 122px; }
Best regards,
PeterApril 25, 2014 at 2:23 pm #256086Thank you so mutch Peter!
How can i get the news-headline center and maby a bit bigger under the picture and remove the date?
Cheers!
April 25, 2014 at 2:31 pm #256091Hi!
Please add following code to Quick CSS
span.news-time { display: none!important; } #top .image_size_widget .news-thumb { margin-right: 30%; } .news-headline { overflow: visible; margin-left: 17%; font-size: 14px; }
Cheers!
YigitApril 25, 2014 at 2:39 pm #256099Thanks Yigit and Peter for you awesome support,
You guys are great hope you have a fantastic weekend!Cheers!
M -
AuthorPosts
- The topic ‘Recent Portfolio Widget – Thumbnails Size’ is closed to new replies.