Viewing 30 results - 7,111 through 7,140 (of 244,420 total)
  • Author
    Search Results
  • #1461671

    Hey roelvanleuken,

    Thank you for pointing at this – I already answered your contact form request yesterday:

    First I checked the database structure of WP post meta table.

    meta_key field is an index in my install (6.5.3). This means the query you show is a simple query against an index and this means that is a very fast query – even in a database that contains million of entries in a table.

    Please check with your hoster (datatbase hoster) why this query is so slow in your case. Could be your database is broken somehow or allocated memory is too small.

    Nevertheless I improved the query logic to remove it from frontend for next release 6.0.1.

    If you want to test the fixes please replace the 2 following files:

    ..\config-acf\class-avia-acf.php
    ..\config-templatebuilder\avia-template-builder\php\class-dynamic-content.php

    with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-acf/class-avia-acf.php
    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-templatebuilder/avia-template-builder/php/class-dynamic-content.php

    Best regards,
    Günter

    #1461670
    roelvanleuken
    Participant

    We have several websites running Enfold 6.0. On some large websites (with a large postmeta table), the website (frontend and backend) is really slow due to the database query, introduced in the latest version of Enfold:

    SELECT DISTINCT meta_key FROM wp_postmeta WHERE meta_key NOT LIKE “\_%” ORDER BY meta_key

    See:
    Slow query

    Some of our websites are taking up to 10-20 seconds to load with Enfold 6.0. Only way to fix this is to revert to an older Enfold version. This is a real issue for some of our websites.

    #1461660

    In reply to: Table of content

    Hi,

    Thank you for the update.

    All post but at the beginning.

    You can create a custom shortcode for the TOC widget, then use a template hook to automatically render the TOC on every post. Please add this code to the functions.php file:

    add_shortcode('avs_toc', 'avs_toc_function');
    function avs_toc_function()
    {
        $args = array(
            'name' => 'Displayed Everywhere',
            'id' => 'av_everywhere',
            'description' => '',
            'class' => '',
            'before_widget' => '<section id="avia_auto_toc-2" class="widget clearfix avia_auto_toc">',
            'after_widget' => '<span class="seperator extralight-border"></span></section>',
            'before_title' => '',
            'after_title' => '',
            'widget_id' => 'avia_auto_toc_custom',
            'widget_name' => 'Enfold Child Table of Contents',
        );
    
        $instance = array(
            'title' => 'Toc',
            'exclude' => '',
            'style' => '',
            'level' => 'h1',
            'single_only' => 1,
            'indent' => 1,
            'smoothscroll' => 1,
        );
    
        ob_start();
        $toc = new \aviaFramework\widgets\avia_auto_toc;
        $toc->widget($args, $instance);
        $output = ob_get_clean();
    
        return $output;
    }

    Then include this hook to render the TOC after the main title:

    add_action('ava_after_main_title', function() {
        if(is_single()) echo do_shortcode('[avs_toc]');
    }, 10);
    

    Best regards,
    Ismael

    #1461655

    In reply to: Table of content

    Hello, I don’t really think this works to me.
    As I told you, I need table of contents in:

    1) POST: All post but at the beginning. If i put the widget area in the sidebar, in mobile appears at the end, not at the beginning.

    2) PAGES: I have more than 800 pages and probably more in the future. I can not have 800 widget areas!! and modify 800 pages…..

    Any other suggestion?

    Or do you know any plugin working well with enfold?

    Thank you!

    #1461653

    Hey amyncuih,

    Thank you for the inquiry.

    You can set the container of the color section to full width with custom css. Please check the link below for more info:

    // https://kriesi.at/documentation/enfold/color-section/#color-section-with-100-content-width

    Best regards,
    Ismael

    #1461646

    Hi,
    I believe that I have found a solution to change the sidebar header menu to have multiple dropdowns like the burger menu,
    Enfold Support 6271
    for example this is the first dropdown after a click:
    Enfold Support 6267
    this is the second level after click:
    Enfold Support 6269
    please note that both the “first level” and “second level” menu items are not links to pages, so a click will open the sub-menu:
    Enfold Support 6273
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function change_sidebar_menu_to_burger_menu_dropdown() { ?>
      <script>
    document.addEventListener("DOMContentLoaded", function() {
        var screenWidth = window.innerWidth;
        if (screenWidth >= 768) {
            if (document.documentElement.classList.contains("html_header_sidebar")) {
                const aviaMenu = document.getElementById("avia-menu");
                if (aviaMenu) {
                    aviaMenu.id = "av-burger-menu-ul";
                    aviaMenu.classList.remove("av-main-nav");
                    aviaMenu.classList.remove("menu");
                }
                const menuItems = document.querySelectorAll("#av-burger-menu-ul .menu-item");
    
                menuItems.forEach(function(item) {
                    item.classList.add("av-active-burger-items");
                    item.classList.remove("menu-item");
                });
                const menuItemsWithChildren = document.querySelectorAll("#av-burger-menu-ul .menu-item-has-children");
    
                menuItemsWithChildren.forEach(function(item) {
                    item.classList.add("av-width-submenu");
                    //item.classList.remove("menu-item-has-children");
    
                    const dropdownAva = item.querySelector(".menu-item-has-children.av-width-submenu .avia-menu-text");
                    if (dropdownAva) {
                        const dropdownAvailable = document.createElement("span");
                        dropdownAvailable.classList.add("dropdown_available");
                        dropdownAva.insertAdjacentElement('afterend', dropdownAvailable);
                    }
                    const dropdownSpan = item.querySelector(".menu-item-has-children.av-width-submenu .dropdown_available");
                    if (dropdownSpan) {
                        const submenuIndicator = document.createElement("span");
                        submenuIndicator.classList.add("av-submenu-indicator");
                        dropdownSpan.insertAdjacentElement('afterend', submenuIndicator);
                    }
                });
    
                const style = document.createElement('style');
                style.innerHTML = `
                    #top #av-burger-menu-ul {
                        width: 300px;
                        padding: 0px 30px;
                    }
                    .main_menu ul:first-child>li a {
                        height: 50px;
                        line-height: 50px;
                    }
                `;
                document.head.appendChild(style);
            }
        }
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'change_sidebar_menu_to_burger_menu_dropdown', 99 );

    Please disable any previous snippets from this thread.

    Best regards,
    Mike

    #1461644

    In reply to: Custom Fonts

    Hi,
    Glad to hear that you have this sorted out, and thanks for sharing your solution. If you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    #1461643

    Hi,
    Thanks for the feedback, I’m glad you were able to investigate this further, but unfortunately I don’t know what else we can do to help with this, as we can’t reproduce this and from your explanation it sounds like a red-herring, as you say.
    We will go ahead and close this as you pointed out, but feel free to open a new thread if you find new information that will help us reproduce this.
    Thank you for your understanding and using Enfold.

    Best regards,
    Mike

    #1461628

    HI.

    Adjusting the font size affects the Desktop/Laptop adversely as well as the Cell mode.

    This reply does not address why updates to the theme disrupted cell phone layouts.

    Q: how do we retain our Desktop/Laptop layouts while regaining an elegant look for the cell mode in responsive Design?

    Example pages:

    https://www.stonecrafters.rocks/

    https://www.stonecrafters.rocks/services/

    https://www.stonecrafters.rocks/contact/

    NOTE: we have not altered out layout since the initial rebuild of the site using Enfold theme. This site used to look perfect in responsive design.

    Please advise. Note: I shared login credentials and you have permission to enter the site.

    #1461624

    In reply to: Edit text block

    Hey Xavier,

    Thanks for the login details. Could you try updating the theme to the latest version (6.0) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/.

    Best regards,
    Rikard

    #1461623

    Hi,

    Thanks for the update, we’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

    #1461622

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

    #1461619
    bsingenberger
    Participant

    Hey
    After the last Enfold update, I added a new picture (portrait) of a person. This now appears much smaller than the pictures before the update. I cannot adjust the image to fit via the settings.
    Please find attached the link to the corresponding page. The two bottom images are new and unfortunately in a smaller format.
    Thank you very much for your efforts.
    Kind regards,
    Beat

    #1461617
    Maureen van Goethem
    Participant

    I’m trying to remove the sorting in a webshop.
    I already added this in funcions.php:
    /* WooCommerce sorteeropties verwijderen */
    remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );
    This didn’t work.
    Then I added this in an Snippets plugin. That didn’t work either.
    What I want is to remove both dropdowns.
    Can you help me?

    #1461613

    Topic: Fullwidth Hero Image

    in forum Enfold
    Hokuspokus
    Participant

    Dear Support,

    I am trying repeatedly to achieve the same dimensions in responsive design for a hero image and corporate design. We are attempting to transition the layout from Joomla to Enfold, as mentioned in the link in the private section.

    I have created a color section and added a background image as described in many threads and the help. However, whatever I do and whichever options I try, I encounter the following issues:
    A: The page has margins at the top and bottom on mobile devices.
    B: Only a part of the image is visible.

    I can’t find an option that consistently shows the entire image every time as in the link below, if you transform the page to different sizes.

    Using the full-width slideshow with no scaling and stretch gives me exactly what I need, but I want to avoid loading additional elements for the player.

    What can a user do to achieve the same behavior as the slider element without using the slider?

    Thank you for your assistance.

    Best regards,

    ColinWalton
    Participant

    My website http://cands-seating.co.uk works perfectly on my Macs and iPhone, but the client says NONE of the images are displaying on this website on her Windows PC and presumably non Apple phone. Her clients are also saying they don’t display on their PCs either.

    I have tried deleting the cache with no solution. Also the Control Click – Load image which doesn’t work either.

    Other sites I have using enfold etc work perfectly. So it must be something to do with C&S Seating’s website.

    Hoping you can find the reason!

    Colin

    #1461607

    I’m not asking of Enfold Contact Form. That validation is easy.
    I need to make the phone number mandatory on the store’s form (WooCommerce). The setting used to be in the Customize menu, but with the new block checkout, the modification is done directly on the Checkout page. However, here’s the problem: the theme (?) forces the Checkout page to use the classic editor. How can I make the phone number field mandatory here?

    #1461603

    Hi Roel,

    Thank you for pointing at this.

    First I checked the database structure of WP post meta table.

    meta_key field is an index in my install (6.5.3). This means the query you show is a simple query against an index and this means that is a very fast query – even in a database that contains million of entries in a table.

    Please check with your hoster (datatbase hoster) why this query is so slow in your case. Could be your database is broken somehow or allocated memory is too small.

    Nevertheless I improved the query logic to remove it from frontend for next release 6.0.1.

    If you want to test the fixes please replace the 2 following files:

    ..\config-acf\class-avia-acf.php
    ..\config-templatebuilder\avia-template-builder\php\class-dynamic-content.php

    with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-acf/class-avia-acf.php
    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-templatebuilder/avia-template-builder/php/class-dynamic-content.php

    Best regards,
    Günter

    #1461601
    signumsrl
    Participant

    After updating WP to release 6.5.5 and Enfold to release 6.0 and WooCommerce to release 9.0.2, when I add an item to the cart, the cart is always empty.

    #1461586
    mdx11
    Participant

    Unfortunately, the Mega Menu does not work. I wanted to have two rows for the “Gemeinschaft” menu, but it keeps displaying all the items one below the other. I have tried to copy all the settings from a local copy of the Enfold theme. But somewhere I made a mistake.
    I use the Enfold-Child main menu as the main menu.
    In the submenus (test 1 and 2) I clicked on “This Column should start a new row”.

    What have I done wrong?
    Kind regards, Thomas

    #1461574
    beverlystone
    Participant

    I have an odd question that I’ve yet to find an answer for. We have two separate “sister” websites – one in English and one in French, both using Enfold.

    We’d like to figure out a way to include a “toggle” to go back and forth between matching pages, one being in English and the other in French. We don’t want to go back to using WPML as it was problematic.

    Someone suggested adding a widget or some shortcode element to each page and linking it manually. I really like the idea but don’t quite know the best way to pull it off.

    Do you have any suggestions or ideas for this?

    #1461562

    In reply to: Custom Fonts

    Hi,
    For iPad it looks like “calibri-cursiv-bold-new” is showing in the DOM, check your Enfold Theme Options ▸ Advanced Styling for the H1 heading and see if that font is selected. If you have more than one H1 style selected the one at the bottom may have the most specifically.

    Best regards,
    Mike

    lokita
    Participant

    Hello Enfold Team,
    I use a fullscreen slider on my Home page and want to change the image. Whatever image size and crop I use, it never shows up right. I looked at an old thread from 2015 about image sizes but that doesn’t fix it, either. The same applies to Featured Images. When I insert them into a blog post (classic editor) the images are but a slice of the entire image, regardless of what size my image is. What am I doing wrong? Please help.

    Many thanks and warm regards, Lokita

    #1461554

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
    	#top .av-burger-menu-main.menu-item-avia-special {
    		    left: -40%;
    }
    .html_visible_cart .cart_dropdown {
        right: 4%;
        z-index: 999 !important;
    }
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    You will need to disable the mega menu so the mega menu doesn’t show to the right and have the click issue.
    If you want to use the menu with the script and have the menu items open below then you can use the script.
    If you don’t like how the script works then you can remove it.
    There is not need to open a new thread for a 2 times drop down menu, you already have this one open.
    Unfortunately there I don’t find a solution, since this menu structure is not a option in the theme and seems to be more involved than I first thought, I recommend opening a feature request so the Dev Team can review adding this as a option.
    Since this is a duplicate thread it would be easier to keep all of the commentscomments in one thread

    Best regards,
    Mike

    Hi,
    The Dev Team has reviewed this and points out that the js file is loaded by WP and only links to the distributed file ../wp-includes/js/dist/vendor/wp-polyfill.js
    Enfold doesn’t hotlink to the polyfill.io site, so we will have to wait for WP to apply a patch for this issue as there are a lot of dependencies on wp-polyfill for the block editor and react js.
    We will close this thread, but the issue is open here if you wish to comment, thank you for your understanding and using Enfold.

    Best regards,
    Mike

    #1461540

    Hey Munford,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
      #footer > .container {
      display: flex; 
      flex-wrap: wrap; 
      }
      #footer > .container .av_one_third.first {
          order: 3; 
      }
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1461539

    Hey Ad-Min747,
    I assume that your user is not admin, so see the theme option at Enfold Theme Options ▸ Layout Builder ▸ Lock Advanced Layout Builder
    This removes the ability to move or delete existing template builder elements, or add new ones, for everyone who is not an administrator.
    Another option might be this function in your child theme functions.php file in Appearance ▸ Editor to hide the ALB button from anyone that is not admin.

    add_action('admin_head', function() {
    	if( !current_user_can('activate_plugins') ){
                ?>
                 <style>#avia-builder-button{ display: none; } </style>
                <?php
            }
    });

    Best regards,
    Mike

    #1461532

    Hey Jak73,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #socket > .container {
    	display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    Hey leloux,
    It is because you are using a custom script that I posted for you in another thread.because you wanted a drop down menu, I see now you have created a mega menu, this will not work, so you must disable it.
    Please see the last thread that you opened.
    I recommend removing the script and open a Feature Request for the drop down menu as in your last thread.

    Best regards,
    Mike

Viewing 30 results - 7,111 through 7,140 (of 244,420 total)