Tagged: featured image, size
-
AuthorPosts
-
July 9, 2014 at 5:55 am #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
July 9, 2014 at 10:52 am #288915Hey 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!
IsmaelJuly 9, 2014 at 8:32 pm #289191Ok thanks that worked great, although the image still showing as lightbox image. Any way to remove the lightbox function?
July 9, 2014 at 9:35 pm #289211Hi!
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,
YigitJuly 10, 2014 at 2:57 pm #289523Hi Yigit,
I placed that code in and nothing changed, the images still appear with the lightbox effect,
July 10, 2014 at 3:06 pm #289527Hi!
Can you post the link to your blog page please?
Have you tried flushing browser cache?Regards,
YigitJuly 10, 2014 at 3:09 pm #289531Thanks,
I fixed it by using this”
#top.single-post .big-preview.single-big a,
#top.single-post .small-preview {
pointer-events: none;
cursor: default;
}July 10, 2014 at 3:13 pm #289534 -
AuthorPosts
- The topic ‘Featured Image – size no lightbox’ is closed to new replies.
