Is there a way to center the thumbnail carousel under the gallery big preview image? Here is a test page I am attempting do this on. Notice the carousel is floating to the left:
http://avada-cafe.clendeningmedia.com/portfolio-item/372/
I can make this work if i set the images to the same number of columns, but that is not always an option. Such as if I set the columns to 4, and there are 4 images in the gallery, they will center just like in this page:
http://avada-cafe.clendeningmedia.com/portfolio-item/flank-steak/
Peace,
Michael
this is not a good solution, if i use this code, all pages, post and portfolio will not have share buttons
please check the picture
I have 4 hot sales products here,
why there are first 2 products have the share buttons? the last 2 don’t have?
please note the issue mentioned above happens after we do the action below
please try to help us.
_______________________________________________________________________________
Hi!
Please add following code to Quick CSS as well
#footer .av_one_fifth.first {
margin-left: 0;
}
#footer .av_one_fifth {
margin-left: 2%;
width: 18.4%;
margin-top: 10px;
}
and refer to my post here – https://kriesi.at/support/topic/latest-news-widget-thumbnail-picture-is-too-small/#post-356895
Best regards,
Yigit
___________________________________________________________________________________
Hi StudioLeBus!
Thank you for using Enfold.
Yes, that is the default behavior of the sliders, full width easy slider specifically. You can set the thumbnail size in the Slideshow Image and Video Size settings. The “Stretch image to fit” refers to the image width inside the slider. For example, if you use an image which is 900px in width and the browser screen size is 1900px, the image will align at the center if you set the option to “don’t stretch”. Still, the height of the slider will depend on the image height.
Cheers!
Ismael
Hey Rshaules!
Thank you for using Enfold.
1.) The images are resized down from 845px to 625px because of the content container width. The contents cannot exceed or overflow outside the container so they are resized via css. You can resize the thumbnails using this plugin: https://wordpress.org/plugins/simple-image-sizes/
2.) That is a theme generated thumbnails usually use for related posts and catalogue images. Note that, in a few cases, the theme has to use images twice the size of the actual container for retina displays.
Best regards,
Ismael
Hey!
Please add following code to Functions.php file
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['square'] = array('width'=>235, 'height'=>235 );
return $size;
}
and then change width and height values as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Yigit
Ok yet another Enfold update but no fix for the Safari issue???
2015 June 19th – Version 3.2.1
– improved: the visual site preloader works faster and more reliable now
– fixed: an image size problem with portfolio gallery thumbnails
– fixed: Vimeo API was updated to fix vimeo video autoplay
– added: rel=‘nofollow’ to comment links
Hey catmac2204!
Please go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );
and change it as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Yigit
Thx Elliot, but you missed the main point of my post. I know the scrollbar appears when it is needed, but the problem is the gap between thumbnails. I think it appears because with/without scrollbar working area has different width and there is probably some miscalculation. Look at the picture:

Same situation in Chrome and IE, i found Firefox is even worse, because clicking All > E-commerce (noscrollbar) > All makes 5 instead of 6 column. Just like I mentioned – I think is a matter of calculating the width with/without scrollbar.

-
This reply was modified 10 years, 10 months ago by
iheartwine.
This reply has been marked as private.
I found a little bug. I have a portfolio grid, that distributes thumbnails to whole page without gaps. When I change the sort for a particular category, where there are for example 3 projects, the whole website is obviously shorter – the scrollbar disappears. When I click back to ALL, the scrollbar appears but there is something wrong with the no-gap between thumbnails. I assume script recalculates wrong working window width.
Is there a quick solution for this?
Hi!
By regenerating all thumbnails it should work.
Do you have any cache scripts activated?
Regards,
Basilis
Hey!
Thanks for the details and sorry for the late reply, I changed the code in your quick CSS and the icons look good now. I’m not sure I understand what the problem was on your last link but I’m guessing your mean the thumbnails under the larger images?
Best regards,
Rikard
Thanks! I’m evidently missing something. I added the code and adjusted the size to be what I need for that preview image. I regenerated the thumbnails. Do you mean I need to now to in to every post, remove the Featured Image, and then reset it, or remove the image used for the Featured Image all together from the Media Library?
Thank you for your help and patience. :)
Hi Taryn!
Thank you for using Enfold.
Looks like you added the image directly in the post editor. Please add the feature image again but before that, add this code in the functions.php file to adjust the thumbnail size:
function ava_image_sizes() {
add_image_size('entry_with_sidebar', 845, 321, array('center', 'top'));
add_image_size('entry_without_sidebar', 845, 321, array('center', 'top'));
}
add_action( 'after_setup_theme', 'ava_image_sizes', 11 );
Regenerate or upload the images again. You can adjust the width, default is 845 and the height, default 321. The array(‘center’, ‘top’) is the crop positioning of the images, it will crop from the bottom, left and right, leaving the center and top portion of the images. https://codex.wordpress.org/Function_Reference/add_image_size
Regards,
Ismael
Hey!
Thank you for the info. Edit the post slider then set Preview Image Size manually. Choose the second option then select the thumbnail size that you want.
Best regards,
Ismael
Hi!
You can find all thumbnail sizes in the functions.php file and the Settings > Media panel.
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
$avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
You can add the name of the thumbnail in the snippet above. Just follow the pattern.
Cheers!
Ismael
Hi!
1.) Use this in the Quick CSS field to change the background overlay of the lightbox:
.mfp-zoom-in.mfp-ready.mfp-bg, .mfp-zoom-in.mfp-ready .mfp-preloader {
opacity: 1 !important;
background-color: #ffffff !important;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
color: #000000 !important;
}
2.) Can you please provide a screenshot of the layout that you want? The grid will automatically adjust according to the height of the images so using images with different height and ratio not going to work if you want a consistent grid. Try to create a custom canvas for all the paintings. Place the painting in the canvas before uploading them. You can do this using photoshop or any image editor. Basically, we want all images to be the same in width and height.
3.) You can’t use the advance layout builder to create the ajax preview. Like I said, you need to add the content in the Ajax Portfolio Preview Settings. The left column of the ajax preview will display the portfolio gallery or slideshow, and the right column will display the content. You can use use the advance layout builder to build the actual portfolio item page.
4.) Go to Settings > Media then adjust the Large Thumbnail. Set the width and height to 9999.
Regards,
Ismael
Hey!
If you don’t want to use a plugin, you can override the default thumbnail size with this on functions.php file:
function ava_image_sizes() {
add_image_size('entry_with_sidebar', 261, 186, array('center', 'top'));
}
add_action( 'after_setup_theme', 'ava_image_sizes', 11 );
Again, you need to regenerate the thumbnails or upload it again. The plugin suggested above can regenerate your thumbnails. :)
Best regards,
Ismael
This reply has been marked as private.
HI
I resized my “gallery size” thumbnails to 845 x 400 and regenerated the thumbnails, which worked fine. When I did the same to the “featured_large size”, and regenerated the thumbnails, I also regenerated the gallery size ones again by mistake, but the size was still set to 845 x 400. Now on my portfolio items, those gallery images are displaying like this http://andesworldtravel.com/trips/col-32-lt/ instead of like this http://andesworldtravel.com/trips/col-26-lt/, even though when I go into the editor and re-add it the size is at 845×400 as it should be. Is there a way to fix this without going through every item and re-adding the image? It’s a big site. Thanks
Nancy
and yes, next time I will uncheck the boxes so the images don’t resize!
My Gallery is set to small thumbnails, no lightbox links. This is perfect on the desktop. But on mobile devices, the images are too tiny. I would like them to be clickable – so that the image becomes large, and can easily be closed again – only on mobile. Is this possible?
something like this.
http://www.janinebaier.de/screen.jpg
an additional menu point if you don´t want a thumbnail etc.
:)
Hey!
Please add following code to Functions.php file of your child theme in Appearance > Editor
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['portfolio'] = array('width'=>495, 'height'=>400 );
return $size;
}
and then change width and height values as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
Yigit
Hi!
if it does not work for you, you might need to add an !important into Yigit’s code:
.header_color .header_bg {
background-repeat: no-repeat !important;
background-size: cover !important;
}
However, I can see that the background image you are using is very small (370x183px):

Please regenerate your thumbnails and clear browser cache.
Best regards,
Andy
Hi!
Please add following code to Quick CSS as well
#footer .av_one_fifth.first {
margin-left: 0;
}
#footer .av_one_fifth {
margin-left: 2%;
width: 18.4%;
margin-top: 10px;
}
and refer to my post here – https://kriesi.at/support/topic/latest-news-widget-thumbnail-picture-is-too-small/#post-356895
Best regards,
Yigit
Hi Lidia!
Thank you for using Enfold.
1.) If you want to increase the thumbnail size of the latest news widget, add this in the Quick CSS field:
.news-thumb {
height: 63px;
width: 63px;
}
You will have to install this plugin and then adjust the size of the widget thumbnail on Settings > Media panel : https://wordpress.org/plugins/simple-image-sizes/
2.) If you want to increase the font size of the title and post meta info, use this:
.news-headline, .news-time {
font-size: 15px;
}
Regards,
Ismael
Hey!
1- Please add following code to Functions.php file of your child theme in Appearance > Editor
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['portfolio'] = array('width'=>495, 'height'=>400 );
return $size;
}
and then change width and height values as needed to make images 1:1 and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
2- To change hover icon, please see – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
3- Please add your element to your page and let us know so we can post custom CSS code to adjust the spacing between elements.
Regards,
Yigit
Hey Mark_goessens!
Try changing the order on lines 145 – 156 in /enfold/includes/helper-social-media.php.
$default_arguments = array
(
'facebook' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.facebook.com/sharer.php?u=[permalink]&t=[title]"),
'twitter' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[shortlink]"),
'gplus' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://plus.google.com/share?url=[permalink]" , 'label' => __("Share on Google+",'avia_framework')),
'pinterest' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://pinterest.com/pin/create/button/?url=[permalink]&description=[title]&media=[thumbnail]"),
'linkedin' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://linkedin.com/shareArticle?mini=true&title=[title]&url=[permalink]"),
'tumblr' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://www.tumblr.com/share/link?url=[permalink]&name=[title]&description=[excerpt]"),
'vk' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://vk.com/share.php?url=[permalink]"),
'reddit' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://reddit.com/submit?url=[permalink]&title=[title]"),
'mail' => array("encode"=>true, "encode_urls"=>false, "pattern" => "mailto:?subject=[title]&body=[permalink]", 'label' => __("Share by Mail",'avia_framework') ),
);
Cheers!
Elliott