Forum Replies Created

Viewing 30 posts - 181 through 210 (of 66,930 total)
  • Author
    Posts
  • Hi,

    Thank you for the update.

    We cannot reproduce the issue with the search field or the details tab. The search field remains visible at all times, and the details tab is also visible on page load. If the tab is being deactivated on load, try adding this script in the functions.php file:

    add_action('wp_footer', function() {
        ?>
        <script type="text/javascript">
        document.addEventListener('DOMContentLoaded', function() {
            var activeTab = document.querySelector('#top div div.product .woocommerce-tabs ul.tabs li.active a');
    
            if (activeTab) {
                activeTab.click();
            }
        });
        </script>
        <?php
    }, 999);

    Best regards,
    Ismael

    in reply to: Blog Custom Layout #1491087

    Hey Gianluca,

    Thank you for the inquiry

    You can use the Blog Posts element and select which category to display under Content > Select Entries > Content To Display | Which Categories Should Be Used For The Blog. To adjust the blog layout or style, look for the Blog Style settings. Please refer to the screenshot below.

    Screenshot-2025-11-10-at-10-29-32-AM

    Let us know if you need more info.

    Best regards,
    Ismael

    in reply to: PageSpeed and Site Loading Hidden Elements #1491086

    Hi,

    Thank you for the inquiry.

    You can try this script in the functions.php file to deactivate slides that are not visible on the current screen size.

    https://pastebin.com/RKdaXj6s

    add_action('wp_footer', function() { ?>
        <script>
        document.addEventListener("DOMContentLoaded", function() {
            const sliders = document.querySelectorAll(".avia-slideshow");
    
            function activateVisibleSlider() {
                sliders.forEach(slider => {
                    const isVisible = slider.offsetParent !== null;
                    const slides = slider.querySelectorAll("li[data-img-url]");
    
                    slides.forEach(slide => {
                        const bgUrl = slide.getAttribute("data-img-url");
                        if (isVisible) {
                            slide.style.backgroundImage = <code>url(&quot;${bgUrl}&quot;)</code>;
                        } else {
                            slide.style.backgroundImage = "none";
                        }
                    });
                });
            }
    
            activateVisibleSlider();
    
            let resizeTimer;
            window.addEventListener("resize", () => {
                clearTimeout(resizeTimer);
                resizeTimer = setTimeout(activateVisibleSlider, 200);
            });
        });
        </script>
    <?php }, 999);

    Best regards,
    Ismael

    in reply to: Scroll position 50% #1491084

    Hi,

    Thank you for the inquiry.

    The script seems to be working correctly when we checked it.

    Screenshot-2025-11-10-at-10-00-35-AM

    Best regards,
    Ismael

    in reply to: Add icons to a fullwidth submenu #1491082

    Hey Angelo,

    Thank you for the inquiry.

    Are you using the default translation editor? Please provide the login details in the private field so we can check the issue properly.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    This is not working because only the navigation arrows are enabled. Try to edit the slider element and make sure that the Styling > Navigation Controls > Slider Navigation Elements is set to Navigation arrows and dots. Let us know the result.

    Best regards,
    Ismael

    in reply to: fold/unfold disable on mobile #1490901

    Hi,

    We adjusted the script slightly and added a condition so it only applies when the screen width is equal to or less than 767px. Please edit the functions.php file and replace the script with this code:

    add_action('wp_footer', function() {
        ?>
        <script>
        jQuery(document).ready(function($) {
            if (window.innerWidth <= 767) {
                $(".avia-fold-unfold-section").each(function() {
                    var $section = $(this);
                    var $container = $section.find(".av-fold-unfold-container");
    
                    if ($container.length) {
                        $container.css({
                            "max-height": "none",
                            "transition": "none"
                        }).removeClass("folded").addClass("unfolded");
                    }
    
                    var $buttonWrapper = $section.find(".av-fold-button-wrapper");
    
                    if ($buttonWrapper.length) {
                        $buttonWrapper.css("display", "none");
                    }
                });
            }
        });
        </script>
        <?php
    }, 999);
    

    Best regards,
    Ismael

    Hey mntsrvcs,

    Thank you for the inquiry.

    This is possible, but you will need to directly modify the includes > loop-search.php file. Please check the links below for more info.

    https://kriesi.at/support/topic/add-featured-image-to-search-results/#post-249161
    https://kriesi.at/support/topic/change-layout-search-results/#post-1359284

    Best regards,
    Ismael

    in reply to: Woocommerce Produkte ausblenden #1490887

    Hi,

    Thank you for the inquiry.

    The code is supposed to fix the hidden product issue on the search page. If this is not working, we may need to view and access the site to check the issue further. Please provide examples of the hidden products that are not supposed to display on the search page, then include the login details in the private field.

    Best regards,
    Ismael

    in reply to: Blog Overview – Image left, copy right #1490886

    Hi,

    Thank you for the update.

    Try to add this code to the functions.php file to adjust the size of the thumbnails used in posts.

    function avf_modify_thumb_size_mod( $size_array ) {
        $size_array['entry_without_sidebar'] = array('width' => 9999, 'height' => 9999);
        $size_array['entry_with_sidebar'] = array('width' => 9999, 'height' => 9999);
        return $size_array;
    }
    add_filter( 'avf_modify_thumb_size', 'avf_modify_thumb_size_mod', 10, 1 );

    After adding the filter, make sure to create a site backup, then use one of the following plugins to regenerate the thumbnails.

    https://wordpress.org/plugins/regenerate-thumbnails/
    https://wordpress.org/plugins/regenerate-thumbnails-advanced/

    Best regards,
    Ismael

    in reply to: Image and Image Alt Attributes #1490885

    Hi,

    Thank you for the update.

    The site requires an additional .htaccess authentication. We tried using the login details provided above, but they didn’t work. Please include the complete credentials in the private field.

    Best regards,
    Ismael

    in reply to: fold/unfold disable on mobile #1490801

    Hi,

    The filter we recommended was placed in the style.css file instead of the functions.php file. We removed it and added the following script instead. The text will still display with a slight delay, but the transition should now be disabled.

    add_action('wp_footer', function() {
        ?>
        <script>
        jQuery(document).ready(function($) {
            $(".avia-fold-unfold-section").each(function() {
                var $section = $(this);
                var $container = $section.find(".av-fold-unfold-container");
    
                if ($container.length) {
                    $container.css({
                        "max-height": "none",
                        "transition": "none"
                    }).removeClass("folded").addClass("unfolded");
                }
    
                var $buttonWrapper = $section.find(".av-fold-button-wrapper");
    
                if ($buttonWrapper.length) {
                    $buttonWrapper.css("display", "none");
                }
            });
        });
        </script>
        <?php
    }, 999);
    
    

    We also edited the modification in the Quick CSS field.

    @media only screen and (max-width: 768px) {
      .av-fold-unfold-container {
        max-height: none !important;
        transition: none !important;
        opacity: 1 !important;
      }
    
      .avia-fold-unfold-section .av-fold-button-wrapper,
      .av-fold-button-container {
        display: none !important;
      }
    
      #top .avia-fold-unfold-section .av-fold-unfold-container:after {
        display: none !important;
      }
    
      .avia-fold-init,
      .avia-fold-init-done {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
      }
    }
    

    Best regards,
    Ismael

    in reply to: Delay on opening mega menu #1490799

    Hi,

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

    Best regards,
    Ismael

    in reply to: Portfolio Anzeige nur eine Kategorie #1490796

    Hi,

    Great! Glad to know that you’ve found a working solution. Please don’t hesitate to open another thread if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

    Hi,

    Thank you for the screenshot.

    Did you add this css code?

    .responsive .fullsize .grid-col-4 .grid-image {
        height: 215px;
    }

    This limits the height of the grid items. Try to remove this css code or override it with the following css rule:

    .responsive .fullsize .grid-col-4 .grid-image {
        height: auto !important;
    }
    

    Screenshot-2025-10-31-at-2-14-45-PM

    Let us know the result.

    Best regards,
    Ismael

    in reply to: Content slider with image and text on the right #1490793

    Hey steviger,

    Thank you for the inquiry.

    You can continue using the Content Slider element. Add the following html in the editor:

    
    <div class="av-flex-container">
    <div class="av-image-column">
        <img src="http://site.com/image.jpeg" alt="Sample Image" /></div>
    <div class="av-text-column">
    <h2>Title Here</h2>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel urna at sapien tempor dictum.
    
    </div>
    </div>
    

    Then add this css code to create a container with two columns, an image on the left and a title with text on the right.

    
    .av-flex-container {
      display: flex;
      width: 100%;
      height: 400px;
      flex-wrap: wrap;
    }
    
    .av-image-column {
      flex: 1;
      position: relative;
      overflow: hidden;
    }
    
    .av-image-column img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .av-text-column {
      flex: 1;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-color: #f5f5f5;
    }
    
    @media (max-width: 768px) {
      .av-flex-container {
        flex-direction: column;
        height: auto;
      }
    
      .av-image-column,
      .av-text-column {
        flex: 1 1 100%;
        height: auto;
      }
    
      .av-image-column img {
        height: 250px;
      }
    
      .av-text-column {
        padding: 20px;
      }
    }

    Screenshot-2025-10-31-at-1-59-55-PM

    Best regards,
    Ismael

    in reply to: Adding navigation per category for Portfolio Entires #1490791

    Hey milkrow,

    Thank you for the inquiry.

    You can add this filter to the functions.php file to limit post navigation to items within the same category. However, please note that this will also disable looping and will only work if each portfolio item belongs to a single category.

    add_filter( 'avf_post_nav_settings', 'avf_post_nav_settings_mod', 10, 1);
    function avf_post_nav_settings_mod($settings)
    {
        $settings['same_category'] = true;
        return $settings;
    }

    Best regards,
    Ismael

    in reply to: Sort Portfolio Grid items by custom field #1490790

    Hey milkrow,

    Thank you for the inquiry.

    Try to use this filter in the functions.php file to adjust the sorting of the portfolio grid items:

    function avf_avia_post_grid_query_mod( $query, $params ) {
        $query['meta_key'] = 'portfolio_order'; // <-- replace this with the actual acf name
        $query['orderby']  = 'meta_value_num';
        $query['order']    = 'ASC';
    
        return $query;
    }
    add_filter( 'avia_post_grid_query', 'avf_avia_post_grid_query_mod', 10, 2 );
    

    Make sure to adjust the meta_key value.

    Best regards,
    Ismael

    in reply to: Woocommerce Produkte ausblenden #1490787

    Hey Blatze,

    Thank you for the inquiry.

    Try to add this code in the functions.php file to adjust the search query for products:

    function ava_pre_get_posts_mod( $query ) {
        if ( ! is_admin() && $query->is_search() && $query->is_main_query() ) {
            if ( class_exists( 'WooCommerce' ) && ( $query->get( 'post_type' ) === 'product' || isset( $_GET['post_type'] ) && $_GET['post_type'] === 'product' ) ) {
    
                $meta_query = (array) $query->get( 'meta_query' );
    
                $meta_query[] = array(
                    'key'     => 'catalog_visibility',
                    'value'   => array( 'hidden', 'exclude-from-search' ),
                    'compare' => 'NOT IN'
                );
    
                $query->set( 'meta_query', $meta_query );
            }
        }
    }
    add_action( 'pre_get_posts', 'ava_pre_get_posts_mod', 20 );
    

    Let us know the result.

    Best regards,
    Ismael

    in reply to: Input to shortcode #1490786

    Hey CharlieTh,

    Thank you for the inquiry.

    We’re not entirely sure what you’re trying to do, but it looks like you want to process input from a form field and display the result on the page. You might want to check out the wp_ajax_* action hook.

    https://developer.wordpress.org/reference/hooks/wp_ajax_action/

    These articles should also help.

    https://wp-kama.com/2257/ajax-in-wordpress
    https://medium.com/@alejandro-ao/how-to-do-ajax-in-wordpress-a826f9fde4d5

    Let us know if you need more info.

    Best regards,
    Ismael

    in reply to: quantity cannot be changed #1490785

    Hey Gianluca,

    Thank you for the inquiry.

    Please add this css code to make the quantity buttons visible again on mobile view.

    @media only screen and (max-width: 768px) {
    
      /* Add your Mobile Styles here */
      .responsive .shop_table .product-quantity {
        display: block;
      }
    }

    Best regards,
    Ismael

    in reply to: loading problems – content flashing #1490784

    Hi,

    Thank you for the info.

    You can try removing this script:

    <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="eb73297c-1583-47c6-a2fd-5b6c01c438eb" data-blockingmode="auto" type="text/javascript"></script>
    

    It might have a corresponding html element on the page, but that element is not included in this file.

    Best regards,
    Ismael

    in reply to: loading problems – content flashing #1490728

    Hi,

    Thank you for the update.

    As shown in the screenshot above, the custom cookie modal is still present in the document. We recommend reaching out to the plugin developers for additional information.

    Best regards,
    Ismael

    in reply to: fold/unfold disable on mobile #1490727

    Hi,

    Did you keep the css code? The css code is needed to fully display the content.

    Best regards,
    Ismael

    in reply to: Vertically centered logo in the header #1490726

    Hi,

    Thank you for the update.

    The logo should be vertically centered by default, but there might be a custom modification in your installation that alters this layout. Please let us know if you have any further questions.

    Best regards,
    Ismael

    in reply to: Delay on opening mega menu #1490725

    Hey profumopuntoit,

    Thank you for the inquiry.

    You can add this css code to add a delay to the mega menu transition.

    #header .avia_mega_div {
        transition-delay: 2s;
    }

    Let us know the result.

    Best regards,
    Ismael

    in reply to: Breakpoint #1490724

    Hi,

    We missed the screenshot above. Please try to replace the modification with this css code:

    
    #top .av-minimal-toggle .toggle_content .avia-testimonial {
      width: 50%;
      display: block;
      float: left;
    }
    
    @media only screen and (max-width: 989px) {
    
      /* Add your Mobile Styles here */
    
      #top .av-minimal-toggle .toggle_content .avia-testimonial {
        width: 100%;
        display: block;
        float: none;
      }
    }

    Result:

    Screenshot-2025-10-30-at-1-10-46-PM

    Best regards,
    Ismael

    in reply to: Breakpoint #1490723

    Hi,

    Thank you for the inquiry.

    The modification above should resize the testimonial items on all standard screen resolutions. Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, ImgBB, PostImages or Dropbox to upload and share the screenshot.

    Best regards,
    Ismael

    in reply to: Enfold Medicine #1490722

    Hey slauffer,

    Thank you for the inquiry.

    The site is in maintenance mode, so we are not able to check it. Where the site is hosted? If it’s on OVH, you will need to import the demos manually using the XML files. Due to an issue with this host, images and other media files may not import correctly. Please refer to this documentation for more info.

    https://kriesi.at/documentation/enfold/import-demos/#how-to-manually-import-a-theme-demo

    Let us know if you have more questions.

    Best regards,
    Ismael

    in reply to: General question #1490721

    Hey Henk,

    Thank you for your interests in the theme.

    We believe what you’re referring to as “templates” are the demos. If that’s the case, once you purchase a license, you’ll be able to select any of the templates or demos available for the theme. Please note that each import will override the previous one, but you can always reset the installation if needed.

    Regarding the layout, it’s possible to add a section or an element with a background video. You can also use the sliders from the Advance Layout Builder or utilize the Layer Slider plugin, which is included natively in the theme.

    For more information, please browse through the documentation and check out the articles on our blog:

    https://kriesi.at/documentation/enfold
    https://kriesi.at/blog

    If you have any further questions, please feel free to send us a message. See you on the forum!

    Best regards,
    Ismael

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