-
Search Results
-
Good morning,
You helped me fix this last time. I have now uploaded the child’s theme, and your settings have disappeared. I entered the code in the custom code field, and, as before, it did not work. AND THERE IS ANOTHER BIG ISSUE WITH THE NEW INSTALL. On the phone the products are majorly out of wack! Type is all over the place. Can you help with this then check on a phone to see if it appears right?? THANK YOU IN ADVANCE!! I uploaded the old Enfold theme settings with the new install but maybe because you changed it at the Php level it did not transfer.
I HAVE COPIED AND PASTED WHAT YOU DID THE LAST TIME. HERE IT IS. YOU ADDED IT TO MY PHP FUNCTION, WHICH I DO NOT KNOW HOW TO DO.
Hi,Thank you for your patience, on the page /fine-art-limited-editions/ I see the images are cropped to 450px square:
Enfold_Support_3642.jpegand your original images are in a 4:3 layout:
Enfold_Support_3644.jpegI couldn’t find the snippet that Ismael provided above anywhere, so I added it to th end of youe functions.php and now the images look like the original layout:
Enfold_Support_3646.jpegplease clear your browser cache and check.
I see you are not using a child theme and so this customization will be lost when you update next, I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets so your customizations won’t be lost.Best regards,
Mike
HERE IS THE SNIPPET THAT THE THREAD SAID YOU ADDED.
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’;Hello Enfold Support Team,
I am trying to change the default cropped size of my featured images on single blog posts to a proper 16:9 aspect ratio, so that my 1280x720px images are displayed in full without any cropping.
I have tried two different PHP-based methods based on my research, but neither has worked on my local server environment (so caching should not be the issue).
Method 1: Modifying Existing Sizes
First, I tried to modify the existing theme sizes using the avf_modify_thumb_size filter. This was the code I used in my child theme’s functions.php (respectively in a Code Snippet Plugin):
function enfold_definitive_image_ratio_fix( $size_array ) { $size_array['entry_without_sidebar'] = array('width' => 1210, 'height' => 681); $size_array['entry_with_sidebar'] = array('width' => 845, 'height' => 475); return $size_array; } add_filter( 'avf_modify_thumb_size', 'enfold_definitive_image_ratio_fix', 10, 1 );When this code is active, the “Regenerate Thumbnails” page still shows the old default dimensions (e.g., 1210×423), so the filter does not seem to be applying correctly.
Method 2: Registering a New Size and Forcing its Use
As an alternative, I also tried registering a brand new 16:9 image size (custom-16-9-hero) and then used the avf_post_featured_image_size filter to force the theme to use it. Here is the code for that attempt:
function enfold_add_custom_image_sizes() { add_image_size( 'custom-16-9-hero', 1280, 720, true ); } add_action( 'after_setup_theme', 'enfold_add_custom_image_sizes' ); function enfold_use_custom_featured_image_size( $size ) { if ( is_singular('post') ) { return 'custom-16-9-hero'; } return $size; } add_filter( 'avf_post_featured_image_size', 'enfold_use_custom_featured_image_size', 10, 1 );With this method, the “Regenerate Thumbnails” plugin does show my new custom-16-9-hero – 1280 x 720 size and creates the files correctly after regenerating. However, the theme’s single post template still ignores the filter and continues to display the old default cropped image.
My question is:
In the latest version of Enfold, what is the definitive and correct method to ensure the featured image on a single post page is displayed at a custom 16:9 ratio?
Thank you very much for your help.
Kind regards,
DavidHi, I used the Enfold Medical template, and the slider image is mostly covered up on a mobile (small screen). I unticked the option to display it, and half of the first content box is missing (the top half). So either way, it looks dreadful. I checked the medial template on my phone to see if the same issue happened for you, and I noticed the box was further down, so more of the slider image was visible. How can I do that for my website?
Cheers Kinnear
Hi
here is a severe issue: “Taxonomy tags of masonry element incomplete”1: Open gwup.org
2: Scroll down until “Vollständige Artikel”
3: Find this list of filterable tags (taxonomy) – it is NOT COMPLETE
4: Click on the button” “Mehr laden”
5: NOW you see the complete list.See video here:
[video src="https://www.gwup.org/temporaer/taxonomy-issue.mp4" /]This is a severe issue.
Please tell us how to fix it!Here is the code:
[av_masonry_entries link='category,2780,2781,2779,2782,2793,2797,2783,2784,2798,2799,2800,2801,2785,2786,2787,2788,2802,2792,2789,2803,2804,2805,2790' term_rel='' wc_prod_visible='' wc_prod_hidden='hide' wc_prod_featured='' prod_order_by='' prod_order='' date_filter='' date_filter_start='' date_filter_end='' date_filter_format='yy/mm/dd' period_filter_unit_1='1' period_filter_unit_2='year' page_element_filter='skip_current' sort='yes-tax' query_orderby='date' query_order='DESC' caption_elements='title excerpt' caption_styling='' caption_display='on-hover' img_copyright='' size='fixed masonry' orientation='' image_size='masonry' gap='large' columns='4' av-desktop-columns='' av-medium-columns='' av-small-columns='' av-mini-columns='' items='12' paginate='load_more' color='custom' custom_bg='' img_copyright_font='' av-desktop-font-img_copyright_font='' av-medium-font-img_copyright_font='' av-small-font-img_copyright_font='' av-mini-font-img_copyright_font='' img_copyright_color='' img_copyright_bg='' animation='active' animation_duration='' animation_custom_bg_color='' animation_custom_bg_color_multi_list='' animation_z_index_curtain='100' overlay_fx='active' img_scrset='' lazy_loading='disabled' av-small-hide='aviaTBav-small-hide' av-mini-hide='aviaTBav-mini-hide' alb_description='' id='' custom_class='' template_class='' av_uid='av-m7i3btdw' sc_version='1.0']
[av_masonry_entries link='category,2780,2781,2779,2782,2793,2797,2783,2784,2798,2799,2800,2801,2785,2786,2787,2788,2802,2792,2789,2803,2804,2805,2790' term_rel='' wc_prod_visible='' wc_prod_hidden='hide' wc_prod_featured='' prod_order_by='' prod_order='' date_filter='' date_filter_start='' date_filter_end='' date_filter_format='yy/mm/dd' period_filter_unit_1='1' period_filter_unit_2='year' page_element_filter='skip_current' sort='yes-tax' query_orderby='date' query_order='DESC' caption_elements='title excerpt' caption_styling='' caption_display='on-hover' img_copyright='' size='fixed masonry' orientation='' image_size='masonry' gap='large' columns='4' av-desktop-columns='' av-medium-columns='' av-small-columns='' av-mini-columns='' items='3' paginate='load_more' color='custom' custom_bg='' img_copyright_font='' av-desktop-font-img_copyright_font='' av-medium-font-img_copyright_font='' av-small-font-img_copyright_font='' av-mini-font-img_copyright_font='' img_copyright_color='' img_copyright_bg='' animation='active' animation_duration='' animation_custom_bg_color='' animation_custom_bg_color_multi_list='' animation_z_index_curtain='100' overlay_fx='active' img_scrset='' lazy_loading='disabled' av-desktop-hide='aviaTBav-desktop-hide' av-medium-hide='aviaTBav-medium-hide' alb_description='' id='' custom_class='' template_class='' av_uid='av-m7rio00o' sc_version='1.0']
mfg
AndrèTopic: Slider image png tansparent
Hi,
is there a way to use transparent png images in my slider?
for example a link with screenshot is in private content.
The hand should overlay the boxes in main content.
Viewing 30 results - 1,171 through 1,200 (of 106,459 total)











