Viewing 30 results - 31 through 60 (of 7,470 total)
  • Author
    Search Results
  • #1489140
    Giuseppe
    Guest

    Hi, when I do a researche of ENFOLD THEME to google, there is a long list of provider of this theme, like the following:
    https://pluginwp.net/en/producto/enfold-responsive-multi-purpose-theme/
    https://www.etsy.com/es/listing/1890185624/tema-multiproposito-responsivo-enfold
    But when I check your page:

    You redirect to the follow page:
    https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?irgwc=1&clickid=0zk32HyqZxyKUhp3KYRHO1-gUkpwClz0N0aR3k0&iradid=275988&irpid=1236844&iradtype=ONLINE_TRACKING_LINK&irmptype=mediapartner&mp_value1=&utm_campaign=af_impact_radius_1236844&utm_medium=affiliate&utm_source=impact_radius

    Can you let me know the difference between buy your pluguin from themeforest instead from https://pluginwp.net or https://www.etsy.com ?
    Maybe the difference is:
    With themeforest updates are live time.
    With https://pluginwp.net or https://www.etsy.com to get updates I need suscribe to them every year?
    Waiting for your reply.
    Best regards.

    #1488939

    Topic: WEBSITE HACKED

    in forum Enfold
    nnn666nnn
    Participant

    Hi,
    One of my clients website ( http://www.fiveeyesprod.com) has been hacked.
    If you type the url in the address bar, you will arrive straight to the website (entertainment, events organisation etc.) but if, for exemple, you type ” five eyes production” in googl search it will show a website selling tshirts,etc.
    We have asked Wordfense to do a full audit of the website and they’ve confirmed that a malware was found.
    In the audid we have this, can you advise please ?

    Theme[s] require updating or are not actively maintained. One or more of your themes
    are not currently updated. You will need to update:
    !!! These themes have been delisted from the WordPress theme repository. This usually
    happens due to a violation of WordPress terms and represents a serious violation of trust
    or a major security issue. You will need to review them with their author to ensure you are
    using the most recent version with all security updates applied. If they are no longer
    supported, you should find an alternative.
    ● Enfold (enfold)
    !!! These themes are not in the WordPress theme repository. You will need to review them
    with their author to ensure you are using the most recent version with all security updates
    applied.
    ● PopularFX (home_1748011905)
    ● PopularFX (widget_area_1751636759)
    ● PopularFX (top-1747415981)

    I have to say that I use Enfold on most of my other clients websites and have never had any problems with it…
    In advance, thank you for your help.

    Best regards.

    #1488572
    Annedesign
    Participant

    Hi,

    I am looking into using structured data mark up / schema on my many Enfold sites. I can’t find up-to date info.

    Firstly, do I need to disable Enfold automatic schema as some searches say? (Can’t see the mentioned drop down option: Automated Schema.org HTML Markup). Or do anything in settings?

    Then I can easily add a plug in – do you have any recommended compatible plugins for Enfold?

    Thanks,
    Anne

    #1487894
    AndreasWinkler
    Participant

    Hello, I do not find the page “Screen options” (Appearance – Menu). Can you please explain where I can find it in the wordpress dashboard? I searched in all Enfold theme options…

    “Pages, Posts, Products, Tags, Custom Links, Categories and much more can be added to the menu items. First, enable the required boxes from the ‘Screen options’ on the top right of the Appearance > Menu page to be able to add them to the menu.”

    #1487787

    Hi,

    Thanks for the clarification. That is likely due to something in your content breaking the layout builder, like special characters or shortcodes. You could try to remove anything like that from the content to see when the problem starts again. You can activate debug mode under Enfold->Layout Builder->Show advanced options in order to display the builder shortcodes, then search and remove content that way.

    Best regards,
    Rikard

    #1487536

    Hey icarogioiosi,

    Thank you for the inquiry.

    You can add this css code to move the title to the right of the image, position it at the top, reduce the font size, remove the borders, and add space below each portfolio entry. Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings, then purge the cache after adding the modification.

    
    #top .isotope-item.special_av_fullwidth .inner-entry {
        text-align: left;
        display: flex;
        flex-direction: row-reverse;
    }
    
    #top .grid-entry .inner-entry {
        box-shadow: none;
    }
    
    #top .isotope-item.grid-entry {
        margin-bottom: 20px;
    }
    
    #top .isotope-item.special_av_fullwidth .av_table_col .entry-title {
        margin: 0 0 20px;
        font-size: 16px;
    }
    

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    #1487409

    ok – if you like to have on default a sidebar header – and on homepage only the header top position.
    ( for that scenario we need than a bit different css too if you like to have slide-out from left to right)

    1 set your enfold child to header top and make all your decisions you like to have for that header ( height, logo left or right, navigation position, shrink or not, etc pp )

    2 Go to your homepage editor and make your decision there – f.e. if it should have transparency etc.

    3 Look now to your homepage with dev tools of your browser. Note your ID of that page and look what classes are set on #header
    e.g.: ( all_colors header_color light_bg_color av_header_top av_logo_right av_main_nav_header av_menu_left av_custom av_header_sticky av_header_shrinking av_header_stretch av_mobile_menu_tablet av_header_searchicon av_header_unstick_top_disabled av_bottom_nav_disabled av_header_border_disabled )

    4 now switch back to your header left position.

    put this to your child-theme functions.php:

    (remove options you do not need – or replace – f.e. header_size and header_custom_size and replace by header_size: ‘slim’ / or large )
    you can find those corresponding header settings in : avia_header.php

    function av_change_header_style($header){
      if(is_page(array( 17, 123456))){ 
        $header['header_position']    = "header_top";
        $header['header_layout']      = 'logo_right main_nav_header menu_left';
        $header['header_size']        = 'custom';
        $header['header_custom_size'] =  140;
        $header['header_shrinking']   = 'header_shrinking';
        $header['header_sticky']      = 'header_sticky';
        $header['header_unstick_top']   = 'header_unstick_top';
        $header['header_stretch']     = 'header_stretch';
        $header['header_transparency']  = 'header_transparency header_glassy';
    
        $header['header_class'] = " all_colors header_color light_bg_color av_header_top av_logo_right av_main_nav_header av_menu_left av_custom av_header_sticky av_header_shrinking av_header_stretch av_mobile_menu_tablet av_header_searchicon av_header_unstick_top_disabled av_bottom_nav_disabled av_header_border_disabled";
      }
      return $header; 
    }
    add_filter('avf_header_setting_filter','av_change_header_style');

    here in this example there are two pages (ID’s) replaced with that different layout – adjust to your home page ID
    this filter has a lot more options. Enter on $header['header_class'] your noted classes from point 3.

    see example page: https://clean.webers-testseite.de/

    aintzerga
    Participant

    Hello,

    We need to create a page with the portfolio content and a side menu to search and filter the grid content.
    I’ve attached a screenshot of what we want to do in this download link: https://we.tl/t-n4UVsEjvWc

    This is the page you’re building, but we don’t know how to add a side menu for searching and filtering: https://limousin.eus/website2025/aaa-pruebas/

    What would the solution be with Enfold?

    Thank you.

    #1486498
    torture4
    Participant

    I’ve just switched my website to the new design, built under the Enfold Theme. Very happy with the result!

    However, I notice that the Google Site Map for the site (when it comes up in a Google search) is out of date, and still referencing the old site. So some of the links in the old site map are going to 404, because the structure of the new Enfold site has changed.

    Is Google Site Map refresh or config built into the Enfold Theme? If not, do you recommend either (a) a plugin that can update the sitemap file, or (b) a manual way to do it?

    Thanks, Nick

    ThiloKiefer
    Participant

    Hi Enfold Team,

    we’d like to get your feedback regarding the page structure and semantic markup used in our Enfold setup. An accessibility tool pointed out that our website lacks a <main> landmark, which is suboptimal in terms of both accessibility (screen reader navigation) and SEO.

    Observation:
    Currently, our page structure looks something like this:
    ——————-
    <div class=”main”>
    <!– content –>
    </div>
    ————–
    The accessibility tool reports that a semantic <main> element is missing, which is important for screen readers and search engines.

    Question:
    From your perspective, is there any reason not to change the markup to the following?
    ——————-
    <main class=”main”>
    <!– content –>
    </main>
    ———————
    Can you confirm whether this change is reasonable and compatible with Enfold, or is there anything we should be aware of before implementing it?

    Thanks in advance,

    #1486399

    Topic: Favicon Not Appearing

    in forum Enfold
    aron8778
    Participant

    HI Guys,

    I have tried to get this Favicon indexed for weeks, it is currently uploaded to appearance > customise area but also tried the Favicon in the Enfold settings and getting no joy whatsoever.

    Can anyone advise please?

    It displays when I am logged in but when and logged out in incognito but its not being picked up with Google

    https://www.google.com/search?q=site%3Abanburyroofingandpaving.co.uk&oq=site%3Abanburyroofingandpaving.co.uk&gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARBFGDrSAQc5MjNqMGo0qAIAsAIA&sourceid=chrome&ie=UTF-8

    #1486301

    Hi,

    Thank you for the update.

    1.) Try adjusting the top margin of the button layer.

    2.) Apply a minimum height to one of the main layers, or go to Project Settings > Layout > Layout Settings > Canvas Height and adjust the value.

    3.) Apply a Custom CSS Class name to the element and replace the generic selector with it. You can follow this guide: https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    #1486243

    Topic: Focusable elements

    in forum Enfold
    Biggy
    Participant

    Hi,
    the topic of accessibility is currently on our minds. We actually have it well under control, and the Enfold theme is exemplary in this regard. Currently, we’re working on focusable elements, such as buttons that indicate the action behind them when hovered over. If you only use the keyboard, this change in the button color isn’t visible. This leads to complaints. Do you have any ideas how to solve this? This also applies to links or searches…basically, every interaction!

    Regards

    WPDESIGNER
    Participant

    Hello Enfold Support Team,

    I am trying to change the default cropped size of my featured images on single blog posts to a proper 16:9 aspect ratio, so that my 1280x720px images are displayed in full without any cropping.

    I have tried two different PHP-based methods based on my research, but neither has worked on my local server environment (so caching should not be the issue).

    Method 1: Modifying Existing Sizes

    First, I tried to modify the existing theme sizes using the avf_modify_thumb_size filter. This was the code I used in my child theme’s functions.php (respectively in a Code Snippet Plugin):

    function enfold_definitive_image_ratio_fix( $size_array ) {
        $size_array['entry_without_sidebar'] = array('width' => 1210, 'height' => 681);
        $size_array['entry_with_sidebar'] = array('width' => 845, 'height' => 475);
        return $size_array;
    }
    add_filter( 'avf_modify_thumb_size', 'enfold_definitive_image_ratio_fix', 10, 1 );

    When this code is active, the “Regenerate Thumbnails” page still shows the old default dimensions (e.g., 1210×423), so the filter does not seem to be applying correctly.

    Method 2: Registering a New Size and Forcing its Use

    As an alternative, I also tried registering a brand new 16:9 image size (custom-16-9-hero) and then used the avf_post_featured_image_size filter to force the theme to use it. Here is the code for that attempt:

    function enfold_add_custom_image_sizes() {
        add_image_size( 'custom-16-9-hero', 1280, 720, true );
    }
    add_action( 'after_setup_theme', 'enfold_add_custom_image_sizes' );
    
    function enfold_use_custom_featured_image_size( $size ) {
        if ( is_singular('post') ) {
            return 'custom-16-9-hero';
        }
        return $size;
    }
    add_filter( 'avf_post_featured_image_size', 'enfold_use_custom_featured_image_size', 10, 1 );

    With this method, the “Regenerate Thumbnails” plugin does show my new custom-16-9-hero – 1280 x 720 size and creates the files correctly after regenerating. However, the theme’s single post template still ignores the filter and continues to display the old default cropped image.

    My question is:

    In the latest version of Enfold, what is the definitive and correct method to ensure the featured image on a single post page is displayed at a custom 16:9 ratio?

    Thank you very much for your help.

    Kind regards,
    David

    #1485950
    jugalbandi3
    Participant

    Hi,

    We observed duplicate id-attributes in the mobile menu (hamburger-menu), similar to what is described in

    This came up when trying to check and optimize website-compatiblity for screenreaders. Nodes of the main menu are copied over to the hamburger-menu. svg-icons (for the search) contain id-attributes which simply get duplicated – but obviously need to be transformed to become unique again.

    A modification of this copy-behaviour would for example be possible in
    wp-content/themes/enfold/js/avia-snippet-hamburger-menu.js
    in function normalize_layout().

    Quick-and-dirty code for those replacements:
    There was:
    var menu2 = $(‘#header .main_menu’).clone(true),
    ul = menu2.find(‘ul.av-main-nav’),
    id = ul.attr(‘id’);

    We then added lines to search for the corresponding nodes in the HTML with jQuery and make replacements for all hits. ‘-hamburger’ is appended to the IDs.

    var toChange;
    toChange = menu2.find(‘[id^=av-svg-desc-‘);
    toChange.each(function() {
    $(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[id^=av-svg-title-‘);
    toChange.each(function() {
    $(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[aria-labelledby^=av-svg-title-‘);
    toChange.each(function() {
    $(this).attr(‘aria-labelledby’, $(this).attr(‘aria-labelledby’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[aria-describedby^=av-svg-desc-‘);
    toChange.each(function() {
    $(this).attr(‘aria-describedby’, $(this).attr(‘aria-describedby’) + ‘-hamburger’);
    });

    It’s quite an edge case, but could potentially irritate a screen reader.

    #1485615

    Hi,

    However, I believe there may have been a misunderstanding regarding the issue. The problem is not with the icon itself or its aria-hidden attribute, but with the structure and function of the link that wraps the icon.

    If we’re not mistaken, the issue occurs because the SVG icon includes the aria-hidden attribute, which makes it unreadable to accessibility tools. As a result, the parent link is marked as “suspicious” since the icon is hidden and the link lacks any accessible text or description. The span avia_hidden_link_text, which contains the word “Search” also has its display property set to none, making it inaccessible to screen readers as well.

    Removing the aria-hidden attribute from the SVG icon or adjusting the visibility of the avia_hidden_link_text should help.

    #top .avia_hidden_link_text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    You can also try editing the enfold/includes/config-enfold/functions-enfold.php, around line 125, change the text “Search” to “Click here to search”.

    $items .=			'<span class="avia_hidden_link_text">' . __( 'Click Here to Search', 'avia_framework' ) . '</span>';
    

    According to https://wave.webaim.org/, screen readers tend to better interpret buttons or links when it contains more descriptive text.

    View post on imgur.com

    If this doesn’t help, you can always try the suggestions above.

    Let us know the result.

    Best regards,
    Ismael

    #1485564

    by the way – it is nice to have an embedded tab navigation now on Enfold – but to prevent that mouse events do show the focus setting – it might be better to go to the focus-visible or focus-within setting. These rulesets do not influence the click or hover states of links / buttons etc.

    f.e. :

    
    #menu-item-search a.avia-svg-icon:focus {
      outline: none !important;
    }
    #menu-item-search a.avia-svg-icon:focus-visible > svg {
      outline: 3px solid red !important;
      outline-offset: 5px;
    }

    now we got the ugly outline by navigation with mouse !
    you can see here a manually set tab navigation with only focus-visible settings. Click a link to see that the states are not influenced.
    https://guenterweber.com/

    #1485520

    Hey mosaic,

    Enfold is not responsible for what displayed in search engine result pages. If you have made recent changes, then you would have to wait for a few days at least, if not weeks. You could also ask the search engine in question to crawl your site again.

    Best regards,
    Rikard

    #1485459

    Hi,
    I have researched this and while there is a long technical explanation for why the WAVE test tool is flagging this, I found a solution in my research. Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function remove_link_from_search_icon_and_add_it_back_on_click() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function() {
        const searchLink = document.querySelector('#menu-item-search a');
        if (searchLink) {
            // Store the original href
            const originalHref = searchLink.getAttribute('href');
            // Remove the href on page load
            searchLink.removeAttribute('href');
            
            // Add click event to restore href
            searchLink.addEventListener('click', function() {
                if (!searchLink.getAttribute('href')) {
                    searchLink.setAttribute('href', originalHref);
                }
            });
        }
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'remove_link_from_search_icon_and_add_it_back_on_click', 99 );

    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the above code and save.
    I tested this on the WAVE Web Accessibility Evaluation Tool and it removed the error.

    Best regards,
    Mike

    #1485406

    Hi,

    Thank you for the update.

    What happens when you edit line 120 of the enfold\includes\config-enfold\functions-enfold.php file?

    $icon = avia_font_manager::get_frontend_icon( 'svg__search', false, [ 'aria-hidden' => 'true', 'title' => $title, 'desc' => $title ] );
    

    Try to set aria-hidden to false:

    $icon = avia_font_manager::get_frontend_icon( 'svg__search', false, [ 'aria-hidden' => 'false', 'title' => $title, 'desc' => $title ] );
    

    Or remove the attributes completely.

    $icon = avia_font_manager::get_frontend_icon( 'svg__search', false, [ ] );
    

    Let us know the result.

    Best regards,
    Ismael

    #1485352
    DianaLoola73
    Participant

    Dear Enfold Support Team,

    I’m working on making my website more accessible:
    https://www.schlosswirtschaft-schwaige.de
    I’m using the built-in search icon in the main menu (top right), enabled via the Enfold settings.
    However, accessibility tools (like WAVE) report two problems:
    – The search icon has no accessible label (aria-label or similar).
    – It’s also flagged as a “suspicious link”.
    Could you please tell me the best way to solve this so it meets accessibility standards (WCAG)?
    Thank you very much for your help!

    Best regards, Diana

    #1485207

    on default there are allready these lines : https://kriesi.at/themes/enfold/portfolio/

    maybe you set it to display: none ? search for selector .avia-menu-fx

    you then can influence by – f.e.:

    #top .header_color .avia-menu-fx {
      height: 4px
    }
    
    #top .header_color.av_header_transparency .menu-item a:hover .avia-menu-fx {
      background: red
    }
    
    #top .header_color:not(.av_header_transparency) .avia-menu-fx {
      background: green
    }
    bbarasa
    Participant

    I thought this would be simple for me to figure out, but it is not.

    My CSS skills are limited and when I view the code (in my browser) I can’t tell which classes I should use to format certain specific things.

    On this page:
    https://2p4twjkbl5.papa-view.com/

    I would like to have a black gradient behind the white text and also be able to format the text. I’ve tried a few CSS things which haven’t worked.

    I’ve searched the forum in as many ways as i can think of, have watched youtube videos about Enfold and of course started with Enfold documentation. Enfold is a great theme, but I cannot find a way to do these simple things.

    Any help or pointing me to resources would be appreciated.

    #1485143

    Hi Ismael

    This is my the Advanced Styling Menu setting:

    View post on imgur.com

    With the old Enfold, it works fine, the search icon appears correctly and the link works properly.
    In new versions of Enfold (7.x.x), however, the search icon is not displayed.

    Best regards,
    Oriano

    • This reply was modified 7 months, 1 week ago by orianos.
    #1485066
    orianos
    Participant

    After update Enfold, the Search Icon To Main Menu does not appear in a site with “Stretched Or Boxed Layout: Boxed Layout; Logo And Main Menu: Top Header”.

    Please see Private Content

    Best regards,
    Oriano

    #1485018
    Winston Wright
    Guest

    Hi, I am seeking to build a new website and I really like your Enfold themes.
    I just wanted to ask two questions;
    1.) it is possible for me to leave off/remove some of the sections on a page? If you look at the medical demo, and the law demo, when the page loads, they have statistics calculate, such as 25 Million $, Research Budget 255.000 Patients healed 212 Doctors working for you 125 Years of experience
    And I would like to remove that.
    And I would also like to remove Meet the Team/Team, as I do not have a team.
    Is this possible?
    2.) I would also like to use the following plugin for my site; ProfilePress profilepress.com it’s a word press plugin to allow people to come to the site and make a profile.
    Would Enfold allow this plugin?

    #1484899

    Hey syberknight-tb,
    Unfortunately, we don’t have an element that will achieve this for you in the theme, while there are many plugins that may work for you, when I check some of them they don’t quite match, but if you spend more time testing each one you may find one.
    I was able to create something that may work for you using javascript and HTML in a shortcode, on mobile it shows 1 1/2 team member cards with prev & next arrows and loop when you click to the end:
    Screen Shot 2025 05 31 at 9.41.31 AM
    on tablet it shows 2 1/2 cards:
    Screen Shot 2025 05 31 at 9.43.47 AM
    and on desktop it shows 3 1/2 cards:
    Screen Shot 2025 05 31 at 9.45.40 AM
    As is it holds 8 cards, you can add more or have less, you will need to edit the HTML to add your images and text, hopefully you will be able to do this:
    Screen Shot 2025 05 31 at 9.50.45 AM
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor, If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the code below and save.

    function team_carousel_shortcode() {
        ob_start(); ?>
        
        <div class="carousel-container">
            <button id="prevBtn">←</button>
            <div class="carousel">
                <div class="carousel-track">
                    <!-- START: Team Members -->
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 1"><p>Member 1<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 2"><p>Member 2<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 3"><p>Member 3<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 4"><p>Member 4<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 5"><p>Member 5<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 6"><p>Member 6<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 7"><p>Member 7<br>A short bio for the team member</p></div>
            <div class="card"> <img src="/people-2-2-300x300.jpg" alt="Member 8"><p>Member 8<br>A short bio for the team member</p></div>
            <!-- END: Team Members -->
                </div>
            </div>
            <button id="nextBtn">→</button>
        </div>
    
        <style>
        .carousel-container {
            position: relative;
            width: 80%;
            overflow: visible;
            margin: auto;
        }
    
        .carousel {
            overflow: hidden;
            width: 100%;
        }
    
        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
    
        .card {
            box-sizing: border-box;
            padding: 10px;
            background: #e8e8e8;
            margin: 5px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
    
        @media only screen and (max-width: 767px) { 
            .card { flex: 0 0 62%; }
        }
    
        @media only screen and (min-width: 768px) and (max-width: 1800px) { 
            .card { flex: 0 0 38%; }
        }
    
        @media only screen and (min-width: 1801px) { 
            .card { flex: 0 0 28%; }
        }
    
        .card p {
            color: #000;
         }
    	.card img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 100%;
        }
    
        #nextBtn, #prevBtn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #000;
            border: 2px solid #000;
            padding: 10px;
            cursor: pointer;
            z-index: 10;
        }
    
        #prevBtn { left: -50px; }
        #nextBtn { right: -50px; }
        </style>
    
        <script>
        document.addEventListener('DOMContentLoaded', function () {
            const track = document.querySelector('.carousel-track');
            const cards = document.querySelectorAll('.card');
            const prevBtn = document.getElementById('prevBtn');
            const nextBtn = document.getElementById('nextBtn');
    
            let currentIndex = 0;
            let cardWidth = cards[0].offsetWidth + 20;
    
            function updateCarousel() {
                const shift = currentIndex * cardWidth;
                track.style.transform = translateX(-${shift}px);
            }
    
            function moveToNext() {
                currentIndex++;
                if (currentIndex >= cards.length) {
                    currentIndex = 0;
                }
                updateCarousel();
            }
    
            function moveToPrev() {
                currentIndex--;
                if (currentIndex < 0) {
                    currentIndex = cards.length - 1;
                }
                updateCarousel();
            }
    
            nextBtn.addEventListener('click', moveToNext);
            prevBtn.addEventListener('click', moveToPrev);
    
            window.addEventListener('resize', () => {
                cardWidth = cards[0].offsetWidth + 20;
                updateCarousel();
            });
        });
        </script>
    
        <?php
        return do_shortcode(ob_get_clean());
    }
    add_shortcode('team_carousel', 'team_carousel_shortcode');

    Then add this shortcode in a code block element on your page: [team_carousel]
    Feel free to adjust the colors in the css in the code.

    Best regards,
    Mike

    #1484538
    NicomIT
    Participant

    I am getting a flood of deprecation warnings in my error_log file and it is slowing down our server’s performance, especially noticeable when editing posts and pages.

    It appears the offending functions are:
    av_icon_char
    av_icon_class
    av_icon_string

    I cannot find information on what the correct replacements are. Is this something you can help me with?

    Here are some samples of how we are currently using these functions.

    av_icon_char
    $icon = av_icon_char( ‘search’ );

    av_icon_string
    $class = av_icon_class( ‘search’ );

    av_icon_string
    ‘ id=’scroll-top-link’ <?php echo av_icon_string(‘scrolltop’); ?>><span class=”avia_hidden_link_text”><?php _e(‘Scroll to top’, ‘avia_framework’);?></span>

    Here are some examples from the error_log file:

    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_char is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_class is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_char is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121
    [21-May-2025 18:26:12 UTC] PHP Deprecated: Function av_icon_class is deprecated since version 7.0! Use No longer used by Enfold instead. in /home/maritimetravel/public_html/wp-includes/functions.php on line 6121

    Our error_log file grows about 200 MB per day.

    Can you please direct me on how we can update our child theme to address these deprecation warnings?

    #1484171
    webdesignphx
    Participant

    Hey Guys
    I get the message:
    Could not connect to Google Maps with this API Key.
    Troubleshooting:
    Check if you typed the key correctly.
    If you use the restriction setting on Google try to remove that, wait a few minutes for google to apply your changes and then check again if the key works here. If it does, you probably have a syntax error in your referrer url
    If none of this helps: deactivate all plugins and then check if the API works by using the button above. If thats the case then one of your plugins is interfering.

    I disabled all the plugins, and I also set up a new api key, I also unrestricted the key for a while, but then restricted it again.
    the google account is active and working. I have 50 other keys that don’t have any issues.

    I did a research and found that I can put the script:
    <script async defer
    src=”https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY&callback=initMap”&gt;
    </script>
    directly into the body code.. I use perfmatters for this.. and it is working now. but there must be something else wrong why enfold won’t let me place it.
    My way is not as elegant as putting it into the google services page in enfold.
    Thanks so much for helping me.
    Tina

    Hi Ismael,

    The search element inclusion in the header worked out great. The full width menu shadow however didn’t turned out right, please see the shared link once more. The CSS snippet basically made the page full with (which indeed push the shadow from edge to edge. However I do would like to keep the container 1340px width and not force the website full screen.

    If you zoom out on the page you can see that the full width effect is kept. Is there a way to keep the website within the 1340px container but do keep the menu bar background effect (top shadow) full width? I will drop another Enfold project where this is the case (no custom header however)

    Kind Regards,
    S

Viewing 30 results - 31 through 60 (of 7,470 total)