-
Search Results
-
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,
We observed duplicate id-attributes in the mobile menu (hamburger-menu), similar to what is described in
This came up when trying to check and optimize website-compatiblity for screenreaders. Nodes of the main menu are copied over to the hamburger-menu. svg-icons (for the search) contain id-attributes which simply get duplicated – but obviously need to be transformed to become unique again.
A modification of this copy-behaviour would for example be possible in
wp-content/themes/enfold/js/avia-snippet-hamburger-menu.js
in function normalize_layout().Quick-and-dirty code for those replacements:
There was:
var menu2 = $(‘#header .main_menu’).clone(true),
ul = menu2.find(‘ul.av-main-nav’),
id = ul.attr(‘id’);We then added lines to search for the corresponding nodes in the HTML with jQuery and make replacements for all hits. ‘-hamburger’ is appended to the IDs.
var toChange;
toChange = menu2.find(‘[id^=av-svg-desc-‘);
toChange.each(function() {
$(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
});
toChange = menu2.find(‘[id^=av-svg-title-‘);
toChange.each(function() {
$(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
});
toChange = menu2.find(‘[aria-labelledby^=av-svg-title-‘);
toChange.each(function() {
$(this).attr(‘aria-labelledby’, $(this).attr(‘aria-labelledby’) + ‘-hamburger’);
});
toChange = menu2.find(‘[aria-describedby^=av-svg-desc-‘);
toChange.each(function() {
$(this).attr(‘aria-describedby’, $(this).attr(‘aria-describedby’) + ‘-hamburger’);
});It’s quite an edge case, but could potentially irritate a screen reader.
Dear Enfold Support Team,
I’m working on making my website more accessible:
https://www.schlosswirtschaft-schwaige.de
I’m using the built-in search icon in the main menu (top right), enabled via the Enfold settings.
However, accessibility tools (like WAVE) report two problems:
– The search icon has no accessible label (aria-label or similar).
– It’s also flagged as a “suspicious link”.
Could you please tell me the best way to solve this so it meets accessibility standards (WCAG)?
Thank you very much for your help!Best regards, Diana
I thought this would be simple for me to figure out, but it is not.
My CSS skills are limited and when I view the code (in my browser) I can’t tell which classes I should use to format certain specific things.
On this page:
https://2p4twjkbl5.papa-view.com/I would like to have a black gradient behind the white text and also be able to format the text. I’ve tried a few CSS things which haven’t worked.
I’ve searched the forum in as many ways as i can think of, have watched youtube videos about Enfold and of course started with Enfold documentation. Enfold is a great theme, but I cannot find a way to do these simple things.
Any help or pointing me to resources would be appreciated.
Topic: Pre sale query
Hi, I am seeking to build a new website and I really like your Enfold themes.
I just wanted to ask two questions;
1.) it is possible for me to leave off/remove some of the sections on a page? If you look at the medical demo, and the law demo, when the page loads, they have statistics calculate, such as 25 Million $, Research Budget 255.000 Patients healed 212 Doctors working for you 125 Years of experience
And I would like to remove that.
And I would also like to remove Meet the Team/Team, as I do not have a team.
Is this possible?
2.) I would also like to use the following plugin for my site; ProfilePress profilepress.com it’s a word press plugin to allow people to come to the site and make a profile.
Would Enfold allow this plugin?I am getting a flood of deprecation warnings in my error_log file and it is slowing down our server’s performance, especially noticeable when editing posts and pages.
It appears the offending functions are:
av_icon_char
av_icon_class
av_icon_stringI cannot find information on what the correct replacements are. Is this something you can help me with?
Here are some samples of how we are currently using these functions.
av_icon_char
$icon = av_icon_char( ‘search’ );av_icon_string
$class = av_icon_class( ‘search’ );Here are some examples from the error_log file:
[21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_char is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
[21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_class is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
[21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_char is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
[21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_class is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121Our error_log file grows about 200 MB per day.
Can you please direct me on how we can update our child theme to address these deprecation warnings?
Hey Guys
I get the message:
Could not connect to Google Maps with this API Key.
Troubleshooting:
Check if you typed the key correctly.
If you use the restriction setting on Google try to remove that, wait a few minutes for google to apply your changes and then check again if the key works here. If it does, you probably have a syntax error in your referrer url
If none of this helps: deactivate all plugins and then check if the API works by using the button above. If thats the case then one of your plugins is interfering.I disabled all the plugins, and I also set up a new api key, I also unrestricted the key for a while, but then restricted it again.
the google account is active and working. I have 50 other keys that don’t have any issues.I did a research and found that I can put the script:
<script async defer
src=”https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY&callback=initMap”>
</script>
directly into the body code.. I use perfmatters for this.. and it is working now. but there must be something else wrong why enfold won’t let me place it.
My way is not as elegant as putting it into the google services page in enfold.
Thanks so much for helping me.
TinaTopic: Missing dependencies
Good morning,
I have been experiencing issues with my website running slowly, so I contacted my hosting provider, Aruba. They installed a plugin called “Query Monitor,” and according to the plugin’s report, there appear to be missing dependencies among the Enfold theme’s stylesheets.
Below are the messages from the report.
I remain confident in your support and assistance.
Thank you.“Dipendenze mancanti avia-module-audioplayer http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/audio-player/audio-player.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-blog http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog/blog.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-postslider http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-button http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons/buttons.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-buttonrow http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttonrow/buttonrow.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-button-fullwidth http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth/buttons_fullwidth.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-catalogue http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/catalogue/catalogue.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-comments http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/comments/comments.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-contact http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-slideshow http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow.css avia-layout (mancante) avia-module-gallery-hor, avia-module-slideshow-contentpartner, avia-module-slideshow-feature-image, avia-module-slideshow-fullscreen, avia-module-slideshow-fullsize 7.1
Dipendenze mancanti avia-module-slideshow-contentpartner http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider/contentslider.css avia-module-slideshow 7.1
Dipendenze mancanti avia-module-countdown http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/countdown/countdown.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-dynamic-field http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/dynamic_field/dynamic_field.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-gallery http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery/gallery.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-gallery-hor http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery_horizontal/gallery_horizontal.css avia-module-slideshow 7.1
Dipendenze mancanti avia-module-maps http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps/google_maps.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-gridrow http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/grid_row.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-heading http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/heading/heading.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-rotator http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/headline_rotator/headline_rotator.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-hr http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/hr/hr.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-icon http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/icon/icon.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-icon-circles http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/icon_circles/icon_circles.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-iconbox http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconbox/iconbox.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-icongrid http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/icongrid/icongrid.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-iconlist http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconlist/iconlist.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-image http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image/image.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-image-diff http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_diff/image_diff.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-hotspot http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image_hotspots/image_hotspots.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-sc-lottie-animation http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/lottie_animation/lottie_animation.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-magazine http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-masonry http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-siteloader http://www.ldgservice.it wp-content/themes/enfold/css/avia-snippet-site-preloader.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-menu http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/menu/menu.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-notification http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/notification/notification.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-numbers http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/numbers/numbers.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-portfolio http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-post-metadata http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/post_metadata/post_metadata.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-progress-bar http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/progressbar/progressbar.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-promobox http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/promobox/promobox.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-sc-search http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/search/search.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-slideshow-accordion http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion/slideshow_accordion.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-slideshow-feature-image http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_feature_image/slideshow_feature_image.css avia-module-slideshow 7.1
Dipendenze mancanti avia-module-slideshow-fullsize http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.css avia-module-slideshow 7.1
Dipendenze mancanti avia-module-slideshow-fullscreen http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullscreen/slideshow_fullscreen.css avia-module-slideshow 7.1
Dipendenze mancanti avia-module-slideshow-ls http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-social http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/social_share/social_share.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-tabsection http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tab_section/tab_section.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-table http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/table/table.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-tabs http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-team http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/team/team.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-testimonials http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/testimonials/testimonials.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-timeline http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-toggles http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.css avia-layout (mancante) 7.1
Dipendenze mancanti avia-module-video http://www.ldgservice.it wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/video/video.css avia-layout (mancante)”Hi guys,
With support of this particular article https://kriesi.at/documentation/enfold/example-of-logo-left-widgets-right-menu-below/#toggle-id-2 I was able to build up the desired header- menu structure including 3 widgets in the header area and the menubar shown below.
I’m trying to achieve some minor modification on which I haven’t been successful until now. I would like to:
– Ensure the menu has a full width so that the created drop shows has a full width stretch over the screen (but off course keep the menu items within the container
– Ensure that the hamburger menu is on the same level – row as the logo in case of smaller viewports. Currently it jumps under the logo on a new row
– I would like to “move” the search function into the 3rd widget and not show it on the right side of the last menu item. However I could find the html/ shortcode to locate the actual search function in the 3rd widget.I’ll paste the URL in the private content.
Thanks for your support!
Kind regards,
STopic: SEO Mystery
HI,
I know it’s not your core business but after several trial with Yoast, XML Sitemaps and finally Enfold SEO feature, the website I work on isn’t appearing on any Search engine… In WP settings, to box allowing search engine to index is OK.The website is : http://www.springen-conseil.fr.
Do you have any ideas?
It would help.
Best
Topic: Custom divider
Hello,
i want te make something like the picure in the link. I have tried te use the custom svg divider en other options in enfold en searched over the internet for a solution but haven’t found anything. I want half an background color under a layout element. See for my idea:
https://brugmedia.nl/wp-content/uploads/2025/04/Screen.pngIs something like this possible in enfold?





