Forum Replies Created

Viewing 30 posts - 31 through 60 (of 67,460 total)
  • Author
    Posts
  • in reply to: wpo-minify folder #1495877

    Hey nioperik2,

    Thank you for the inquiry.

    The wpo-minify folder is created and managed by the WP-Optimize plugin, so this is not something directly related to the Enfold theme itself.

    We found a support thread that addresses your exact question, but we’re not sure if this is still accurate.

    https://wordpress.org/support/topic/can-i-delete-minify-folder/

    For more details, please refer to the WP-Optimize documentation.

    https://teamupdraft.com/documentation/wp-optimize/getting-started/

    For any further questions specifically about WP-Optimize, we recommend reaching out to the WP-Optimize support team directly.

    Best regards,
    Ismael

    Hey oestersund,

    Thank you for the update.

    You’re right, the issue is that the previous css uses display: none !important; without scoping it to a specific page, so it ends up hiding #layer_slider_2 on all pages, not just the homepage.

    The fix is to wrap those rules in a page-specific selector. The easiest way to do this is to use the unique body class that WordPress adds for each page. For example, if your homepage has the slug “home”, the body class would be something like page-id-123 or home. You can check the exact class by inspecting the body tag in your browser’s dev tools.

    Once you have the body class for your homepage, update the css like this:

    
    /*Homepage Slider Laptop Mobile*/
    @media only screen and (min-width: 768px) {
        .page-id-123 #layer_slider_1 { display: block !important; }
        .page-id-123 #layer_slider_2 { display: none !important; }
    }
    @media only screen and (max-width: 767px) {
        .page-id-123 #layer_slider_2 { display: block !important; }
        .page-id-123 #layer_slider_1 { display: none !important; }
    }
    

    Replace .page-id-123 with the actual page ID class from your homepage body tag. This way the hide/show rules only apply on the homepage and all other pages with layer sliders will display normally on mobile again. This documentation should help.

    https://kriesi.at/documentation/enfold/add-custom-css/#how-to-inspect-an-element-on-the-page

    Please make sure to purge the cache before testing. Let us know if the issue persists.

    Best regards,
    Ismael

    in reply to: page speed test #1495875

    Hey Munford,

    Thank you for the inquiry.

    The “Make fewer HTTP requests” and “Add Expires headers” recommendations from speed testing tools are server-level optimizations and are not something we can control directly from the theme side. These are handled by your hosting server configuration.

    For the Expires headers issue, this typically requires adding rules to your .htaccess file or asking your host to enable browser caching on the server. Here is an example of what you can add to your .htaccess file:

    
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType application/javascript "access plus 1 month"
    </IfModule>
    

    For reducing HTTP requests, the “Merge and compress files” option you already have enabled in Enfold > Performance is the main thing the theme can do on its end. Beyond that, reducing the number of active plugins and removing any unnecessary scripts loaded by third-party plugins will help.

    We also recommend using a caching plugin like W3 Total Cache or WP Rocket, as these can handle both browser caching and HTTP request reduction more comprehensively. For more details, please refer to the W3 Total Cache documentation.

    https://wordpress.org/plugins/w3-total-cache/

    Let us know if you have more questions.

    Best regards,
    Ismael

    in reply to: Style the excerpt #1495873

    Hey Erwin,

    Thank you for the inquiry.

    Yes, it is possible to add inline html to the post excerpt. You can go to Posts > All Posts, edit the post you want to modify, and add your custom html directly in the excerpt field. For example, you can wrap certain words in a span tag with a custom class, like this:

    
    This is the <span class="av-highlight">highlighted word</span> in the excerpt.
    

    Then you can style that class using custom css in Enfold > General Styling > Quick CSS or via Appearance > Customize > Additional CSS:

    
    .av-highlight {
        color: orange;
    }
    

    Just keep in mind that the excerpt field in WordPress does not show a visual editor by default, so you would need to type the html directly in the plain text field. Also, some themes or plugins may strip html tags from the excerpt, but Enfold generally allows basic inline html tags like span to pass through.

    Let us know if you have more questions.

    Best regards,
    Ismael

    in reply to: Disable focussing masonry gallery #1495871

    Hey Erwin,

    Thank you for the inquiry.

    You can disable the hover/focus effect on the masonry gallery images by adding the following css to Enfold > General Styling > Quick CSS:

    
    #top .av-masonry-item .av-masonry-image-container:before,
    #top .av-masonry-item .av-masonry-image-container:after {
        display: none !important;
    }
    
    #top .av-masonry-item:hover .av-masonry-image-container img {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
    

    If you only want to target a specific masonry gallery on the page and leave the others unaffected, you can wrap it in a section or cell with a Custom CSS Class and then use that class as the parent selector in the code above.

    https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support

    Let us know if the issue persists.

    Best regards,
    Ismael

    in reply to: Header – SVG Logo – Burger Menu left, Logo center #1495870

    Hey cktanju,

    Thank you for the update.

    To set the sticky header background to black on mobile, you can add the following to the Quick CSS field in Enfold > General Styling > Quick CSS:

    
    @media only screen and (max-width: 767px) {
        .html_header_sticky #header .header_bg {
            background-color: #000;
        }
    }
    

    If the header is using transparency before scrolling, you may also need to target the scrolled state specifically:

    
    @media only screen and (max-width: 767px) {
        #header .header_bg {
            background-color: #000;
        }
    }
    

    Please make sure to purge the cache before testing. Let us know if the issue persists.

    Best regards,
    Ismael

    in reply to: Youtube are not blocked #1495808

    Hi,

    You’re welcome! Feel free to open a new thread if you have any more questions.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Manage WP Layer slider appearance laptop mobile #1495807

    Hey Tilman,

    Thank you for the inquiry.

    We adjusted the css code a bit.

    @media only screen and (min-width: 768px) {
        #layerslider_1  { display: block !important; }
        #layerslider_25 { display: none !important; }
    }
    
    @media only screen and (max-width: 767px) {
        #layerslider_25 { display: block !important; }
        #layerslider_1  { display: none !important; }
    }

    Let us know how it goes.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Is the following text actually included in the email?

    ###### Everything below this line shouldn’t appear ######
    

    Try to use this filter instead.

    add_filter( 'avf_contact_form_autoresponder_mail', function( $mail_array, $new_post, $form_params, $form_obj ) {
        if ( ! isset( $mail_array['Message'] ) ) {
            return $mail_array;
        }
    
        $message = $mail_array['Message'];
    
        $separators = [ '<hr', '&#8212;&#8212;&#8212;' ];
    
        foreach ( $separators as $sep ) {
            $pos = strpos( $message, $sep );
    
            if ( $pos !== false ) {
                $mail_array['Message'] = rtrim( substr( $message, 0, $pos ) );
                return $mail_array;
            }
        }
    
        $pattern = '/<br\s*\/?>\s*(?:Ihre Nachricht:|Anrede|Vorname|Nachname|E-Mail|Thema|Nachricht)\s*:?/i';
    
        if ( preg_match( $pattern, $message, $matches, PREG_OFFSET_CAPTURE ) ) {
            $mail_array['Message'] = rtrim( substr( $message, 0, $matches[0][1] ) );
        }
    
        return $mail_array;
    }, 10, 4 );
    

    Best regards,
    Ismael

    in reply to: Not registered dependencies for Enfold css and js #1495805

    Hi,

    Thank you for the update.

    Please try editing the enfold/config-templatebuilder/avia-template-builder/php/class-save-buildertemplate.php file. Remove everything in the file, then replace it with the following code.

    https://pastebin.com/SUBcKrzs

    IMPORTANT: Please make sure to create a site backup or restore point before applying the fix. Keep the admin_enqueue_scripts as is.

    Let us know how it goes.

    Best regards,
    Ismael

    in reply to: Header – SVG Logo – Burger Menu left, Logo center #1495804

    Hi,

    Thank you for the inquiry.

    Looks good on our end, but the !important rule is not always necessary to override the default styling, especially when the css rules are added in the style.css file or the Quick CSS field. Have you tried removing them?

    Best regards,
    Ismael

    Hey Elena,

    Thank you for the inquiry.

    Edit the page then try to set the Layout > Header visibility and transparency settings to No Transparency or Transparent & Glassy Header. To center the logo, please try this css code:

    #header_main .inner-container {
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    #header_main .main_menu,
    #header_main .av-main-nav-wrap,
    #header_main .av-main-nav {
        display: contents;
    }
    
    #header_main .logo {
        order: 35;
        flex-shrink: 0;
        margin: 0 40px;
        transform: translate(10px, 10px);
    }
    
    #header_main .menu-item-top-level-1 { order: 10; margin-left: auto; }
    #header_main .menu-item-top-level-2 { order: 20; }
    #header_main .menu-item-top-level-3 { order: 30; }
    #header_main .menu-item-top-level-4 { order: 40; }
    #header_main .menu-item-top-level-5 { order: 50; }
    #header_main .menu-item-top-level-6 { order: 60; margin-right: auto; }
    
    #header_main .av-burger-menu-main {
        display: none;
    }

    You may need to shorten the title of the “Cosa posso fare per te” menu item.

    Best regards,
    Ismael

    Hey tchamp77,

    Thank you for the inquiry,

    This is to be expected, since the default behavior when clicking an inactive Horizontal Gallery item is to navigate or slide it to the center. This behavior overrides the anchoring to the Accordion items. Once the image is centered, the anchor should work without issue.

    To override this behavior, you can try this script in the functions.php file:

    <?php
    add_action( 'wp_footer', 'ava_wp_footer_script_mod', 99 );
    
    function ava_wp_footer_script_mod() {
        ?>
        <script>
        // override default horizontal gallery clicks behavior to open accordion and scroll to title
        (function($) {
            $(document).on('click', '.av-horizontal-gallery-slider a[href^="#toggle-id-"]', function(e) {
                e.preventDefault();
                e.stopImmediatePropagation();
    
                var targetId = $(this).attr('href').slice(1);
    
                setTimeout(function() {
                    var $title = $('#toggle-toggle-' + targetId);
                    var $wrap  = $('#' + targetId);
    
                    if (!$title.length) return;
    
                    if (!$wrap.hasClass('active_tc')) $title.trigger('click');
    
                    setTimeout(function() {
                        $('html, body').animate({ scrollTop: $title.offset().top - 80 }, 500);
                    }, 50);
                }, 50);
            });
        })(jQuery);
        </script>
        <?php
    }

    Best regards,
    Ismael

    in reply to: Enfold #1495800

    Hey Pam Miller,

    Thank you for the inquiry.

    The server should have PHP version 8.0 or later to be compatible with the latest version of the theme, 7.1.4. You can download the latest version of the theme from your Themeforest account. After retrieving the latest version, you may need to manually install or upload it to your server via S/FTP. Please check the link below for more info.

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

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry.

    You may need to ask your hosting provider to increase the cURL timeout duration. If the issue persists after increasing the timeout duration, try to manually import the demo using the XML files. Please check the documentation below for more info.

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

    Let us know the result.

    Best regards,
    Ismael

    in reply to: Enfold-Lawyer #1495798

    Hey Behnam,

    Thank you for the inquiry.

    You may need to manually install or import the Lawyer demo using the XML files. Please check the documentation below for more info.

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

    Best regards,
    Ismael

    in reply to: Youtube are not blocked #1495758

    Hi,

    Thank you for the inquiry.

    The privacy cookie option in the theme can only block Youtube videos added using the Video element. Embedded videos added via iframes or other plugins are not covered and cannot be controlled by the privacy feature. You need to use the Video element or the corresponding Video element shortcode.

    Let us know if you have more questions.

    Best regards,
    Ismael

    Hey Marc,

    Thank you for the inquiry.

    In the Column element’s Styling > Background > Custom Background Color, there should be a transparency (opacity) slider in the color picker, as shown in the screenshot below.

    qCLyaee.md.png

    Let us know if you need more info.

    Best regards,
    Ismael

    in reply to: Not registered dependencies for Enfold css and js #1495756

    Hi,

    Thank you for the info.

    In the enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php file, please look for this code around line 217:

    //set up loading of assets. wait until post id is known
    add_action( 'wp', array( $this, 'extra_asset_check' ) , 10 );
    

    Replace it with:

    //set up loading of assets. wait until post id is known
    add_action( 'wp_enqueue_scripts', array( $this, 'extra_asset_check' ) , 20 );
    

    Let us know if the issue persists.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    In the avf_contact_form_autoresponder_mail filter, you have to translate “Your Message:” text to German.

    add_filter( 'avf_contact_form_autoresponder_mail', function( $mail_array, $new_post, $form_params, $form_obj ) {
        if( isset( $mail_array['Message'] ) ) {
            $marker = '<strong>' . __( 'Ihre Nachricht:', 'avia_framework' ) . '</strong>';
            $pos = strpos( $mail_array['Message'], $marker );
    
            if( $pos !== false ) {
                $mail_array['Message'] = rtrim( substr( $mail_array['Message'], 0, $pos ) );
            }
        }
        return $mail_array;
    }, 10, 4 );

    Let us know how it goes.

    Best regards,
    Ismael

    in reply to: How to ReOrder Page Sidebar menu Items #1495754

    Hi,

    Thank you for the update.

    Are you using the default Block Editor? Please open the Preferences panel, and make sure that General > Document settings > Page attributes is enabled.

    qCL8Vlp.md.png

    This documentation should help: https://wordpress.org/documentation/article/preferences-overview/

    Best regards,
    Ismael

    Hey nebuddlho,

    Thank you for the inquiry.

    This is the expected behavior, which is why there are warnings in the element fields to ensure that the html added to the builder is valid. Please review the content, specifically the html tags and make sure that all tags are properly closed and valid before saving the page.

    Let us know if you have any further questions.

    Best regards,
    Ismael

    in reply to: burger menu accessibility #1495752

    Hi,

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

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Preview Changes, Edit Socket #1495751

    Hi,


    @ivloulinghong
    : In the Enfold > Footer > Copyright field, simply add the placeholder [nolink] to remove the default copyright text. Please check the screenshot below.

    qCLT0OJ.md.png

    Best regards,
    Ismael

    in reply to: Tab Section with Table – mobile not scrollable #1495718

    Hi,

    Sorry for the delay. Unfortunately, adding swipe functionality to the tab section would require modifications that are beyond the scope of support. At the moment, the tab titles are accessible only by clicking and are not swipeable. Please feel free to open another thread if you have any more questions about the theme.

    Best regards,
    Ismael

    in reply to: Fullscreen Homepage Teaser Implementation #1495717

    Hi,

    Great! Glad to hear that you’ve found a working solution — it looks good on our end. Please don’t hesitate to open another thread if you have any further questions.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: How to ReOrder Page Sidebar menu Items #1495716

    Hi,

    Thank you for the inquiry.

    You can find the Order field in the page editor. Edit the page, then look for the Page Attributes box.

    qC3biUQ.md.png

    Let us know if you need more info.

    Best regards,
    Ismael

    Hey tebitron,

    Thank you for the inquiry.

    You can use this filter in the functions.php file to strip down the form data from the autoresponder message.

    add_filter( 'avf_contact_form_autoresponder_mail', function( $mail_array, $new_post, $form_params, $form_obj ) {
        if( isset( $mail_array['Message'] ) ) {
            $marker = '<strong>' . __( 'Your Message:', 'avia_framework' ) . '</strong>';
            $pos = strpos( $mail_array['Message'], $marker );
    
            if( $pos !== false ) {
                $mail_array['Message'] = rtrim( substr( $mail_array['Message'], 0, $pos ) );
            }
        }
        return $mail_array;
    }, 10, 4 );
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The cart icon displays fine on our own installation, so it’s likely a conflict with one of your plugins or a recent modification to the theme. Please try disabling the compression settings and the cache plugin to see if that makes a difference. For now, keep the css code to maintain the cart icon color.

    Best regards,
    Ismael

    in reply to: “Avia Module” errors being thrown #1495713

    Hi,

    Great! Glad this has been resolved. Please don’t hesitate to open another thread if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

Viewing 30 posts - 31 through 60 (of 67,460 total)