Viewing 30 results - 721 through 750 (of 10,101 total)
  • Author
    Search Results
  • #1366025

    Hi,
    Glad to see that you found a plugin for this, to center the thumbnails try this css:

    #top #main .thumbnail_container img {
        margin: auto;
    }

    the expected results:
    2022-09-22_006.jpg

    Best regards,
    Mike

    #1365977

    Hi,
    Unfortunately not with your current thumbnails because they are cropped, the thumbnail image you see is the whole image.
    Please see the direct image link to the thumbnail below, you will see what I mean.
    I don’t see any other solution but to create square new images.

    Best regards,
    Mike

    Hey orianos,

    Thank you for the inquiry.

    You may need to add this filter in the functions.php file to revert the product thumbnail settings back to default.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Related threads:

    // https://kriesi.at/support/topic/bug-in-enfold-for-woocommerce-prduct-images/
    // https://kriesi.at/support/topic/woocommerce-product-image-size-bug/

    Best regards,
    Ismael

    #1365906

    Hi,
    Since your image is a portrait layout and looks like it is twice as tall as it is wide, I believe you will find your best results will be if you make your original image square and then upload it, your new thumbnails will then show the full product. Woocommerce images work better if they are square since the div is also square.

    Best regards,
    Mike

    #1365761

    Thanks Yigit,
    This changed the colours of the small thumbnails. Is there a code to change also background of “big thumbnail”? That did not change and is still white. See the same page for reference

    #1365509

    Hey bptdxvkalsel,

    Thank you for the inquiry.

    You may need to add open graph data in order to display a thumbnail when sharing an entry. The following plugin should help.

    // https://wordpress.org/plugins/opengraph/

    This is also available on Yoast.

    // https://yoast.com/help/getting-open-graph-for-your-articles/

    Best regards,
    Ismael

    #1365497
    bptdxvkalsel
    Participant

    can anyone help me?

    why no thumbnail show when i try to share website link in whatsapp like the image below

    https://prnt.sc/dbkI5rNqEAEq

    #1365221

    Hi,

    Thank you for the info.

    But if I reinstate the ‘shop_catalog image size, it starts picking it up again and not the woocommerce_thumbnail one.

    Did you implement the changes in the enfold/config-woocommerce/config.php after reinstating the shop_catalog image size?

    $woocommerce_thumbnail_image_width = get_option( 'woocommerce_thumbnail_image_width' );
    		$default_size = $woocommerce_thumbnail_image_width == 300 ? 'shop_catalog' : 'woocommerce_thumbnail';
    		$size = apply_filters( 'avf_wc_before_shop_loop_item_title_img_size', $default_size );
    

    The theme by default will prioritize the custom shop_catalog (450x450px) thumbnail if the changes above are not implemented. You can also use the filter.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'temp_thumbnail_size_fix', 10, 1 );
    function temp_thumbnail_size_fix( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Best regards,
    Ismael

    #1365188

    Hi, Rikard

    Thanks for the info. I did manage to register, thanks for the tip.

    Check this page: https://aciege.org/les-ecoles-membres-de-laciege/#toggle-id-2
    This is a directory of the partner schools of our association. We used the accordion element of Avia Page Builder to register all the schools. Our problem is the following: whenever we enter an element of the accordion to enter some text or a picture; it seems to accept it but does not display it. Using Elementor helps us go round this problem, but it would be much more simple for our users to change their info directly in the accordion element.
    Could you help us solve this problem?
    Are there any known incompatibility of Avia Page builder with some plugins?
    For the record, here are the active plugins on our website: Akismet Anti-Spam / All In One WP Security / Classic Editor / Contact Form 7 / Easy Updates Manager / Elementor / Flamingo / Import Export WordPress Users and WooCommerce Customers / Jetpack / Leaflet Map / LoginWP (Formerly Peter’s Login Redirect) / MailPoet / Post Types Order / Really Simple SSL / Redirection / Regenerate Thumbnails / Restreindre l’accès utilisateur / Shortcodes Ultimate / User Menus / User Role Editor / Wordfence Security / WP-Optimize – Nettoyer, compresser, mettre en cache.
    Thanks for your help

    #1365167

    Hi,

    You can add comment as following

    
    /* This is the comment to describe what I did */
    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Cheers!
    Yigit

    #1365152

    Hi Ismael,
    Thanks for your help. Sadly, that didn’t work. So I tried different things, and here are a few other elements that might help :
    – when changing to another theme (like Twenty Twenty-Two), and adding a new product, the product image worked as intended, by which I mean that on the product page, when clicking on ‘Define featured image’ and uploading a new picture and selecting it, the proper thumbnail (uncropped) appeared on the page. I then saved the product and switched back to Enfold, and it kept the right uncropped thumbnail. And on the catalog, I could see the right, uncropped thumbnail.
    – So I tried something else. I disabled the shop_catalog image size in my child theme function.php, changed back the woocommerce/config.php file to what it was originnaly, and then retried the whole process ; this time, even with Enfold activated, everything happened as it should – meaning I get my uncropped thumbnail. But if I reinstate the ‘shop_catalog image size, it starts picking it up again and not the woocommerce_thumbnail one.
    And if I select a semi-old picture (one dating from no before the end of August), and the 450×450 pixel file exists on the server, it will get picked up even though the image size ‘shop_catalog’ is still removed. Regenerating the thumbnails and deleting the unused ones makes it work again.

    So it seems that somehow, the existence of the shop_catalog sized image is enough for it to take precedence over any other thumbnail…. Once again, I encourage you to try things out on the website I gave you. It truly baffles me.

    Thanks for your help !

    #1365090

    Hey Omar Skapti,

    Thank you for the inquiry.

    The theme sets the product thumbnail to shop_catalog (450x450px) by default, and this overrides the value set in the Woocommerce > Product Images > Product Thumbnail Width field.

    To change this behavior and to revert back to the default product thumbnail, you have to add this filter in the functions.php file.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Best regards,
    Ismael

    #1365079

    Hey JaimBateman,

    Thank you for the inquiry.

    Have you tried implementing the changes that we suggested in the previous thread?

    // https://kriesi.at/support/topic/bug-in-enfold-for-woocommerce-prduct-images/#post-1363586

    The enfold/config-woocommerce/config.php file has to be modified directly. This will set the thumbnail to the default woocommerce_thumbnail if the woocommerce_thumbnail_image_width option has been adjusted.

    Best regards,
    Ismael

    #1364989
    JaimBateman
    Participant

    Hi,

    Like others, I recently have a problem with the featured product image in Woocommerce. The product image is set to be 450px wide, and uncropped. But now, when I create a new product, and upload a new picture for its featured image, it seems to automatically selects the shop_catalog size (450×450). But when, for this same product, I select an old picture that was already used for another, older, product, it selects the correct thumbnail (uncropped). That is even before saving the product ; I mean that when the media library window pops out, and the product image is loaded in the editor, the square thumbnail appears instead of the uncropped version.
    This only happens with newly uploaded pictures. And yet, I checked, the correct woocommerce thumbnail is generated in the system (I can find it when accessing the uploads folfer through FTP). It seems, for some reason, that when selecting a newlymade product image, the system cannot ‘find’ the yet-generated woommerce thumbails…
    I also tried to edit an old product, and it’s the same thing : whenever I try to upload a new picture, the shop thumbnail is automatically selected ; when I use old, already imported images, it selects the proper woocommerce thumbnail.
    Also, in the single product page front end, the product image is the correct one (uncropped woocommerce thumbnail), and not the square one.

    I have tried the solutions offered in others threads (notably https://kriesi.at/support/topic/bug-in-enfold-for-woocommerce-prduct-images/#post-1362307), to no avail so far. But the problem seems a bit different : for me, the catalog thumbnail, when I selected an old picture for it, was fine. It was only with a new picture that the square thumbnail appears. Hence, in my mind, the problem lies with the woocommerce catalog thumbnail generation…

    Any idea why that behaviour happens ?

    #1364882
    OmarSG
    Participant

    New image in shop catalog has changed to 450×450 from normal you could see that on https://bokalind.is/baekur/handbaekur/ or https://bokalind.is/baekur/fraedibaekur/
    I have noticed it in Responsive Images thumbnails overview, images aspect ratio
    • 36*36 – Widget (added by theme)
    • 80*80 – thumbnail (WP default size)
    • 100*100 (cropped) – woocommerce_gallery_thumbnail (added by a plugin)
    • 120*120 (cropped) – shop_thumbnail (added by a plugin)
    • 180*180 – Square (added by theme)
    • 450*450 (cropped) – shop_catalog (added by a plugin)
    • 705*705 – Masonry (added by theme)
    How can I changed it back to normal? It looks like Enfold plugin as don it

    Hi,

    Glad to know that this has been resolved. Regarding the product gallery, you can try the Gallery element from the Media Elements tab, set the Styling > Gallery Style to the second option (Big image with thumbnails below), then adjust the Thumbnail Columns.

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    #1364680

    Hey kreativeseite,

    Thank you for the inquiry.

    Looks like both the single post and blog overview page are using the same thumbnail, which is 1030x1030px in size. Did you remove the other registered thumbnails? The default thumbnail for the single post page should be 845x321px in size but this thumbnail doesn’t get applied for some reason.

    Best regards,
    Ismael

    Dear Rikard,

    Perfect, it worked out, Thanks very much.

    Meanwhile, I have another question,
    how can I get a product photo with 3 or 4 thumbnail by avia layout builder, like the woocommerce product photo?
    which layout element should I adopt? I have tried content elements, media elements, not work out.

    #1364646

    In reply to: Breakpoints

    Hi,
    To add a caption below your gallery items, you can use this css from our documentation:

    /* Display caption below thumbnail */
    #top .avia-gallery .avia-gallery-thumb a:after {
    content: attr(title);
    margin: 10px 0;
    position: relative;
    display: block;
    width: 100%;
    font-size: 14px;
    text-align: center;
    }
    

    adjust the css font size and margin to suit, after applying the css clear your browser cache.
    and use the caption field:
    2022-09-11_002.jpg
    the expected results:
    2022-09-11_005.jpg
    Or try using the masonry gallery element for both galleries, the first one without captions and the second one with captions, again use the caption field:
    2022-09-11_002.jpg
    then choose to show the caption excerpt always:
    2022-09-11_003.jpg
    the expected results:
    2022-09-11_004.jpg

    Best regards,
    Mike

    #1364481

    Hey Ismael,

    Does not work, I disabled CSS and Javascript files merging and compression. Please see the provided link, I would like to disable all tooltips (over the thumbnail and over the title) appearing on mouse hover over the “You might also like” block at the bottom of the post.

    Thank you,
    Marina

    #1364478

    That would be a great feature to add – a way to choose the size of the small thumbnail in elements that have them from within the element.

    This filter worked, I am glad to finally have a solution. 16 days is a very long time.

    Hey Andrew,

    Sorry for the confusion. We provided a filter in the previous thread, please continue here: https://kriesi.at/support/topic/magazine-thumbnails-display-at-different-sizes/#post-1364153

    Best regards,
    Ismael

    #1364153

    Hi,

    Sorry for the confusion. Looks like you can only select the thumbnail size for the big entry in the Styling > General Styling panel, small entries use the default thumbnail (80x80px). Please add this filter in the functions.php file instead.

    add_filter('avf_magazine_settings', function($config) {
        $config['image_size']['small'] = 'full';
        $config['image_size']['big'] = 'full';
        return $config;
    }, 10, 1);
    

    The filter will set the thumbnail size of the small entries to full and display the original image.

    Best regards,
    Ismael

    #1363956

    I WANT the thumbnails to display on a 16:9 ratio. I DO NOT want them square. The ones that are 16:9 are CORRECT. the square ones are not.

    #1363867

    Hi,

    Thank you for the update.

    The images in the magazine element get distorted because of this css code.

    .AVR-home-page .av-magazine-thumbnail {
        width: 320px !important;
        height: 180px !important;
    }
    
    .AVR-home-page .av-magazine-thumbnail img {
        height: 168px !important;
        width: 309px !important;
    }
    

    Removing the css code should bring the magazine element back to its default style or layout, screenshot below.

    // https://1drv.ms/u/s!AjjTfXSRbKTvxAoJplsUeMQf6rZy?e=HVdrI7

    Best regards,
    Ismael

    #1363859
    Marina
    Participant

    Hello,

    I would like to disable all tooltips of the Related Entries element. There are two tooltips: with the entry title and with the thumbnail title. Is it possible to not show them at all?

    Thank you,
    Marina

    #1363809

    My thumbnails are not woocommerce thumbnails. They are part of the default magazine element in Enfold.

    #1363749

    Hi la_tripping,

    Please try this filter in your functions.php file:

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'temp_thumbnail_size_fix', 10, 1 );
    
    function temp_thumbnail_size_fix( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }

    Best regards,
    Rikard

    #1363748

    Hi,

    Please try this filter in functions.php to see if you have any luck with it:

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'temp_thumbnail_size_fix', 10, 1 );
    
    function temp_thumbnail_size_fix( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }

    Best regards,
    Rikard

    #1363586

    Hi,

    The issue occurs because Woocommerce just returns the declared thumbnail shop_catalog instead of using the values set in the Woocommerce > Product Images options. The function that controls the image size is located in the plugins/woocommerce/includes/wc-core-functions.php file, look for the wc_get_image_size (line 928).

    Your filter works because when the thumbnail is set to woocommerce_thumbnail, the following condition block (line 971) gets executed and return the values or options set in the Woocommerce > Product Images panel.

    } elseif ( 'thumbnail' === $image_size ) {
    			$size['width'] = absint( wc_get_theme_support( 'thumbnail_image_width', get_option( 'woocommerce_thumbnail_image_width', 300 ) ) );
    			$cropping      = get_option( 'woocommerce_thumbnail_cropping', '1:1' );
    
    			if ( 'uncropped' === $cropping ) {
    				$size['height'] = '';
    				$size['crop']   = 0;
    			} elseif ( 'custom' === $cropping ) {
    				$width          = max( 1, (float) get_option( 'woocommerce_thumbnail_cropping_custom_width', '4' ) );
    				$height         = max( 1, (float) get_option( 'woocommerce_thumbnail_cropping_custom_height', '3' ) );
    				$size['height'] = absint( NumberUtil::round( ( $size['width'] / $width ) * $height ) );
    				$size['crop']   = 1;
    			} else {
    				$cropping_split = explode( ':', $cropping );
    				$width          = max( 1, (float) current( $cropping_split ) );
    				$height         = max( 1, (float) end( $cropping_split ) );
    				$size['height'] = absint( NumberUtil::round( ( $size['width'] / $width ) * $height ) );
    				$size['crop']   = 1;
    			}
    		}
    

    Please try to edit the enfold/config-woocommerce/config.php file and look for this code around line 442.

    
    $size = apply_filters( 'avf_wc_before_shop_loop_item_title_img_size', 'shop_catalog' );
    

    Replace it with:

    
    $woocommerce_thumbnail_image_width = get_option( 'woocommerce_thumbnail_image_width' );
    		$default_size = $woocommerce_thumbnail_image_width == 300 ? 'shop_catalog' : 'woocommerce_thumbnail';
    		$size = apply_filters( 'avf_wc_before_shop_loop_item_title_img_size', $default_size );
    

    Best regards,
    Ismael

Viewing 30 results - 721 through 750 (of 10,101 total)