Forum Replies Created
-
AuthorPosts
-
Hi,
You can keep the current css rule, but the selector #av_section_2 is generic and commonly used across the site. The changes above might be applied to sections where they are not intended. If you’re not sure how to apply custom css class names to the element, please check the documentation below.
— https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support
Best regards,
IsmaelHi,
Thank you for the info. Try to replace the filter with this:
function avia_contact_form_elements_mod( $form_fields ) { if ( isset( $form_fields['avia_age'] ) ) { if ( is_page(266) ) { $form_fields['avia_age']['label'] = 'TRANSLATE THIS ONE TO tr_TR'; } elseif ( is_page(68) ) { $form_fields['avia_age']['label'] = 'Verify you are human'; } } return $form_fields; } add_filter( 'avia_contact_form_elements', 'avia_contact_form_elements_mod', 10, 1 );
Make sure to adjust the tr_TR label.
Best regards,
IsmaelHey clbdcnpafe,
Thank you for the inquiry.
We are not able to reproduce the issue on our end — the videos at the very end of the page displayed immediately on first load. However, we recommend relocating the gallery and the videos to the middle of the page to make sure that the script triggering certain animations is consistently executed. Enabling pagination for the gallery or reducing the number of images and making sure they are compressed can also help improve loading speed. Let us know the results.
Best regards,
IsmaelHey Diana,
Thank you for the inquiry.
Looks like you have already added the aria-label attribute to the search icon link. Is this still an issue?
< li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special" role="menuitem"><a class="avia-svg-icon avia-font-svg_entypo-fontello" <strong>aria-label="Suche"</strong> href="?s=" rel="nofollow" >
Best regards,
IsmaelHi,
Try to replace the content of the class-responsive-mega-menu.php file with the following code:
— https://pastebin.com/s3N87rGC
Let us know the result.
Best regards,
IsmaelJune 11, 2025 at 9:54 am in reply to: on blogs page after feature images its shiow big space #1485318Hey rjalthar,
Thank you for the inquiry.
It seems to be an issue with the image overlay. Could you confirm the current version of the theme? Make sure the theme is updated to version 7.1, then try to temporarily toggle or disable the settings under Enfold > Performance > File Compression.
To fix the issue temporarily, you can add the following css code to disable the image overlay:
#top .image-overlay.overlay-type-image { display: none !important; }
Best regards,
IsmaelHi,
lastly that I use Enfold on almost all the sites I manage, and this site is the only one that has had this problem.
It’s probably an issue with the compression, a certain modification or one of the plugins. Please keep the above modifications for now and let us know if the issue occurs again on a different site.
Thank you for your patience.
Best regards,
IsmaelJune 11, 2025 at 7:36 am in reply to: Accessibility issue (Easy Slider): Missing accessible text for navigation links #1485311Hey Diana,
Thank you for the inquiry.
Try to add this css code to make the .avia_hidden_link_text accessible but still not visible in the slider links.
#top .avia_hidden_link_text { display: block; position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
Another option is to add aria-label to the slider links by editing the slider template directly or with javascript. Example:
document.addEventListener('DOMContentLoaded', function() { document.querySelectorAll('a.next-slide').forEach(function(link) { link.setAttribute('aria-label', 'Weiter'); }); });
Best regards,
IsmaelHi,
Thank you for the update.
Are you using a translation plugin? You can try to use the following code instead to apply different labels for each language.
function avia_contact_form_elements_mod( $form_fields ) { if ( isset( $form_fields['avia_age'] ) ) { $lang = get_locale(); if ( $lang === 'tr_TR' ) { $form_fields['avia_age']['label'] = 'TRANSLATE THIS ONE TO tr_TR'; } else { $form_fields['avia_age']['label'] = 'Verify you are human'; } } return $form_fields; } add_filter( 'avia_contact_form_elements', 'avia_contact_form_elements_mod', 10, 1 );
If you’re using a translation plugin such as WPML or Polylang, you can use the following plugin to manually add translations for the new label.
— https://wordpress.org/plugins/loco-translate/
— https://wordpress.org/plugins/say-what/Best regards,
IsmaelHey bonsaimedia,
Thank you for the inquiry.
Try targeting the content wrapper of the second color section instead.
#av_section_2 .entry-content-wrapper { margin-top: -600px; }
If you need to apply this to specific color sections, try to assign a Advanced > Developer Settings > Custom CSS Class to them, then adjust the css rule accordingly.
Firefox screenshot:
Best regards,
IsmaelHey goldengate415,
Thank you for the inquiry.
We are not able to reproduce the issue on our end. Whenever the load more button is clicked, the new set of images is added to the lightbox group correctly. Please create a test page and provide the URL in the private field so we can check it further.
Best regards,
IsmaelJune 11, 2025 at 6:51 am in reply to: keyboard navigation with”OneTab” plugin is not supported #1485307Hey solf,
Thank you for the inquiry.
Which elements are not accessible with the plugin? Elements should be tabbable and focusable by default. For example, search fields should be accessible using the Enter key. The heading elements in the theme use proper heading tags, and navigations such as the main menu are wrapped inside a nav element.
Unfortunately, we do not provide support for third-party plugins, as stated in our support policy. Please keep in touch with the plugin developer for further assistance with the modification.
Thank you for your understanding.
Best regards,
IsmaelHi,
No problem! Feel free to open another thread if you have more questions. Have a nice day.
Best regards,
IsmaelHi,
Unfortunately, you cannot override the initial script using a child theme. This will have to be modified directly in the parent theme. Please contact a freelance developer as suggested if you need more assistance with the customization.
Best regards,
IsmaelHi,
Thank you for the info.
We are not certain why the search SVG icon is not displaying, but we managed to work around the issue by adding this code in the Quick CSS field:
#top .menu-item-search-dropdown > a.avia-svg-icon svg:first-child, #top .menu-item-search-dropdown > a.avia-svg-icon img[is-svg-img="true"] { z-index: 1; }
We also added this script to make sure that when the SVG icon is clicked, it displays the AJAX search field.
add_action( 'wp_footer', 'av_custom_script', 100 ); function av_custom_script() { ?> <script> // trigger ajax search field document.addEventListener("DOMContentLoaded", () => { const svg = document.querySelector("#menu-item-search svg"); if (svg) { svg.addEventListener("click", (e) => { e.preventDefault(); e.stopPropagation(); const parentLink = svg.closest("a"); const parentLi = svg.closest("li"); if (parentLink) { parentLink.click(); } else if (parentLi) { parentLi.click(); } }); } }); </script> <?php }
Best regards,
IsmaelJune 10, 2025 at 4:57 am in reply to: Using Dynamic Content for CSS-Classes / Hidding elements #1485258Hey Pflegehilfe24,
Thanks for getting in touch.
Unfortunately, this is currently not possible. You may need to create a custom wp_ajax script that retrieves a specific post meta and hides the section based on the value. The article and documentation below should help.
— https://benmarshall.me/wordpress-ajax/
— https://developer.wordpress.org/reference/hooks/wp_ajax_nopriv_action/If you need further help with this customization, we suggest hiring a freelance developer or contact our partner, Codeable.
— https://kriesi.at/contact/customization
Thank you for your understanding.
Best regards,
IsmaelHey ronduring,
Thank you for the inquiry.
Unfortunately, there is no built-in option for this. You can find the code for the map in the avia/av/app/public/wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js file. If you need further help with customization, we recommend hiring a freelance developer or contacting Codeable using the form below.
— https://kriesi.at/contact/customization
Best regards,
IsmaelHey GWS,
Thank you for the inquiry.
Try to include this css code.
#scroll-top-link.avia-svg-icon svg:first-child, #scroll-top-link.avia-svg-icon:hover svg:first-child { stroke: #ffffff; fill: #ffffff; }
Result:
Best regards,
IsmaelHi,
We edited the code again to display only the rounded discount percentage, without a range.
add_action( 'woocommerce_before_shop_loop_item_title', 'avf_woocommerce_sale_badge', 20 ); function avf_woocommerce_sale_badge() { global $product; if ( $product->is_type('simple') ) { $regular_price = floatval( $product->get_regular_price() ); $sale_price = floatval( $product->get_sale_price() ); if ( $regular_price > 0 && $sale_price > 0 && $sale_price < $regular_price ) { $percentage = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); echo '<span class="av-custom-sale-badge">Sale: ' . esc_html( $percentage ) . '%</span>'; } } elseif ( $product->is_type('variable') ) { $percentage = get_variable_max_sale_percentage( $product ); if ( $percentage ) { echo '<span class="av-custom-sale-badge">Sale: ' . esc_html( $percentage ) . '%</span>'; } } } function get_variable_max_sale_percentage( $product ) { $variations = $product->get_children(); $max_percentage = 0; foreach ( $variations as $variation_id ) { $variation = wc_get_product( $variation_id ); if ( $variation && $variation->is_on_sale() ) { $regular_price = floatval( $variation->get_regular_price() ); $sale_price = floatval( $variation->get_sale_price() ); if ( $regular_price > 0 && $sale_price > 0 && $sale_price < $regular_price ) { $percentage = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); if ( $percentage > $max_percentage ) { $max_percentage = $percentage; } } } } return $max_percentage > 0 ? $max_percentage : false; }
Best regards,
IsmaelHi,
Yes, they should be safe to use, but to be sure, you can ask your hosting provider to create a backup or restore point. You can also use one of the following plugins.
— https://wordpress.org/plugins/updraftplus/
— https://wordpress.org/plugins/backwpup/
— https://wordpress.org/plugins/duplicator/Best regards,
IsmaelHi,
It displays the same as the original image, with the head slightly cut off. (see private field)
Best regards,
IsmaelHi,
Thank you for the update.
We cannot find the snippet “Child Pages Top Level Shortcode” in the list, only the “Shortcode: Child Pages List” which we enabled and added to the “verein” page. This seems to be working as expected.
Best regards,
IsmaelHi,
The entire image is visible when we checked.
Could you share a screenshot of the issue?
Best regards,
IsmaelJune 9, 2025 at 6:29 am in reply to: Support request for some modifications of header in case of 3 widgets in there #1485229Hi,
1.) You can adjust the width of the widgets inside the header to reduce the gaps between them and create space on the right side.
Example:
.responsive #top #header #header_main .inner-container .widget:nth-child(3) { order: 2; flex-basis: 10%; }
Try to do the same for the other widgets, then apply a right margin to the last one.
.responsive #top #header #header_main .inner-container .widget:nth-child(5) { margin-right: calc(50% - 570px) !important; }
The value of 570px is based on the maximum container width of 1340px.
2.) Try removing the padding from the menu container and set its width.
.responsive #top #header #header_main .inner-container .main_menu .avia-menu.av-main-nav-wrap { padding: 0 50px; width: 1340px; }
Best regards,
IsmaelHey inovatifglobaltr,
Thank you for the inquiry.
You can use this filter in the functions.php file to adjust the default label of the captcha.
function avia_contact_form_elements_mod( $form_fields ) { if ( isset( $form_fields['avia_age'] ) ) { $form_fields['avia_age']['label'] = __( 'Verify you are human', 'avia_framework' ); } return $form_fields; } add_filter( 'avia_contact_form_elements', 'avia_contact_form_elements_mod', 10, 1 );
Let us know the result.
Best regards,
IsmaelHi,
Thank you for the update.
You can also try this css code:
#top .slide-entry .slide-content { min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; }
You may need to remove the previous css code and adjust the min-height on different screen sizes using css media queries.
Best regards,
IsmaelJune 6, 2025 at 6:15 am in reply to: Before – After Slider : Button Translations for bilingual websites #1485136Hey kontaktatadaffairs,
Thank you for the inquiry.
What do you mean by the “‘before-and-after” button? Could you provide a screenshot of the issue or a link to a test page? You can use platforms like Savvyify, Imgur, or Dropbox.
Best regards,
IsmaelHi,
Unfortunately, we’re still not able to connect to the server. It’s possible that access is restricted to certain countries or IP addresses. Please make sure that the server is accessible from the following countries: Austria, Philippines, Turkey, USA
Best regards,
IsmaelHi,
Thank you for the info. The very first Special Heading element contains an invalid strong tag.
Tuition < strong >Cost
Please correct this and kindly review the whole page for similar issues.
Best regards,
IsmaelJune 6, 2025 at 5:53 am in reply to: How to activate the player for an embedded video hosted with bunny.net #1485133Hi,
Thank you for the inquiry.
The Video element supports actual video formats such as mp4 and ogv, as well as YouTube or Vimeo URLs. The current URL you’re using is not supported, unfortunately. You may need to use the embed code provided by mediadelivery to display the video.
— https://wordpress.org/documentation/article/embeds
Best regards,
Ismael -
AuthorPosts