Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #7027

    Hello,

    there is image 36×36 used in the widget Corona Latest.

    Is it possible to set using of larger picture – 80×80 ?

    thanks…

    #56334

    Hey,

    yes – You can change the tjhumb dimensions in functions.php – afterwards regenerate all thumbnails with: http://wordpress.org/extend/plugins/regenerate-thumbnails/

    Then add following code to css/custom.css:

    .news-thumb {
    height: 80px;
    width: 80px;
    }

    #56335

    as a note … 80x80px images are already generated by Corona, ~ line 90 at functions.php. I think all you need is to call ‘thumbnail’ size at framework/php/class-framework-widgets.php around line 893 for Avia combo widget

    $image = avia_image_by_id($slides[0]['slideshow_image'], 'thumbnail', 'image');

    and around line 364 for avia latest news

    #56336

    …and add the css I posted above :)

    #56337

    Thanks guys !

    Also it was needed to change

    .news-thumb img {

    width: 80px;

    height: 80px;

    }

    I love WP :-))

    #56338

    Glad that it worked :)

    #56339

    How would I remove the image altogether?

    #56340

    Hi isiwebsolutions,

    You can add the following to your Quick CSS or custom.css:

    .news-thumb {

    display: none;

    }

    #56341

    Perfect, thanks for your help

    #56342

    Hi!

    Great :)

    Regards,

    Peter

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Image in Widget Corona Latest News’ is closed to new replies.