Viewing 30 results - 61 through 90 (of 244,333 total)
  • Author
    Search Results
  • #1495788

    In reply to: italic font – why

    @guenni: danke – keine em im Code-Modus, keine PHP scripte in der functions

    @team Enfold: Do you have an idea?

    thx and best regards Tilman

    • This reply was modified 6 days, 20 hours ago by oestersund.
    • This reply was modified 6 days, 20 hours ago by oestersund.
    #1495782

    Hi Rikard,

    Thanks, it works :-)

    But do we have to insert this code snippet into each of our more than 250 WordPress websites with enfold…? Or is this planned for the next enfold update?

    Regards,
    Bernd

    Hi,

    You can activate debug mode under Enfold->Layout Builder->Show advanced Options, then check your shortcodes for the same amount of opening and closing strong tags. You can also edit the tags directly in the shortcode.

    Best regards,
    Rikard

    Hi,

    Great, I’m glad that Ismael could help you out. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

    #1495772
    cktanju
    Participant

    Hi,
    I need a specific header layout that I cannot configure in Enfold.
    Required layout desktop and mobile:
    – Burger menu left
    – Logo perfectly centered in the header
    – Transparent header
    – Header height 120px desktop / 80px mobile
    Both elements should sit on the same vertical center line.
    Is there a recommended way to achieve this with Enfold?

    Thanks
    T

    #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

    #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

    #1495750

    can enfold block the videos on post? or not???

    #1495749

    HI

    Same question, on the socket area, how can i remove the text: powered by Enfold WordPress Theme

    #1495748

    Sorry, again, for the lag in responding, @Guenni007, and thanks again for your efforts! I think your code wasn’t working right away for me, and I needed some other accessibility fixes for the mobile menu (like a focus trap and making the spacebar open links), so I worked with Claude to implement this code in my child theme functions file — lmk if you see any problems with it:

    Stage 1 – Runs immediately on page load:
    Finds the hamburger toggle
    Adds role=”button”
    Adds aria-expanded=”false”
    Adds Space key handler
    Happens before user ever interacts with it

    Stage 2 – Runs when overlay is created (first click):
    Adds aria-controls
    Sets up focus trap
    Adds aria-expanded management (toggling true/false)
    Adds ESC key support
    Adds Space key on menu items

    /* ==========================================================================
       MOBILE MENU FOCUS TRAP WITH ROLE & ARIA-EXPANDED - TWO-STAGE INIT
       ========================================================================== */
    function abode_enfold_mobile_menu_focus_trap_complete() { ?>
        <script>
        (function () {
            var toggleEnhanced = false;
            var fullInitialized = false;
    
            // STAGE 1: Enhance the toggle button immediately (runs on page load)
            function enhanceToggle() {
                if (toggleEnhanced) return;
                
                var toggle = document.querySelector('a[href="#"][aria-label="Menu"]');
                if (!toggle) return;
                
                toggleEnhanced = true;
                
                // Add role="button" immediately
                toggle.setAttribute('role', 'button');
                toggle.setAttribute('aria-expanded', 'false');
                
                // Add Space key handler immediately
                toggle.addEventListener('keydown', function (e) {
                    if (e.key === ' ' || e.key === 'Spacebar') { 
                        e.preventDefault(); 
                        this.click(); 
                    }
                });
                
                console.log('✓ Stage 1: Toggle button enhanced with role=button and Space key');
            }
    
            // STAGE 2: Full initialization with focus trap (runs after overlay is created)
            function fullInit() {
                if (fullInitialized) return;
                
                var toggle  = document.querySelector('a[href="#"][aria-label="Menu"]');
                var overlay = document.querySelector('.av-burger-overlay');
                var menu    = document.querySelector('#av-burger-menu-ul');
                
                if (!toggle || !overlay || !menu) return;
                
                fullInitialized = true;
                
                // Make sure toggle is enhanced (in case Stage 1 hadn't run yet)
                if (!toggleEnhanced) {
                    enhanceToggle();
                }
                
                // Add aria-controls
                toggle.setAttribute('aria-controls', 'av-burger-menu-ul');
                
                console.log('✓ Stage 2: Full initialization with focus trap and aria-expanded management');
    
                function getLinks() {
                    return Array.from(menu.querySelectorAll('a[href]')).filter(function (a) {
                        var li = a.closest('li');
                        return li && li.offsetParent !== null &&
                               getComputedStyle(a).visibility !== 'hidden' &&
                               getComputedStyle(a).display    !== 'none';
                    });
                }
    
                function isOpen() {
                    var s = window.getComputedStyle(overlay);
                    return s.display !== 'none' && parseFloat(s.opacity) > 0;
                }
    
                // Keyboard navigation
                document.addEventListener('keydown', function (e) {
                    if (!isOpen()) return;
                    
                    // Tab key - focus trap
                    if (e.key === 'Tab') {
                        var links = getLinks();
                        if (!links.length) return;
                        if (e.shiftKey && document.activeElement === links[0]) {
                            e.preventDefault(); 
                            links[links.length - 1].focus();
                        } else if (!e.shiftKey && document.activeElement === links[links.length - 1]) {
                            e.preventDefault(); 
                            links[0].focus();
                        }
                    } 
                    // Space key on menu items - activate link
                    else if (e.key === ' ' || e.key === 'Spacebar') {
                        var a = document.activeElement;
                        if (a && a.tagName === 'A' && menu.contains(a)) { 
                            e.preventDefault(); 
                            a.click(); 
                        }
                    } 
                    // Escape key - close menu
                    else if (e.key === 'Escape') {
                        toggle.click();
                    }
                });
    
                // Watch for menu open/close and update aria-expanded
                new MutationObserver(function (mutations) {
                    mutations.forEach(function (m) {
                        if (m.attributeName !== 'style') return;
                        
                        if (isOpen()) {
                            // Menu opened
                            toggle.setAttribute('aria-expanded', 'true');
                            setTimeout(function () { 
                                var l = getLinks(); 
                                if (l.length) l[0].focus(); 
                            }, 400);
                        } else {
                            // Menu closed
                            toggle.setAttribute('aria-expanded', 'false');
                            setTimeout(function () { 
                                toggle.focus(); 
                            }, 100);
                        }
                    });
                }).observe(overlay, { attributes: true, attributeFilter: ['style'] });
            }
    
            // Try to enhance toggle immediately
            if (document.readyState === 'loading') {
                document.addEventListener('DOMContentLoaded', enhanceToggle);
            } else {
                enhanceToggle();
            }
            
            // Try full init at various times
            if (document.readyState === 'loading') {
                document.addEventListener('DOMContentLoaded', fullInit);
            } else {
                fullInit();
            }
            setTimeout(fullInit, 500);
            setTimeout(fullInit, 1500);
    
            // Watch for Enfold dynamically creating the menu overlay
            new MutationObserver(function (mutations) {
                mutations.forEach(function (m) {
                    m.addedNodes.forEach(function (node) {
                        if (node.nodeType === 1 && node.classList &&
                            node.classList.contains('av-burger-overlay')) {
                            setTimeout(fullInit, 100);
                        }
                    });
                });
            }).observe(document.body, { childList: true, subtree: true });
        })();
        </script>
    <?php }
    add_action('wp_footer', 'abode_enfold_mobile_menu_focus_trap_complete', 999);
    #1495747

    Hi,
    Glad that you were able to find a solution, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    nebuddlho
    Participant

    Hi,

    We are running Enfold 7.1.4 on PHP 8.4.17 and are experiencing a critical bug where the Advanced Layout Builder silently truncates page content on save.

    Root cause identified: Enfold’s save routine sometimes strips closing tags when writing to _aviaLayoutBuilderCleanData postmeta. This creates unclosed tags in the stored data. On subsequent saves, Enfold’s shortcode parser encounters the unclosed tag and only processes/saves the content up to that point — everything after is silently deleted.

    Reproduction:

    Create a page with multiple textblocks containing bold text ()
    Edit and save the page several times in the visual ALB editor
    Check _aviaLayoutBuilderCleanData in the database — some closing tags are missing
    Save the page again — all content after the unclosed tag is deleted

    Evidence from our site:

    Post 152: 154 shortcode elements reduced to 16 on save (94,643 → 15,929 bytes). Cause: unclosed tag at position 8311 in cleandata.
    Post 1688: 7 unclosed
    tags found in cleandata, all introduced by the save routine.
    Post 14: post_content had balanced tags but _aviaLayoutBuilderCleanData had unclosed
    — proving the save routine is stripping the closing tag.
    Key observation: The visual editor shows the content correctly with proper bold formatting. The
    is present in the editor. But after save, _aviaLayoutBuilderCleanData is missing the closing tag. This means the bug is in Enfold’s content processing/save pipeline, not user error.

    Workaround: We are manually fixing the database by adding the missing tags to both post_content and _aviaLayoutBuilderCleanData, but the problem recurs on every edit.

    Request: Please investigate the ALB save routine that processes HTML within textblocks and ensure (and other closing tags) are preserved when writing to _aviaLayoutBuilderCleanData.

    Thank you.

    #1495734

    Okay, not recommended, but suggested ;-) If no caching plugin is installed, the Enfold theme displays the following message in the Performance tab:

    We couldn’t detect any active caching plugin. It is recommended to use one to speed up your site. Here are a few suggestions:

    No matter what I do, when the Super Cache plugin is active, I can’t save the theme. The following error occurs:

    AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_blog_option() in /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:820\nStack trace:\n#0 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(3079): get_supercache_dir()\n#1 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/includes/config-enfold/functions-framework.php(215): wp_cache_clear_cache()\n#2 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(341): avia_force_clear_caches()\n#3 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#4 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/plugin.php(522): WP_Hook->do_action()\n#5 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/framewo...', referer: https://wordpresstest.xxxxxxxxxxxx.xx/wp-admin/admin.php?page=avia

    I understand that the error is related to the super cache plugin. But when I reset the theme from 7.1.4 to 7.1.3, everything works fine. To me, it looks like a combination error between Enfold 7.1.4 and the super cache plugin.

    Regards,
    Bernd

    • This reply was modified 1 week, 1 day ago by Bernd.
    • This reply was modified 1 week, 1 day ago by Bernd.
    #1495730

    Enfold Cookie dont block Youtube!!! Why???
    I thouhght it does

    #1495726

    Hi,

    Thanks for the update. We don’t have any recommended plugins, all caching plugins should work with Enfold as far as I’m aware. Did you try to temporarily change your settings for file compression under Enfold->Performance? You could also try to activate the option to delete old CSS and JS files on the same page.

    Best regards,
    Rikard

    #1495719

    Hey Rikard

    I reset the super cache plugin from 3.0.3 to 3.0.2, 3.0.1, and finally to 3.0.0. However, the problem still persists.

    If I deactivate the plugin, the problem is solved. But as far as I remember, the super cache plugin is one of the cache plugins the enfold theme recommend? We have installed it on almost all of our WordPress websites – except for those with WP-Rocket.

    Regards,
    Bernd

    #1495712

    In reply to: Media Cleaner x Avia

    Hey there,

    Thanks for reaching out and for your interest in improving compatibility with Enfold — we really appreciate it.

    We have sent you a copy of the latest version of the theme for your development and testing purposes. Please let us know if you need anything specific from our side or if there are particular areas where we can assist to ensure smooth compatibility with your plugins.

    Looking forward to collaborating with you.

    Best regards
    Kriesi Team

    #1495711
    Val
    Guest

    Hey there! 👋

    We are the MeowApps team (https://meowapps.com), and we would like to know if it would be possible to get a Enfold/Avia PRO copy/license to work on improving the compatibility of our plugin, Media Cleaner, with your theme.
    Thank you!

    You can get back to us at (Email address hidden if logged out) 🙇

    #1495694
    Bernd
    Participant

    Hello

    After updating to 7.1.4, a WordPress error occurs:

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 820 der Datei /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function get_blog_option() in /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:820
    Stack trace:
    #0 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(3079): get_supercache_dir()
    #1 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/includes/config-enfold/functions-framework.php(215): wp_cache_clear_cache()
    #2 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(341): avia_force_clear_caches()
    #3 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #4 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/plugin.php(522): WP_Hook->do_action()
    #5 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/framework/php/auto-updates/class-avia-theme-data-updater.php(160): do_action()
    #6 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(341): aviaFramework\updates\Avia_Theme_Data_Updater->handler_update_version()
    #7 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #8 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/plugin.php(522): WP_Hook->do_action()
    #9 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-settings.php(764): do_action()
    #10 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-config.php(72): require_once('...')
    #11 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-load.php(50): require_once('...')
    #12 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-admin/admin.php(35): require_once('...')
    #13 {main}
      thrown

    If you reload the page, everything will be fine. However, you cannot save any changes in the theme anymore. Error:

    Saving didnt work!
    Please reload the page and try again

    Everything still worked fine with version 7.1.3.
    PHP: 8.3.30

    Regards
    Bernd

    #1495692

    I would generally recommend hosting the fonts yourself. And even turning off Enfold support for Google Fonts.
    It’s more flexible because you can choose the font styles you specifically need, and this is probably the only correct way to be GDPR compliant.
    To hamper Google Fonts Support on Enfold – put this to your child-theme functions.php:

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );

    For selfhosted Fonts – use the Enfold Font Manager – with its upload.
    You upload zip files to that font-manager f.e.:

    my recommendation is to use definitly woff2 fonts – but maybe as fallback the ttf Variants.
    On zipping the Folder (Montserrat) – pay attention if you do that on Mac OSX. Because there are hidden files in there. You had to avoid that.

    #1495690

    Topic: Demo Note Installing

    in forum Enfold
    mjackson9720
    Participant

    I am try to install the Enfold One Page Agency demo but it says Download of files of demo agency didn’t work. I have had them increase the file size allowed and alter security. However it still does not load. I need some help.

    • This topic was modified 1 week, 2 days ago by mjackson9720.
    #1495688

    You are using the Montserrat Font from the drop downlist of Enfold Typos?

    Are you familiar with inspecting your page with a browser dev tools? Then you can check if this Montserrat font has all those font-weights you like to use.
    Or do you have uploaded your own Montserrat font by self hosting it? What kind of Montserrat did you upload then – the static files or the varialble Font?

    Hi Mike

    Sorry to hear you have troubles logging in to my WordPress. I have not changed the provided login credentials as of Feb 9th, and I double checked, it works on my end: https://kellerhalsconsulting.com/wp-login.php So please try again.

    And great to hear that you could recrate my page on your side with buttons working fine with no bouncing, so I am optimistic on my end.

    Please note: I already added

    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }

    to my file: /wp-content/themes/enfold/functions.php

    Thank you for your help.

    Best regards
    Philipp

    #1495684

    Hi Ismael,

    thanks for your reply.

    In the meantime we refactored the implementation and moved the SVG + GSAP logic outside of the content area to avoid any interaction with Enfold’s internal rendering and script handling.

    With that adjustment the issue is resolved on our side, so no further investigation is required.

    Appreciate your support.

    Best regards,
    T

    #1495677

    Hey JennyGr,

    Thank you for the inquiry.

    You might be referring to the Enfold > Sidebar Settings > Page Sidebar Navigation option. When enabled, this option displays sidebar navigation containing the nested subpages of the active page. Let us know the result.

    qBRFJWJ.md.png

    Best regards,
    Ismael

    Hi,
    Glad that Ismael could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    #1495671

    Hi,
    Glad that we could help, and thanks to Guenni007 for the solution. If you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    #1495670

    Hi,
    Glad that we could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    #1495669

    Hi,
    Thanks, glad that we could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    Hi Rikard,

    Thank you for the guidance — it worked perfectly.

    For anyone else dealing with a similar situation (inherited project, large version gap like 4.5.7 → 7.1.x, no access to the original license), here’s what worked for us:

    1. Purchased a new Regular License on ThemeForest — no need to transfer the old one.
    2. Extracted the enfold.zip from inside the downloaded package (not the outer zip) and uploaded via FTP, replacing the old theme folder entirely.
    3. Registered the theme using a newly generated Envato Personal Token.
    4. WP Super Cache caused a Fatal Error (get_blog_option() undefined) when saving Enfold Options on PHP 8.3 / single-site installs. Replacing it with another plugin cache solved the issue completely.
    5. After the major version jump, any header.php or footer.php overrides in the child theme need to be updated from the new parent theme files — old versions will break footer rendering.

    Hope this helps someone going through the same process.

    Best regards,
    Jorge

    • This reply was modified 1 week, 3 days ago by jorgeacebo.
Viewing 30 results - 61 through 90 (of 244,333 total)