Hi,
If you still want to display the image and keep the thumbnail, set the Enfold Category Styling to Default. This will display the category template in its default style.
Best regards,
Ismael
That is not a good solution. While it does remove the banner, it also removes the thumbnail from the category and makes the website look terrible. I want the thumbnail to show up in the category and subcategory grids – just how it normally does. I just don’t want the banner.
I don’t understand why you’ve set it up to use the thumbnail as the banner image anyway. They need to be completely different sizes and aspect ratios to work well.
Hey halkmarine,
Thank you for the inquiry.
Please edit the product category, remove the thumbnail, then set the Enfold Category Styling to Default. Let us know of the result.
Best regards,
Ismael
Hey Martin,
Thank you for the inquiry.
How did you set the “automatic cropping”? Have you tried setting the Appearance > Customize > Woocommerce > Product Images > Thumbnail cropping to 1:1 or to a Custom aspect ratio?
Best regards,
Ismael
How do I hide the banner image from the product category and subcategory pages?
The thumbnail scales and displays poorly as a banner, and I don’t want it anyway. I want it to simply show the category page and subcategory tiles just like it shows category tiles on the main page. I have selected the option to show no banner on the main shop page, but this setting doesn’t pass down into categories and subcategories.
The part that shows the photo thumbnails below the main image? Is this not an enfold thing? I have around 8 photos on each product and was hoping to show all the thumbnails below the main.
Hi,
Thank you for the info.
Try to remove this line in the remove_enfold_image_sizes function above.
remove_image_size('portfolio');
The post slider or the blog grid layout uses the “portfolio” thumbnail by default.
Best regards,
Ismael
No, I am trying to sort on their publication date (which is each case I have manually set to the title date).
There are lots of plugins that offer to do this, e.g.
But they don’t work for me so I can only guess that is because of way I am putting out the thumbnails for Enfold?
Thanks
Hi,
I noticed that I had issues with posts featured image on post silder
It should automatically fallback to the original image when the required thumbnail is not available. Where can we see the issue?
Best regards,
Ismael
Thanks.
It is this page: https://guardingtheguards.com/category/journals/constabulary-gazette/
In my functions I have this code putting it out.
add_filter(“avf_post_slider_args”, function($atts, $context) {
if ($context == “archive”) {
$atts[‘type’] = ‘grid’;
$atts[‘columns’] = 5;
$atts[‘preview_mode’] = ‘custom’;
$atts[‘image_size’] = ‘thumbnail’;
}
return $atts;
}, 10, 2);
When I added the code you gave me here to functions, it did nothing. No error, but no change.
When I change to ASC the order does change but it makes no sense, it sort of seem to randomise the order.
I note I am trying to order by post date and my post dates start in the 1970s and got up to the present.
Thanks
Lucy
Hi,
Thank you for the update.
how can I tell which duplicates should not be removed as they are needed to properly serve content to all devices?
WordPress or the theme will automatically fallback to the original image when the required thumbnail is not available. As mentioned above, all those thumbnails are used for different elements or templates in the theme.
Is this good practice for the theme to create duplicates of an original image
The duplication or thumbnail generation process is not done by the theme, but by WordPress itself. If you need to decrease the overall size and quality of the image, you can use this filter in the functions.php file:
add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
function avf_set_quality_mod($quality) { $quality = 55; return $quality;}
This filter will set the compression quality from 100% to 55%.
I will also need to remove the duplicates from the server to clear space. I see this option is available only at the premium versions of some plugins.
You may need to manually delete the images and re-upload them again if you want to also clear the related database entries.
Best regards,
Ismael
Hi,
Thank you for the inquiry.
It’s normal for WordPress and themes to generate different sizes or thumbnails for images. This helps avoid using the original or larger image when it’s not necessary. Each thumbnail is used based on the element or template where it needs to be displayed. If you want to prevent the theme from generating these thumbnails, you can add the following filter to your functions.php file:
// Disable loads of Enfold & WP image sizes upon upload
add_action('init', 'remove_enfold_image_sizes');
function remove_enfold_image_sizes() {
// do NOT remove widget size, is used in backend portfolio items!
// remove_image_size('widget');
remove_image_size('square');
remove_image_size('featured');
remove_image_size('featured_large');
remove_image_size('portfolio');
remove_image_size('portfolio_small');
remove_image_size('gallery');
remove_image_size('magazine');
remove_image_size('masonry');
remove_image_size('entry_without_sidebar');
remove_image_size('entry_with_sidebar');
remove_image_size('shop_thumbnail');
remove_image_size('shop_catalog');
remove_image_size('shop_single');
remove_image_size('shop_gallery_thumbnail');
}
Related thread: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/
Best regards,
Ismael
Hi,
I would like to sort my custom posts oldest to newest.
I have tried various plugins that promise to let you choose to sort categories ascending versus descending but none seen to work.
I wonder if this is because of the way I am putting out my thumbnails with this custom code:
Is there a way I can switch to oldest to newest sort order?
Thanks
I have installed a child theme after all, because it was super easy to do, and imported the parent settings. Everything works great. But… the php code still doesn’t work in functions.php in the child theme.
I first tried the code from the Enfold documentation page:
function remove_title_attr(){
?>
<script>
jQuery(window).on('load', function(){
jQuery('#wrap_all a').removeAttr('title');
jQuery('#wrap_all img').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_title_attr');
That had no effect. Then I tried the modified code found on this forum page: https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/#post-981936
function remove_title_attr(){
?>
<script>
jQuery(window).load(function(){
jQuery('#wrap_all img.avia_image, #wrap_all .avia-gallery-thumb img, #wrap_all .avia-gallery-thumb a').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_title_attr');
That didn’t work either. The tooltip still shows up when hovering an image. Hope you can help.
-
This reply was modified 1 year, 6 months ago by
paulw185.
-
This reply was modified 1 year, 6 months ago by
paulw185.
I’ve tried many suggestions on this forum to disable the tooltip with the image title, when hovering over an image. A.o. in these topics:
https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/
https://kriesi.at/support/topic/remove-tooltip-display-of-image-captions/
But I can’t make it work, or I’m doing it wrong. Need some help. Btw I don’t use a child theme.
My website: https://wta.nl/
Portfolio page (with more images): https://wta.nl/portfolio/
-
This topic was modified 1 year, 6 months ago by
paulw185.
-
This topic was modified 1 year, 6 months ago by
paulw185.
Hi,
Thank you for the update.
Try to add this filter in the functions.php file to change the thumbnail size in the single product page:
function avf_single_product_thumbnail_size( $size ) {
return 'full';
}
add_filter( 'single_product_small_thumbnail_size', 'avf_single_product_thumbnail_size' );
Best regards,
Ismael
Hey laptophobo,
Thank you for the inquiry.
Have you tried using the Image element’s Custom Field Image option? You can use the {wp_custom_field:_thumbnail_id} placeholder to automatically fetch the ID of the featured image. Please check the link below:
// https://kriesi.at/documentation/enfold/custom-layout-and-dynamic-content/
Best regards,
Ismael
Hey cuccarini,
Thank you for the inquiry.
Unfortunately, your only option in this case is to make sure to upload images that have the same size and aspect ratio. As you observed, if you choose to select a specific thumbnail, some of the images will get cropped and may not display in full. You can also try the Masonry element but it may not work as you expect.
Best regards,
Ismael
Hi,
Thank you for the update.
It turns out that the theme sets a default thumbnail size called “shop_catalog” for the product grid. To adjust this, we added the following filter to the functions.php file:
function avf_mod_wc_before_shop_loop_item_title_img_size( $size ) {
return 'full';
}
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_mod_wc_before_shop_loop_item_title_img_size' );
Best regards,
Ismael
Thank you Ismael, I appologize regarding access issue. It’s already fixed.
So, do I have to choose “uncropped” option on Woocommerce media settings and then regenerate thumbnails? Is this a reasonable first step? Let me try.
Anyway, please take a look to private message I’m leaving to you.
Regards.
Hi,
Thank you for the update.
We can’t access the new site, which may be due to the security plugin:
Your access to this site has been limited by the site owner
Your access to this service has been limited. (HTTP response code 503)
If you think you have been blocked in error, contact the owner of this site for assistance.
Have you tried regenerating the thumbnails? Please make sure to create a restore point before doing so.
// https://wordpress.org/plugins/regenerate-thumbnails-advanced/
// https://wordpress.org/plugins/force-regenerate-thumbnails/
Best regards,
Ismael
By the way, “Uncropped” and “Custom” options under Appearance > Customize > WooCommerce > Product Images
– Settings > Media “Thumbnail cropping” don’t work.
I leave login information through private content.
Regards.
This reply has been marked as private.
Hey amyncuih,
Thank you for the inquiry.
The dynamic_avia folder contains most of the files that are generated on-the-fly when you update posts, change the style options, or download video thumbnails, etc. If you want to decrease the number of files in the folder, you can start by enabling the Enfold > Performance > Delete Old CSS and JS Files? option. This option is located at the very bottom of the panel. You can also disable the generation of the posts css file by adding this filter in the functions.php file:
function avf_mod_post_css_create_file( $create ){
return false;
}
add_filter( 'avf_post_css_create_file', 'avf_mod_post_css_create_file', 10, 1 );
Another approach is to manually delete old or orphaned stylesheets and script files in the folder. These files are prefixed with names such as avia-footer-scripts, avia-gutenberg-dynamic-enfold, and avia-merged-styles. However, be sure to create a site backup before proceeding.
Best regards,
Ismael
Hey ampersart,
Thank you for the inquiry.
1.) To display a grid layout on the category or archive pages, set the Enfold > Blog Layout > Blog Layout settings to Grid Layout. By default, this setting displays 3 columns, but you can add the following filter to the functions.php file to reduce it to 2 columns.
add_filter("avf_post_slider_args", function($atts, $context) {
if ($context == "archive") {
$atts['type'] = 'grid';
$atts['columns'] = 2;
}
return $atts;
}, 10, 2);
2.) You can set the Styling > Appearance > Preview Image Size settings to the second option to choose a different thumbnail size.
3.) The site is currently in maintenance mode, so we are unable to check the LayerSlider.
4.)The theme should be responsive by default. Just make sure that the Enfold > General Layout > Dimensions > Responsive Layout option is enabled.
In the future, we recommend opening a separate thread for each question or request, rather than grouping all questions in a single thread. This approach will make it easier for us to manage and will allow us to provide more immediate responses.
Best regards,
Ismael
Hey lucybb2,
Thank you for the inquiry.
Looks like you’re trying to adjust the size of the thumbnails on the archive or category pages. This cannot be adjusted in the Settings > Media panel. You have to edit the archive.php file directly or use this filter in the functions.php file:
add_filter("avf_post_slider_args", function($atts, $context) {
if( $context == "archive" ) {
$atts['type'] = 'grid';
$atts['columns'] = 4;
$atts['preview_mode'] = 'custom';
$atts['image_size'] = 'medium';
}
return $atts;
}, 10, 2);
The filter above will set the image size to Medium. Also, when you change the size of the thumbnails, you need to either upload the images again or regenerate the thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails-advanced/
// https://wordpress.org/plugins/force-regenerate-thumbnails/
Best regards,
Ismael
Hi,
I have my blog thumbnail size set as 200 pixels width x 300 pixels height in WordPress > Settings > Media Settings.
However I cannot for the life of me manage to get my website to display this size thumbnails for blog posts. Instead it is displaying either much smaller or much larger thumbnails. See https://guardingtheguards.com/category/library/garda-review/
I have also tried editing my blog page to show 5 across and the correct thumbnail size here:

This is also having no impact.
I would appreciate any help as to how I can get my website to display thumbnails of 200×300.
Many thanks
-
This topic was modified 1 year, 8 months ago by
lucybb2.
-
This topic was modified 1 year, 8 months ago by
lucybb2.
Hey Richard,
Thank you for the inquiry.
You need to ensure that the uploaded images have the same sizes and that the aspect ratio matches your preference. Also, when you change the size of the thumbnails in the Settings > Media panel, you must regenerate the thumbnails or upload the images again. Adjusting the image size will not automatically regenerate new thumbnails for the existing images. You can use the following plugin to regenerate the thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails-advanced/
// https://wordpress.org/plugins/force-regenerate-thumbnails/
Best regards,
Ismael
Hi Enfold!
I’m really excited about the new feature for using ALB and templates for Custom Post Types / dynamic content! It’s great that you’ve made this possible!
First question:
I’m now trying to apply it to our website. I can get the content from the Title and custom fields to display, but not the featured image ({wp_custom_field:_thumbnail_id}) or an image that has been set via a custom upload field in the post ({acf_field_66a25d0c4bbd2:smbk-foto}).
I don’t see any picture: https://ikwilopvallen.nl/smoelenboek/rene-nederhof/
What am I doing wrong?
Second question:
In your video, I see that for the page overview ‘Books’, the posts are added manually in a standard element (https://ikwilopvallen.nl/activiteiten/). Is it not possible to create a custom template for the Custom Posts as well, and then load it onto that page via the ‘Custom Layout’ element on the ‘books’ page, so that ALL CUSTOM POSTS are automatically displayed there?
Thanks in advance,
Ita
Hey bemodesign,
The white lines on the sides of your images are in your thumbnails, see the direct link to your image below.
Try changing the size of your images so they are square then when you upload them they will not be cropped with the white sides.
It looks like the images that you are uploading are portrait and not square.
Best regards,
Mike