HI
I have a site that is almost built and just now am seeing that the images in my portfolio grids are not showing in the grid, but they seem to load and then disappear. I have cleared the css minification. I can’t see the problem on the backend and have checked settings. Can you take a look?
UPDATE – I fixed this by adding this:
.js_active .grid-image {
opacity: 1;
}
but I don’t understand why i needed to add that since the images looked fine before?
Now I am seeing the images but they are getting cropped at the bottom, covered by the title. This was not how they were yesterday. Can you take a look at that? I need the whole images to show with the title and excerpt underneath.
seems ok on firefox but first loads cropped? https://imgur.com/ErS9LDK (correct)
chrome: https://imgur.com/Hj8whSR (cropped on the bottom)
UPDATE: The only thing I added yesterday was a cookie bot banner which seems to be cropping the images on chrome and safari browser. When I disable it, the images are fine. Is there a way to fix this and still use cookiebot? If I disable the cookiebot banner, the icon is still there with the info in lower left on some pages – do I need that for compliance. Is there a way to link the cookiebot settings thru the enfold popup info box or is it ok as it is? I am using the enfold banner and it seems to be ok and the images are not cropped. (I found that some cookiebot banner settings make it so the video background doesn’t load on the front page.) What are the best practices here?
Also :
The thumbnails on the grid seem to load slowly, like the files are too big (these are 300×300). Is there a way to fix this?
On the page listed below, I have the sorting options turned on, but I am not seeing them (there is the space there where they should be). Can you take a look?
thanks
Nancy
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
-
This topic was modified 9 months, 1 week ago by
Munford.
Hi,
Thank you for sharing the complete steps. Regarding the older thread, the complete solution is already there; you just need to adjust the “std” parameter to “hover_active”.
remove_filter( 'avf_builder_elements', 'avia_woocommerce_product_elements', 500, 1 );
add_filter( 'avf_builder_elements', 'avia_woocommerce_product_elements_mod', 500, 1 );
function avia_woocommerce_product_elements_mod( $elements )
{
$posttype = avia_backend_get_post_type();
if( ! empty( $posttype ) && $posttype == 'product' )
{
$elements[] = array("slug" => "avia_product_hover",
"name" => "Hover effect on <strong>Overview Pages</strong>",
"desc" => "Do you want to display a hover effect on overview pages and replace the default thumbnail with the first image of the gallery?",
"id" => "_product_hover",
"type" => "select",
"std" => "hover_active",
"class" => "avia-style",
"subtype" => array("Yes - show first gallery image on hover" => 'hover_active', "No hover effect" => ''));
$counter = 0;
foreach( $elements as $element )
{
if( $element['id'] == 'sidebar' )
{
$elements[ $counter ]['required'] = '';
}
else if( $element['id'] == 'layout' )
{
$elements[ $counter ]['builder_active'] = true;
// unset($elements[$counter]);
}
$counter++;
}
}
return $elements;
}
Best regards,
Ismael
Hi,
I want to create a gallery with Custom Field image. If I insert more images into the field ( like: {wp_custom_field:_thumbnail_id}, {acf_field_67cffccfbfe35:Anzeigenbild 1}, {acf_field_67cffd4abfe36:Anzeigenbild 2}, {acf_field_67cffd61bfe37:Anzeigenbild 3} ) there are displayed any images, but not the images supposed to !! What am I doing wrong here?
Thank you for helping
Hi,
When creating a product with the ALB and you want to show the thumbnails under the main image you will first need to ensure that you have Enfold Theme Options ▸ Shop Options ▸ Product gallery ▸ WooCommerce 3.0 product gallery enabled.

Then add this css to your child theme stylesheet or the theme option Quick CSS
.single-product .flex-control-thumbs li {
display: flex !important;
float: left;
}
then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
add_shortcode( 'avs_product_gallery_hook', 'avs_product_gallery_hook_callback' );
function avs_product_gallery_hook_callback( $atts ) {
ob_start();
woocommerce_show_product_images();
$content = ob_get_clean();
return $content;
}
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
and add this shortcode to your page where you want the image to show in a code block:
[avs_product_gallery_hook]


the switch occurs on click and not hover, as per woocommerce.
This will only work on product pages and not shop or archive pages, perhaps there is a plugin that will do that but you will prob need to also use the default editor instead of the ALB.
Best regards,
Mike
I applied your CSS in the Enfold general styling quick CSS box and it worked nicely. Is there a way to apply this selectively when using this on a gallery? There may be times when I do want the thumbnails to appear under vs to the left.
If I go to a 1/1 page format then I would have to put the title on top of the photos instead of beside the gallery of images… Unless I use the Ajax feature which seems to allow for text content to appear to the left of the gallery. I’m not familiar with this option plus generally don’t like the formatting limitations and quirkyness within this text field area.
If I use your previously supplied CSS coding can I control the number of thumbnail columns with the gallery styling tools?
Hi,
Yes, we were referring to the left column. Have you tried moving the gallery to 1/1 column to create more space for the main image and the thumbnails?
Best regards,
Ismael
This page layout is a 1/3 left hand column for art title, specification and eventual description and 2/3 right hand column for gallery photos. Are you referring to the left column as a default sidebar? When creating the portfolio entry I did turn off the default sidebar there.
The question still stands “If I use a different percentage say 25% (for the large image) will the thumbnails stack (to the left) on top of one another, creating perhaps 2 columns wide over 5 rows tall?”
This solution makes the large image too small (non-impactful) for impressive portfolio use. If I use a different percentage say 25% will the thumbnails stack on top of one another, creating perhaps 2 columns wide over 5 rows tall?
Hey JeffDale,
Thank you for the inquiry.
There is no option for this by default, but you can add this css code to adjust the width of the main image and move it to the right, effectively creating space for the thumbnails.
#top div .avia-gallery .avia-gallery-big {
float: right;
width: 50%;
}
Result:
View post on imgur.com
Best regards,
Ismael
Under media elements when using a custom gallery with large image and small thumbnails – Is it possible to locate the thumbnails to the left of the large image or even better in a separate column? Currently the only option appears to be under the large image, which unfortunately the viewer doesn’t see unless they scroll down to find them. A link is list in the private section showing how I’d like the thumbnails to appear in a left hand column.
Hey Mike
I appologize. I did not mean flip. I meant to change the single product main image for the first gallery image on hover.
So for the single product image. On hover change the main product image for the first gallery image.
+ To do so also for the thumbnails on the Shop and Archive pages.
Thanks.
Hi
I am trying to figure out the correct code snippet to use for changing the main single product image on hover to the first gallery image.
Example this page: https://labhuset.no/product/fiocchetti-plasmafryser-30-40c/
I found this earlier thread: https://kriesi.at/support/topic/change-single-product-image-on-hover-with-gallery-first-image/
But found the code shared there unclear. It would be great with an update with a workable code.
Enfold has been used to customize all the single product pages in WooCommerce.
I am working on figuring out how to change images on hover (for the first gallery image) of the main product in the Single product page
2.
It would also be helpful to at the same time have the correct code to change images on hover in the shop page AND the archive page. Having the thumbnails seen change to the first gallery image.
Thank you!
-
This topic was modified 9 months, 3 weeks ago by
SHR Design. Reason: A mistake in adding the word flip. It has been adjusted
Hey Vera,
I added this to your child theme functions.php:
function override_post_thumbnail_size($size, $post_id) {
if (is_archive()) {
return 'full';
}
return $size;
}
add_filter('post_thumbnail_size', 'override_post_thumbnail_size', 10, 2);
It is working, but you will need to adjust one of your images as it’s full size is smaller than the others (Blinder Port)
Best regards,
Mike
Hi,
1.
I’d like to show the thumbnails on archive pages of portfolio categories in their original dimensions (like the option you can choose in the settings of a portfolio-grid)
2. eliminate the prefix „Archiv für:“
Thank you very much for your help.
Best regards
Vera
Hey ballindigital,
Thank you for the inquiry.
You can add this css code to hide the product gallery thumbnails and adjust the height of the main product image:
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
.single .product div.images div.thumbnails {
display: none;
}
.single .product div.images img {
width: auto;
height: auto;
max-height: 300px;
margin: 0 auto;
}
}
Best regards,
Ismael
Hi,
I need some help with the product image gallery on mobile.
I just re-enabled the large product image, but now it looks way too big on mobile.
View post on imgur.com
I’d like to hide the small thumbnail images below but still allow users to click/swipe to see the next image.
Ideally, the main image should be smaller so it doesn’t take up the whole screen and you can at least see some of the text underneath.
Is there an easy way to do this with CSS or settings in Enfold?
Thanks!
i have on one installation this snippet to decide even on alb generated posts/portfolio to show the featured image:
function avf_template_builder_content_postimage_mod($content = ""){
if( (is_singular('post') || is_singular('portfolio')) && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) ) {
$featuredImage = get_the_post_thumbnail( $the_id, 'original' );
$content = '<header class="entry-content-header"><div class="page-thumb">' .$featuredImage. '</div></header>' . $content ;
}
return $content;
}
add_filter('avf_template_builder_content', 'avf_template_builder_content_postimage_mod', 10, 1);
now the site turned to show a page es footer !
we now got $content twice !
so the featured image is inserted to post content and to footer content. How to avoid that
(Yes i know i can set it via css to display none – but that is (double content) a bad solution)
Hi,
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_script() { ?>
<script>
window.addEventListener('DOMContentLoaded', function() {
(function($){
$('.single-post').each(function() {
$(this).find('.entry-content-header').css({'margin-top':'15px'}).insertAfter($(this).find('.big-preview').css({'margin-top':'0'}));
});
})(jQuery);
});
</script>
<?php
}
add_action( 'wp_footer', 'custom_script', 99 );
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

To use the full size featured image for single posts with a sidebar, instead of the 845×321 size that will be upscaled, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
add_filter( 'post_thumbnail_size', 'custom_single_event_post_thumbnail_size' );
function custom_single_event_post_thumbnail_size($size) {
if( !is_singular('post') ) {
return;
}
if( ! has_post_thumbnail() ) {
return;
}
$size = 'full';
return $size;
}
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Best regards,
Mike
Hi,
Thank you for the info.
This seems to be an issue with the Smush Pro plugin. When deactivated, the post slider displays the correct thumbnails. We created a test page. (see private field).
Please check the plugin settings and contact the plugin developer for additional assistance.
Best regards,
Ismael
Hey arbormat,
Thank you for the inquiry.
Some images in the grid are smaller than 1500x630px, so the original or full-size versions are displayed. Please note that WordPress doesn’t generate larger versions of images. Make sure to upload images with the same size and aspect ratio, or at least larger than the selected thumbnail.
Best regards,
Ismael
Hey TheConduitLondon,
Thank you for the inquiry.
The size of the images is 710x375px, so they are displaying the correct magazine thumbnail. Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:
1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
2.) Locate the option to upload a file or an image.
3.) Select the screenshot file from your computer or device and upload it to the platform.
4.) After the upload is complete, you will be provided with a shareable link or an embed code.
5.) Copy the link or code and include it in your message or response to provide us with the screenshot.
Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.
Best regards,
Ismael
Hi,
Thank you for the update.
It turned out to be an issue with the config-templatebuilder > avia-template-builder > assets > js > avia-media.js file. We modified this code around line 466:
preview_img = element.sizes && element.sizes['thumbnail'] ? element.sizes['thumbnail'].url : element.url;
We added a few images in the Masonry Gallery in the test page. Please make sure to purge the cache before testing.
Best regards,
Ismael
Hey MysticMimi,
On your blog page the categories show at the bottom because you are using a full width color section and a grid row, these full width elements push the sidebar down below, so you would need to change your layout.
To add categories to your footer you can use the categories widget.

I don’t know what you mean by: “thumbnail photo strip underneath the section” perhaps this?

I don’t see a “white shadow thing at the edge of the page on the blog page”
Best regards,
Mike
Hi guys,
in another thread i already asked for that:
The gallery on smartphone looks strange.
When i want a large image and thumbnails under the large image theres too much space between image and thumbnails.
Guenni wrote a code for me:
#top div .avia-gallery .avia-gallery-big,
#top div .avia-gallery img {
padding: 2px;
}
Where do i have to add this? Or do i need another code.
Here is an example:
Remember. On PC everything is OK. Just on smartphone it looks weird.
If you want to increase the number of posts, check the Styling > Pagination > Post Number settings.
NOTE: Pagination does not show up as you have indicated above. I REALLY Need these blogs fixed! I also looked on your link to documentation, and nothing there on this subject.
I need to show about 40 blogs on this page, in either 2 or 3 columns. I also need to show the thumbnails at the bottom. I also need to have a categories list on the side.
Please either tell me how to accomplish this, or do it for me! I am getting desperate here…
This is the first time I’ve use your theme for a long time. The first time it was great and easy. Now, with this theme, it is so hard to find anything. A lot has changed in the ensuing years.
Hello,
Thank you for your help!
Is there a way to show the categories on the sidebar if I’m using a grid layout? Can I make the grid layout thinner? When I tried that, it still went to the bottom.
If I can’t, how can I show the categories somewhere else on the page, like a footer listing?
Also, in a previous version of this blog, it showed a thumbnail photo strip underneath the section for people to click to see other blogs. How can I get that back?
One more thing. I don’t like that white shadow thing at the edge of the page on the blog page. How do I get rid of that?
have a look at : https://webers-testseite.de/bemopriv/
the heading had to be styled for responsive case – but I didn’t feel like doing that anymore.
the layout is based on a grid-row element
this is the enfold shortcode of the grid-row:
[av_layout_row min_height_percent='percent' min_height_pc='60' min_height='0' border='' fold_type='' fold_height='' fold_more='Read more' fold_less='Read less' fold_text_style='' fold_btn_align='' color='main_color' fold_overlay_color='' fold_text_color='' fold_btn_color='theme-color' fold_btn_bg_color='' fold_btn_font_color='' size-btn-text='' av-desktop-font-size-btn-text='' av-medium-font-size-btn-text='' av-small-font-size-btn-text='' av-mini-font-size-btn-text='' fold_timer='' z_index_fold='' mobile='av-flex-cells' mobile_breaking='' mobile_column_order='' id='' custom_class='full-bg-image' template_class='' aria_label='' av_element_hidden_in_editor='0' av_uid='av-m6f9v8gq' sc_version='1.0']
[av_cell_three_fourth vertical_align='middle' padding=',,,' av-desktop-padding=',,,80px' av-medium-padding=',,,80px' av-small-padding='3' av-small-padding_sync='true' av-mini-padding='20' av-mini-padding_sync='true' background='bg_color' background_color='' background_gradient_direction='vertical' background_gradient_color1='#000000' background_gradient_color2='#ffffff' background_gradient_color3='' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' link_dynamic='' linktarget='' title_attr='' link_hover='' mobile_display='' mobile_col_pos='0' custom_class='' template_class='' av_uid='av-m6f9ukqb' sc_version='1.0']
[av_four_fifth first min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_width='10' row_boxshadow_color='' margin='0px' margin_sync='true' av-desktop-margin='' av-desktop-margin_sync='true' av-medium-margin='' av-medium-margin_sync='true' av-small-margin='' av-small-margin_sync='true' av-mini-margin='' av-mini-margin_sync='true' mobile_breaking='' mobile_column_order='' border='1' border_style='solid' border_color='#000000' radius='15' radius_sync='true' min_col_height='' padding='30' padding_sync='true' av-desktop-padding='' av-desktop-padding_sync='true' av-medium-padding='' av-medium-padding_sync='true' av-small-padding='' av-small-padding_sync='true' av-mini-padding='' av-mini-padding_sync='true' svg_div_top='' svg_div_top_color='#333333' svg_div_top_width='100' svg_div_top_height='50' svg_div_top_max_height='none' svg_div_top_opacity='' svg_div_bottom='' svg_div_bottom_color='#333333' svg_div_bottom_width='100' svg_div_bottom_height='50' svg_div_bottom_max_height='none' svg_div_bottom_opacity='' fold_type='' fold_height='' fold_more='Read more' fold_less='Read less' fold_text_style='' fold_btn_align='' column_boxshadow_width='10' column_boxshadow_color='' background='bg_color' background_color='rgba(0,0,0,0.5)' background_gradient_direction='vertical' background_gradient_color1='#000000' background_gradient_color2='#ffffff' background_gradient_color3='' src='' attachment='' attachment_size='' src_dynamic='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' fold_overlay_color='' fold_text_color='' fold_btn_color='theme-color' fold_btn_bg_color='' fold_btn_font_color='' size-btn-text='' av-desktop-font-size-btn-text='' av-medium-font-size-btn-text='' av-small-font-size-btn-text='' av-mini-font-size-btn-text='' animation='' animation_duration='' animation_custom_bg_color='' animation_z_index_curtain='100' parallax_parallax='' parallax_parallax_speed='' av-desktop-parallax_parallax='' av-desktop-parallax_parallax_speed='' av-medium-parallax_parallax='' av-medium-parallax_parallax_speed='' av-small-parallax_parallax='' av-small-parallax_parallax_speed='' av-mini-parallax_parallax='' av-mini-parallax_parallax_speed='' fold_timer='' z_index_fold='' css_position='' css_position_location=',,,' css_position_z_index='' av-desktop-css_position='' av-desktop-css_position_location=',,,' av-desktop-css_position_z_index='' av-medium-css_position='' av-medium-css_position_location=',,,' av-medium-css_position_z_index='' av-small-css_position='' av-small-css_position_location=',,,' av-small-css_position_z_index='' av-mini-css_position='' av-mini-css_position_location=',,,' av-mini-css_position_z_index='' link='' link_dynamic='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' mobile_col_pos='0' id='' custom_class='' template_class='' aria_label='' element_template='' one_element_template='' av_uid='av-t574on' sc_version='1.0']
[av_heading heading='FREEZE FLAT™' tag='h1' style='blockquote modern-quote' subheading_active='subheading_above' show_icon='' icon='ue800' font='entypo-fontello' size='' av-desktop-font-size-title='48' av-medium-font-size-title='42' av-small-font-size-title='36' av-mini-font-size-title='28' subheading_size='' av-desktop-font-size='36' av-medium-font-size='28' av-small-font-size='24' av-mini-font-size='20' icon_size='' av-desktop-font-size-1='' av-medium-font-size-1='' av-small-font-size-1='' av-mini-font-size-1='' color='custom-color-heading' custom_font='#ffffff' subheading_color='#ffffff' seperator_color='' icon_color='' margin='' margin_sync='true' av-desktop-margin='' av-desktop-margin_sync='true' av-medium-margin='' av-medium-margin_sync='true' av-small-margin='' av-small-margin_sync='true' av-mini-margin='' av-mini-margin_sync='true' headline_padding='' headline_padding_sync='true' av-desktop-headline_padding='' av-desktop-headline_padding_sync='true' av-medium-headline_padding='' av-medium-headline_padding_sync='true' av-small-headline_padding='' av-small-headline_padding_sync='true' av-mini-headline_padding='' av-mini-headline_padding_sync='true' padding='10' av-desktop-padding='' av-medium-padding='' av-small-padding='' av-mini-padding='' icon_padding='10' av-desktop-icon_padding='' av-medium-icon_padding='' av-small-icon_padding='' av-mini-icon_padding='' link='' link_dynamic='' link_target='' title_attr='' id='' custom_class='iceglas' template_class='' element_template='' one_element_template='' av_uid='av-m6e7xj5g' sc_version='1.0' admin_preview_bg='']
The Original
[/av_heading]
[/av_four_fifth][/av_cell_three_fourth][av_cell_one_fourth vertical_align='bottom' padding='' padding_sync='true' av-desktop-padding='' av-desktop-padding_sync='true' av-medium-padding='' av-medium-padding_sync='true' av-small-padding='' av-small-padding_sync='true' av-mini-padding='' av-mini-padding_sync='true' background='bg_color' background_color='' background_gradient_direction='vertical' background_gradient_color1='#000000' background_gradient_color2='#ffffff' background_gradient_color3='' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' link_dynamic='' linktarget='' title_attr='' link_hover='' mobile_display='' mobile_col_pos='0' custom_class='' template_class='' av_uid='av-u4sunr' sc_version='1.0']
[av_video src='https://www.youtube.com/watch?v=W73GdyDSHuU' mobile_image='https://webers-testseite.de/wp-content/uploads/dynamic_avia/avia_video_thumbnails/youtube/W73GdyDSHuU/W73GdyDSHuU.jpg' attachment='49853' attachment_size='full' video_autoplay_enabled='aviaTBvideo_autoplay_enabled' html5_fullscreen='aviaTBhtml5_fullscreen' format='16-9' width='16' height='9' conditional_play='' id='' custom_class='' template_class='' element_template='' one_element_template='' av_uid='av-m6f9u95o' sc_version='1.0']
[/av_cell_one_fourth]
[/av_layout_row]
Hi,
Please note that adding the code above and regenerating the thumbnails will not remove the old images that you want to remove, you will need to remove them via FTP or your cPanel file manager.
Best regards,
Mike