Forum Replies Created

Viewing 30 posts - 181 through 210 (of 67,191 total)
  • Author
    Posts
  • in reply to: Polylang / Enfold incompatibility inserts custom_class= #1492596

    Hi,

    Thanks for following up.

    The filter was working correctly on the staging site the last time we checked and removes the custom_class from the ID attribute. Is it possible to access the live site? We tried the same login info but it is not working in the live site.

    Best regards,
    Ismael

    in reply to: Missing justice.woff2 from the Law Demo #1492594

    Hey Stephan_H,

    Thank you for the inquiry.

    The font file can be downloaded directly from the demo site. Please check the link in the private field.

    Best regards,
    Ismael

    in reply to: blank screen when editing buttons and other elements #1492593

    Hi,

    Thank you for the info.

    The logs above don’t provide much information about the editor issue. Please set the installation to debug mode and enable the error logs so we can see the actual WP or PHP errors.

    Best regards,
    Ismael

    in reply to: How to make two rows for tabs section? #1492591

    Hi,

    Thank you for the update.

    You can apply a custom css class (e.g “av-tab-section-title-limit”) to the tab sections where you need the modifications, then adjust the selectors in the css rules accordingly. Please check this documentation for more information on how to apply custom css class names to the elements.

    https://kriesi.at/documentation/enfold/add-custom-css/

    #top .av-tab-section-title-limit .av-tab-section-tab-title-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    #top .av-tab-section-title-limit .av-tab-section-tab-title-container > * {
        flex: 0 0 calc((100% / 6) - (10px * 5 / 6));
        max-width: calc((1310px - (10px * 5)) / 6);
        box-sizing: border-box;
    }

    Best regards,
    Ismael

    in reply to: Editor page not works #1492589

    Hey Luckyredsun,

    Thank you for the inquiry.

    We tried logging in, but the account above is invalid. Please check the info carefully. Which editor are you using, the classic editor or the block editor? Please try to reselect the editor in Enfold > Theme Options > Select Your Editor, located at the very bottom.

    fc5lVMx.md.png

    Let us know the result.

    Best regards,
    Ismael

    in reply to: Button besides burger menu in the top menu bar #1492588

    Hey!

    Thank you for the update.

    Please add this to the style block or style element:

    .ava-go-back-wrapper {
        position: absolute;
        z-index: 99;
        left: 55%;
        right: auto;
        top: 5px;
    }

    fc5aVDb.md.png

    Best regards,
    Ismael

    in reply to: Block swipe for Easy Slider #1492586

    Hi,

    Thank you for the update.

    We updated the script in the functions.php file — the page should now be scrollable.

    function remove_slideshow_swipe_script() { ?>
    <script>
    document.addEventListener('DOMContentLoaded', function() {
        if (window.innerWidth <= 768) {
            var slideshow = document.querySelector('.avia-slideshow');
            if (!slideshow) return;
    
            slideshow.style.touchAction = 'pan-y';
    
            let startX = 0;
            let startY = 0;
    
            slideshow.addEventListener('touchstart', function(e) {
                startX = e.touches[0].clientX;
                startY = e.touches[0].clientY;
            }, {passive: true, capture: true});
    
            slideshow.addEventListener('touchmove', function(e) {
                const dx = Math.abs(e.touches[0].clientX - startX);
                const dy = Math.abs(e.touches[0].clientY - startY);
    
                if (dx > dy) {
                    e.preventDefault();
                    e.stopImmediatePropagation();
                }
            }, {passive: false, capture: true});
        }
    });
    </script>
    <?php
    }
    add_action( 'wp_footer', 'remove_slideshow_swipe_script', 99 );
    
    

    Best regards,
    Ismael

    in reply to: Button besides burger menu in the top menu bar #1492555

    Hey Angelo,

    Thank you for the inquiry.

    Try to add this code to the functions.php file to insert a go back button inside the header container.

    
    add_action( 'ava_main_header', 'ava_main_header_mod' );
    function ava_main_header_mod() {
        ?>
        <div class="ava-go-back-wrapper">
            <a href="javascript:history.back();" class="ava-go-back-button">Go Back</a>
        </div>
    
        <style>
            .ava-go-back-wrapper {
                display: none;
                justify-content: center;
                align-items: center;
                padding: 10px 0;
            }
            .ava-go-back-button {
                display: inline-block;
                padding: 8px 16px;
                background-color: #333;
                color: #fff;
                text-decoration: none;
                border-radius: 4px;
                font-size: 14px;
            }
            @media (max-width: 768px) {
                .ava-go-back-wrapper {
                    display: flex;
                }
            }
        </style>
    
        <script>
            function closeBurgerMenu() {
                const burgerBtn = document.querySelector('.av-burger-menu-main .av-hamburger.av-js-hamburger');
                const overlay = document.querySelector('.av-burger-overlay');
                if (burgerBtn && burgerBtn.classList.contains('is-active')) {
                    burgerBtn.classList.remove('is-active');
                }
                if (overlay) {
                    overlay.style.display = 'none';
                    overlay.style.opacity = '0';
                }
            }
    
            document.addEventListener('DOMContentLoaded', function() {
                closeBurgerMenu();
    
                const goBackBtn = document.querySelector('.ava-go-back-button');
                if (goBackBtn) {
                    goBackBtn.addEventListener('click', function(e) {
                        e.stopPropagation();
                        closeBurgerMenu();
                        setTimeout(function() {
                            history.back();
                        }, 50);
                    });
                }
            });
    
            window.addEventListener('pageshow', function(event) {
                if (event.persisted) {
                    closeBurgerMenu();
                }
            });
        </script>
        <?php
    }
    

    Best regards,
    Ismael

    in reply to: Recent Posts-Widget #1492553

    Hi,

    Thank you for the info.

    Have you tried installing the plugin we suggested above so you can select a category to display instead of using the default Recent Posts widget?

    https://wordpress.org/plugins/category-posts/

    Please provide the login details in the private field so we can check this further.

    Best regards,
    Ismael

    in reply to: Polylang / Enfold incompatibility inserts custom_class= #1492552

    Hi,

    Thank you for the info.

    We are not yet sure why custom_class is being added to the ID field, so we manually removed it from the affected elements. We also added the following code to the functions.php file to filter out the custom_class value from the ID attribute.

    add_filter( 'avf_template_builder_content', 'avf_template_builder_content_mod', 10, 1 );
    function avf_template_builder_content_mod( $content ) {
        $content = preg_replace(
            '/\s+id="custom_class=?"\s*/',
            ' ',
            $content
        );
    
        return $content;
    }
    

    Please make sure to purge the cache before checking the page.

    Best regards,
    Ismael

    in reply to: Woocommerce Produkte ausblenden #1492550

    Hi,

    Thank you for the short clip.

    We were referring to the AJAX search. For the actual search results page, we removed the pre_get_posts hook and added this filter instead.

    add_filter( 'the_posts', 'ava_filter_search_results', 10, 2 );
    function ava_filter_search_results( $posts, $query ) {
    
        if (
            is_admin()
            || ! $query->is_main_query()
            || ! $query->is_search()
            || ! class_exists( 'WooCommerce' )
        ) {
            return $posts;
        }
    
        foreach ( $posts as $key => $post ) {
            if ( $post->post_type !== 'product' ) {
                continue;
            }
    
            $product = wc_get_product( $post->ID );
    
            if ( ! $product ) {
                continue;
            }
    
            if ( ! $product->is_visible() ) {
                unset( $posts[ $key ] );
            }
        }
    
        return array_values( $posts );
    }

    fapAed7.md.png

    Best regards,
    Ismael

    in reply to: Blog Filter Menu – Grid Layout #1492549

    Hi,

    No problem! Let us know if you have more questions. Have a nice day.

    Best regards,
    Ismael

    in reply to: blank screen when editing buttons and other elements #1492548

    Hey sky19er,

    Thank you for the inquiry.

    We get a critical error when we try to open a Button element — other elements work fine. Please set the installation to debug mode and enable the error logs so we can gather more information about the issue. Please check the link below:

    https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/#example-wp-config-php-for-debugging

    Once the error log is enabled, try opening another Button again, then look for the error logs in the wp-content folder. Let us know what it says or provide a screenshot.

    Best regards,
    Ismael

    in reply to: Blog Filter Menu – Grid Layout #1492513

    Hey annameis,

    Thank you for the inquiry.

    The category sort button is only available for the Portfolio Grid and the Masonry element. It’s not an option for the Blog Posts element. Please switch to either of the elements we mentioned and replace the Blog Posts element.

    Best regards,
    Ismael

    in reply to: Polylang / Enfold incompatibility inserts custom_class= #1492512

    Hi,

    Thank you for the info.

    We just noticed that the site contains a very old version of the theme (6.0.6). Please download the latest version (7.1.3) from your Themeforest account, then try to update the theme manually via FTP. Please check the documentation below for more info.

    https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp

    The upgrade should fix the issue with the fold/unfold feature and the rest of the layout issues in the builder.

    Best regards,
    Ismael

    in reply to: Recent Posts-Widget #1492511

    Hi,

    They do not quite fit and one seems to be hijacked.

    What do you mean? Which conditional function did you use for the widget? Please provide a link to the post where you want the widgets to display so we can provide the correct conditional functions.

    Best regards,
    Ismael

    in reply to: Woocommerce Produkte ausblenden #1492510

    Hi,

    Yes, we did test it. The product “gutschein-fuer-sara-pavo-koeln-test” no longer displays in the AJAX search. Please make sure to purge the cache, then try it again.

    Best regards,
    Ismael

    in reply to: Add HTML in Portfolio Exceprt #1492509

    Hi,

    Sorry for the delay. Since removing the br tags also removes the list items, we used this css in the style.css file to hide the line breaks and display the list as a standard bullet list.

    .av-masonry-entry-content ul br {
        display: none;
    }
    
    .av-masonry-entry-content ul li {
        padding-left: 10px;
    	position: relative;
    }
    
    .av-masonry-entry-content ul li:before {
        content: "•";
        position: absolute;
        left: 0;
        top: 5px;
        font-size: 1em;
        line-height: 1;
    }

    Please check the private field for the screenshot.

    faIfPXs.md.png

    Best regards,
    Ismael

    in reply to: Lightbox missing next previous link #1492456

    Hi,

    Glad to know this has been resolved! Let us know if you have more questions. Have a nice day.

    Best regards,
    Ismael

    in reply to: Polylang / Enfold incompatibility inserts custom_class= #1492454

    Hi,

    Thank you for the login info.

    The Appearance > Theme File Editor is not accessible, so we’re not able to check if there are modifications that might be contributing to the issue. Please enable the file editor or post the S/FTP details in the private field so we can check the issue further.

    Best regards,
    Ismael

    in reply to: Add HTML in Portfolio Exceprt #1492452

    Hi,

    Thank you for the upate.

    The suggested snippets above should work. Please try adding this filter again in the functions.php file to retrieve the post excerpt without stripping the html tags.

    add_filter( 'avf_masonry_loop_entry_content', 'avf_masonry_loop_entry_content_mod', 10, 4 );
    
    function avf_masonry_loop_entry_content_mod( $loop_excerpt, $entry, $entries, $key ) {
        if ( ! empty( $entry->post_excerpt ) ) {
            return $entry->post_excerpt;
        }
    
        return $entry->post_content;
    }

    If this is not working, try this:

    add_filter( 'avf_masonry_entry_content', 'avf_masonry_entry_content_mod', 10, 3 );
    
    function avf_masonry_entry_content_mod( $content, $entry, $config ) {
        return $entry->post_excerpt;
    }

    Best regards,
    Ismael

    in reply to: How to make two rows for tabs section? #1492451

    Hey amyncuih,

    Thank you for the inquiry.

    You can use this css code to limit the tab section title row to a maximum of 6 items.

    #top .av-tab-section-tab-title-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    #top .av-tab-section-tab-title-container > * {
        flex: 0 0 calc((100% / 6) - (10px * 5 / 6));
        max-width: calc((1310px - (10px * 5)) / 6);
        box-sizing: border-box;
    }
    

    Best regards,
    Ismael

    in reply to: Lightbox missing next previous link #1492449

    Hi,

    Thank you for the login info.

    The lightbox only works when we deactivate the Converter for Media plugin. We also added the following css code to fix the stacking order of the lightbox container. (see private field)

    .mfp-wrap {
        z-index: 99999;
    }

    Please contact the plugin developers for additional assistance.

    Best regards,
    Ismael

    in reply to: CPT Sticky Posts in Masonry #1492448

    Hi,

    Thank you for the update.

    We may need to inspect this to properly understand the issue. Please create a test page and provide the login details in the private field.

    Best regards,
    Ismael

    in reply to: Woocommerce Produkte ausblenden #1492447

    Hi,

    Thank you for the update.

    We slightly adjusted the condition in the filter. Please make sure to purge the cache before testing.

    function ava_avf_ajax_search_query_mod( $query_string ) {
        parse_str( $query_string, $query_args );
    
        if ( class_exists( 'WooCommerce' ) ) {
            $tax_query = isset( $query_args['tax_query'] ) ? (array) $query_args['tax_query'] : array();
    
            $tax_query[] = array(
                'taxonomy' => 'product_visibility',
                'field'    => 'name',
                'terms'    => array( 'exclude-from-search', 'hidden' ),
                'operator' => 'NOT IN',
            );
    
            $query_args['tax_query'] = $tax_query;
    
            $query_string = http_build_query( $query_args );
        }
    
        return $query_string;
    }
    add_filter( 'avf_ajax_search_query', 'ava_avf_ajax_search_query_mod' );

    Best regards,
    Ismael

    in reply to: Burger Menu Logo Showing In Main Navigation/Footer Menu #1492444

    Hi,

    Thank you for the screenshots.

    There was an invalid line (———) in the Quick CSS field that prevented all css below it — including the menu item logo styling — from working correctly. We removed the line. Please make sure to purge the cache before testing.

    Best regards,
    Ismael

    in reply to: Portfolio-item excerpt on hover #1492443

    Hi,

    Thank you for the info.

    The excerpt field should also be accessible in the classic editor. If you’re not seeing it, it’s possible that a plugin or a custom modification is unintentionally hiding or removing the excerpt option. If you can provide the login details in the private field, we’ll take a closer look

    Best regards,
    Ismael

    in reply to: Recent Posts-Widget #1492442

    Hi,

    Thank you for the update.

    You can use a plugin like Widget Logic or Widget Options to conditionally display a specific widget on any page. Please check the links below for more details.

    https://wordpress.org/plugins/widget-logic/
    https://wordpress.org/plugins/widget-options/

    Best regards,
    Ismael

    in reply to: Lightbox missing next previous link #1492441

    Hi,

    Thank you for the screenshot.

    The lightbox is not working on our end. The images in the gallery redirect to the actual resource page instead of opening in the lightbox. Please provide the login details in the private field so we can check the issue.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Image captions are associated with featured images or other media attachments, which are stored as a separate post type (attachment). This is different from regular posts or portfolio items, which do not have a built-in caption field — only an excerpt if supported. It is definitely possible to retrieve the caption of the featured image attached to a post but this will require modifications to the templates, which is beyond the scope of support.

    If you want to try it yourself, you can find the Masonry template in the enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php file.

    Thank you for your understanding.

    Best regards,
    Ismael

Viewing 30 posts - 181 through 210 (of 67,191 total)