Forum Replies Created

Viewing 30 posts - 181 through 210 (of 66,052 total)
  • Author
    Posts
  • 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

    in reply to: Customize blog grid #1485107

    Hi,

    If you need the buttons and post meta info (date, comments) to align, you can either apply a minimum height to the post title and excerpt, or make sure they have the same number of characters, which is probably not ideal. To do the former, you can add the following css code:

    #top .avia-content-slider .slide-entry-title {
        min-height: 118px;
    }

    In the end, the position of the “read more” button will depend on the length of the title and post excerpt.

    Best regards,
    Ismael

    in reply to: Where is “read more” section? #1485106

    Hey bbarasa,

    Thank you for the inquiry.

    You might be referring to the Fold/Unfold option. This is available in elements such as Text Block, Color Section and Grid Row. Please check the screenshot below.

    View post on imgur.com

    Let us know if you need more info.

    Best regards,
    Ismael

    in reply to: shortcodes not rendered on frontpage #1485104

    Hi,

    The shortcodes [list-pages], [sibling-pages] and [child-pages] are not included in WordPress by default. To use these shortcodes, you’ll need to install a plugin called “List Pages Shortcode”.

    When we added a WPForms shortcode to the code block element, the contact form rendered correctly, confirming that shortcodes are functioning as expected.

    View post on imgur.com

    This a list of available WordPress shortcodes:

    https://wordpress.com/support/wordpress-editor/blocks/shortcode-block/#available-shortcodes

    Best regards,
    Ismael

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

    Hey Oriano,

    Thank you for the inquiry.

    We’re not able to reproduce the issue on our end. Have you tried overriding the css or the position property in the Quick CSS field?

    View post on imgur.com

    Please provide the site details in the private field so we can further check the issue.

    Best regards,
    Ismael

    Hi,

    At first, it’s probably a trade-off between quality and performance when it comes to images. The filter we suggested above was added to balance the two and give users the option to adjust them based on their requirements. If we’re not mistaken, setting the quality to the maximum didn’t previously result in thumbnails with overly large file sizes, or we would never have set it as the default. It’s only recently that this has been happening or reported. Please keep the quality around 70 for now, then use an image compression plugin (Smush, Shortpixel etc) to further optimize the images.

    We’ll forward this thread to our channel.

    Best regards,
    Ismael

    in reply to: Customize blog grid #1485101

    Hey itsjona,

    Thank you for the inquiry.

    Did you add this css code?

    .slide-image {
        display: block;
        height: 400px;
        line-height: 400px;
        overflow: hidden;
    }

    This stretches the height of the image container, creating space between it and the post title. Please remove the css or adjust the values of the height and line-height properties.

    Best regards,
    Ismael

Viewing 30 posts - 181 through 210 (of 66,052 total)