Forum Replies Created

Viewing 30 posts - 121 through 150 (of 65,998 total)
  • Author
    Posts
  • in reply to: Negative margins in Firefox #1485360

    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,
    Ismael

    in reply to: Change the Contact Form Captcha message #1485359

    Hi,

    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,
    Ismael

    in reply to: Video Gallery Not Loading #1485358

    Hey 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.

    View post on imgur.com

    Best regards,
    Ismael

    in reply to: Accessibility Issue with Search Icon #1485357

    Hey 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,
    Ismael

    in reply to: 7 Spalten Mega Menu #1485356

    Hi,

    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.

    View post on imgur.com

    Best regards,
    Ismael

    Hey 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,
    Ismael

    in reply to: Search Icon To Main Menu don’t work #1485312

    Hi,

    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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Change the Contact Form Captcha message #1485310

    Hi,

    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,
    Ismael

    in reply to: Negative margins in Firefox #1485309

    Hey 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:

    View post on imgur.com

    Best regards,
    Ismael

    in reply to: Bug report on Masonry Gallery Element #1485308

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Help with some shop elements #1485264

    Hi,

    No problem! Feel free to open another thread if you have more questions. Have a nice day.

    Best regards,
    Ismael

    in reply to: Google Map Points Load Issue #1485261

    Hi,

    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,
    Ismael

    in reply to: Search Icon To Main Menu don’t work #1485260

    Hi,

    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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Google Map Points Load Issue #1485257

    Hey 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,
    Ismael

    in reply to: Scroll-top-link CSS no longer displaying arrow color #1485256

    Hey 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:

    View post on imgur.com

    Best regards,
    Ismael

    in reply to: Help with some shop elements #1485255

    Hi,

    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,
    Ismael

    in reply to: Weird thing happening with categories in WooCommerce #1485254

    Hi,

    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,
    Ismael

    in reply to: Image full width #1485253

    Hi,

    It displays the same as the original image, with the head slightly cut off. (see private field)

    Best regards,
    Ismael

    in reply to: shortcodes not rendered on frontpage #1485231

    Hi,

    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.

    View post on imgur.com

    Best regards,
    Ismael

    in reply to: Image full width #1485230

    Hi,

    The entire image is visible when we checked.

    View post on imgur.com

    Could you share a screenshot of the issue?

    Best regards,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Change the Contact Form Captcha message #1485138

    Hey 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,
    Ismael

    in reply to: Customize blog grid #1485137

    Hi,

    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.

    View post on imgur.com

    Best regards,
    Ismael

    Hey 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,
    Ismael

    in reply to: Editor field does not exist #1485135

    Hi,

    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,
    Ismael

    in reply to: Website will not keep contant #1485134

    Hi,

    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,
    Ismael

    Hi,

    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

Viewing 30 posts - 121 through 150 (of 65,998 total)