Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #288838

    Hi,

    I looked over the support forum and found few different ways to re-size the featured in a blog post, yet none are working for me.

    I have a child theme set up with a custom functions.php

    I’d like to resize the featured image to appear 710×420 with no lightbox…is this do-able?

    My posts are setup as “standard post”, Layout = Right Sidebar, Sidebar Setting = Custom Sidebar

    Thanks

    #288915

    Hey Snerp!

    Thank you for using the theme.

    Please add this on the child theme’s functions.php:

    function avia_change_image_size_array() {
    global $avia_config;
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>420);		                 // big images for blog and page entries
    avia_backend_add_thumbnail_size($avia_config);
    }
    add_action( 'init', 'avia_change_image_size_array', 1);

    Upload the image again or regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Ismael

    #289191

    Ok thanks that worked great, although the image still showing as lightbox image. Any way to remove the lightbox function?

    #289211

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    div.big-preview.multi-big {
    pointer-events: none!important;
    }

    Best regards,
    Yigit

    #289523

    Hi Yigit,

    I placed that code in and nothing changed, the images still appear with the lightbox effect,

    #289527

    Hi!

    Can you post the link to your blog page please?
    Have you tried flushing browser cache?

    Regards,
    Yigit

    #289531

    Thanks,

    I fixed it by using this”

    #top.single-post .big-preview.single-big a,
    #top.single-post .small-preview {
    pointer-events: none;
    cursor: default;
    }

    #289534

    Hey!

    Great! Let us know if you have any other questions or issues! :)

    Cheers!
    Yigit

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

The topic ‘Featured Image – size no lightbox’ is closed to new replies.