Forum Replies Created

Viewing 30 posts - 901 through 930 (of 33,332 total)
  • Author
    Posts
  • Hi,
    Please provide a admin login so we can take a look.

    Best regards,
    Mike

    in reply to: 2 time click on left side bar menu #1461550

    Hi,
    This is because of the script that was added, please see this thread.

    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

    in reply to: Custom Fonts #1461544

    Hi,
    Thank you for the link to your site, I see the in inspector for Safari the font that is showing says it is “calibri” while it doesn’t look correct, and I can’t find any conflicts.
    When I text in Chrome & Firefox on the Mac the correct “calibri” is shown. As I researched online I see a lot of posts for “Safari not showing calibri font” as this seems to be a issue that others are having.
    I have asked the rest of the team if they have any ideas, Thank you for your patience.

    Best regards,
    Mike

    in reply to: swap widgets in footer on mobile #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

    in reply to: Possible to deactivate ALB for Author? #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

    in reply to: Socket menue on left side #1461537

    Hi,
    Your screenshot looks like the socket is full width, but your site is smaller, so I recommend making the area full width and making the font smaller so there is enough room.

    .responsive #socket > .container {
        max-width: 100%;
        font-size: 18px;
    }
    #socket .copyright {
        float: right;
        padding-left: 20px;
        line-height: 24px;
    }

    and then move the “title” on the right side over some in the css for it, currently you have:

    #footer-title {
        font-size: 38px;
        font-family: zen-kaku-gothic-new;
        color: #000;
        font-weight: bold;
        float: right;
        top: -38px;
        position: relative;
        left: -15%;
    }

    change to:

    #footer-title {
        font-size: 38px;
        font-family: zen-kaku-gothic-new;
        color: #000;
        font-weight: bold;
        float: right;
        top: -38px;
        position: relative;
        left: -5%;
    }

    Best regards,
    Mike

    in reply to: HEAD request for .webm and .ogv fallbacks #1461536

    Hi,
    Thank you for your patience, I have tried to reproduce this error with a self-hosted mp4 on my test site and I checked my Apache log, but unfortunately I only see the .mp4 video file type and the .jpg thumbnail for the .mp4
    I tried to create a function to add to your child theme functions.php to change this anyways, I can’t confirm that it will work for you, but adding it didn’t brake my video element, so please give this a try and see if it helps.

    if (!function_exists('custom_avia_html5_video_embed')) {
        function custom_avia_html5_video_embed( $video, $image = '', $types = array( 'mp4' => 'type="video/mp4"' ), $attributes = array( 'autoplay' => 0, 'loop' => 1, 'preload' => '', 'muted' => '', 'controls' => ''  ) ) {
            $html5_files = array();
            $path = $video;
    
            if( ! empty( $video ) && is_array( $video ) )
            {
                $html5_files = array_filter($video, function($ext) {
                    return $ext === 'mp4';
                }, ARRAY_FILTER_USE_KEY);
                $path = reset( $html5_files );
            }
    
            $path_split = array();
            preg_match( "!^(.+?)(?:\\.([^.]+))?$!", $path, $path_split );
    
            $output = '';
            if( isset( $path_split[1] ) )
            {
                if( ! $image && avia_is_200( $path_split[1] . '.jpg' ) )
                {
                    $image = 'poster="' . $path_split[1] . '.jpg"'; // poster image isn't accepted by the player currently, waiting for bugfix
                }
                else if( $image )
                {
                    $image = 'poster="' . $image . '"';
                }
    
                $autoplay = $attributes['autoplay'] == 1 ? 'autoplay' : '';
    
                if( ! empty( $autoplay ) )
                {
                    $autoplay = apply_filters( 'avf_html5_autoplay_mobile', "{$autoplay} playsinline", $video, $attributes );
                }
    
                $loop = $attributes['loop'] == 1 ? 'loop' : '';
                $muted = $attributes['muted'] == 1 ? 'muted' : '';
                $controls = $attributes['controls'] == 1 ? 'controls' : '';
    
                if( ! empty( $attributes['preload'] ) )
                {
                    $metadata = 'preload="' . $attributes['preload'] . '"';
                }
                else
                {
                    $metadata = $attributes['loop'] == 1 ? 'preload="metadata"' : 'preload="auto"';
                }
    
                $uid = 'player_' . get_the_ID() . '_' . mt_rand() . '_' . mt_rand();
    
                $output .= "<video class='avia_video' {$image} {$autoplay} {$loop} {$metadata} {$muted} {$controls} id='{$uid}'>";
    
                if( empty( $html5_files ) )
                {
                    if( $path_split[2] == 'mp4' || avia_is_200( $path_split[1] . '.mp4' ) )
                    {
                        $output .= '<source src="' . $path_split[1] . '.mp4" type="video/mp4" />';
                    }
                }
                else
                {
                    foreach( $html5_files as $ext => $source )
                    {
                        $html_type = ! empty( $types[ $ext ] ) ? $types[ $ext ] : '';
                        $output .= "<source src='{$source}' {$html_type} />";
                    }
                }
    
                $output .= '</video>';
            }
    
            return $output;
        }
    }
    
    // Remove the original function and replace it with the custom function
    remove_action('avia_html5_video_embed', 'avia_html5_video_embed');
    add_action('avia_html5_video_embed', 'custom_avia_html5_video_embed');
    

    If this doesn’t help try to modify the function-set-avia-frontend.php starting at line 960 to match the above and see if manually changing it helps.
    If it does then great, but the the function-set-avia-frontend.php file can not be overwritten in a child theme so after each update you will need to modify, I’m hoping the above will work for you in your child theme functions.php file.

    Best regards,
    Mike

    in reply to: Socket menue on left side #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

    in reply to: 2 times drop down menu in left side bar menu #1461531

    Hi,
    Please see this thread that I offered to change sub menu items in sidebar menu to drop down, and from this they are asking to create a second level drop down like in the mobile menu.

    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

    in reply to: Non-uniform layout for multiple paragraphs in tables #1461505

    Hey reqonsult,
    Thank you for the link to your site, this is because the first paragraph is in the “td” and the others are in a “p” which has more specialty.
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top .all_colors td p {
        font-size: 13px;
        font-weight: 400;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Topics without underlines II #1461504

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

    #top #aufeinenblick .av_textblock_section a {
        text-decoration: none;
    }

    this section is different, for the last solution you were using icons, now you are using h4 text links, I offered the solution to not interfere with other elements.
    If you don’t want any links anywhere to be underlined try this css:

    #top #wrap_all #main a {
        text-decoration: none;
    }

    Best regards,
    Mike

    in reply to: 2 times drop down menu in left side bar menu #1461502

    Hi,
    Well I don’t know, leloux really wants a sidebar header menu like this:
    Enfold Support 6265
    and this menu doesn’t behave the same as a burger menu, and I have not found a way to do this. If you have an idea how to do this that would be great.
    I don’t understand your example because it doesn’t display like a sidebar header menu, perhap you call the menu in the screenshot something else and I’m not explaining well.

    Best regards,
    Mike

    in reply to: 2 times drop down menu in left side bar menu #1461499

    Hi,
    That is a good idea Guenni007, but I’m not sure how the burger menu could replace the sidebar header menu, I don’t think that forcing the burger menu to always be open would be the same design. Do you have an idea the replace the menu with the burger menu, maybe like this?

    function av_different_menu( $args = '' ) {
      if($args['theme_location'] === 'avia2') {
          $args['menu'] = '11';
      } 
      return $args;
      }
    add_filter( 'wp_nav_menu_args', 'av_different_menu' );

    Best regards,
    Mike

    in reply to: Cookie information for an accessible website #1461498

    Hi,
    Glad to hear that you are now seeing the cookies, I checked with Windows in Chrome, Firefox, & Edge and the cookies showed in all three after accepting them.
    Please note that if you or your client is using a adblocker it is possible that the cookie button will not show, or will block the cookies completely, some browsers consider this a benefit, and if the user doesn’t click the buttoms the cookies will not be added. We will leave this open to hear back from you.

    Best regards,
    Mike

    in reply to: Remove space above logo and menue / add a line below #1461496

    Hi,
    Glad we were able to help, 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

    Hey clbdcnpafe,
    Thank you for your patience, for your video gallery, when the page is loaded the element has the javascript disabled, typically this is due to a lazyload plugin, please disable your lazyload plugin and then check again. If this helps try reviewing the plugin options as it may have an option to enable the javascript whild the plugin is enabled.
    Please note that the lazyload plugin may be in your JetPack plugin, so also try disabling it.
    I was not able to see your second issue, but this could also be from the lazyload, or a different plugin.
    I see that you have a plugin called wp-gallery-custom-links is this what you are using for the video gallery links?

    Best regards,
    Mike

    Hi,
    Unfortunately I have not found any working solutions for this, but if you would like to request this feature the Dev Team has opened a new Github Feature Request for users to place requests and follow them as the Dev Team reviews them.

    Best regards,
    Mike

    in reply to: Form – message sent display #1461492

    Hi,
    Thank you for your patience, yry adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function center_the_contact_form_ajax_response_after_the_submit_button_is_clicked() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function () {
        var buttons = document.querySelectorAll(".button.av-verify-recaptcha-0.av-recaptcha-submit");
    
        buttons.forEach(function(button) {
            button.addEventListener("click", function(event) {
                setTimeout(function() {
                    var resultElement = document.getElementById("result_ajax_response_1");
                    if (resultElement) {
                        resultElement.style.display = 'block'; 
                        var elementRect = resultElement.getBoundingClientRect();
                        var absoluteElementTop = elementRect.top + window.pageYOffset;
                        var middle = absoluteElementTop - (window.innerHeight / 2);
    
                        window.scrollTo({
                            top: middle,
                            behavior: 'smooth'
                        });
                    }
                }, 7000);
            });
        });
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'center_the_contact_form_ajax_response_after_the_submit_button_is_clicked', 99 );

    This will center the contact form ajax response after the submit button is clicked, in my tests the time can be between 5 – 7 seconds while the recaptcha checks before the ajax response is shown. Some of this could be because I’m in a different country, so give this a try and adjust the 7000 at the end of the script to 5000 or 6000 to see what works best for you.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    in reply to: Remove space above logo and menue / add a line below #1461491

    Hi,
    It looks like you removed the transparent header from the homepage, so now when you scroll down the header is is transparent and doesn’t become solid white, are you sure this is what you want?
    Earlier the homepage used the transparent header so when you scrolled the header become solid white, I recommend going back to this and then make your other page the same.
    I don’t understand the why you would add the custom classes.

    Best regards,
    Mike

    in reply to: 2 times drop down menu in left side bar menu #1461489

    Hey leloux,
    Thank you for your patience, but I didn’t find a way to achieve this, since this menu structure is not a option in the theme it will more involved.
    If you would like to request this feature the Dev Team has opened a new Github Feature Request for users to place requests like this and follow them as the Dev Team reviews them.

    Best regards,
    Mike

    in reply to: Custom Fonts #1461488

    Hi,
    Please try disabling the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and any caching plugin that you may be using, then clear your cache a few times and check, If this doesn’t help keep these disabled and include a admin login in the Private Content area so we can examine.
    This seems to only occur in Safari, I also checked with Mac Chrome, Firefox & Windows in Chrome, Firefox, & Edge in which the font error doesn’t occur.
    It looks like the css rules are missing the closing semicolons which many caching plugins will remove and most browsers will self correct, but is this case it looks like Safari is having trouble.

    Best regards,
    Mike

    in reply to: HTML characters broken in accordion title #1461486

    Hi,
    Glad Günter and Guenni007 could help you sort this out, thank you Guenni007, 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

    in reply to: Remove space above logo and menue / add a line below #1461484

    Hi,
    It looks like you are using different layouts for the pages, your homepage has a transparent header, but the other page doesn’t. Please use the same layout for both so they will behave the same. When the transparent header is used the header changes on scroll, your other page will not have this.

    Best regards,
    Mike

    Hi,
    Glad Guenni007 could help, thank you Guenni007, shall we close this thread then?

    Best regards,
    Mike

    in reply to: Remove space above logo and menue / add a line below #1461480

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

    #header .inner-container {
        border-bottom: 1px solid #000;
    }
    #header_main .inner-container {
        height: 70%;
    }
    #header_main nav.main_menu {
        bottom: 0;
    }
    #main .container_wrap_first .av-special-heading {
    	margin-top: 0;
    }

    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.
    Please see the screenshot in the Private Content area of the expected results.

    Best regards,
    Mike

    Hi,
    It looks like Günter has answered your question, thank you Günter, shall we close this thread then?

    Best regards,
    Mike

    in reply to: Enfold 6.0 slows down websites #1461478

    Hey Roel,
    Thanks for your question, but I’m not able to reproduce this on my demo site, please try disabling all of your plugins and any custom files such as a custom header.php or footer.php in your child theme, or any customized elements that you have created. If you still find the error please explain how we can reproduce this in a new support thread, because using the contact form is not appropriate for support questions, please log in to the support forum and open a new thread.
    If you are unable to login to the support forum because you don’t have a activate support contract, please try going to your Theme Forest account and renew your support and then log in to the support forum and open a new thread.

    Best regards,
    Mike

Viewing 30 posts - 901 through 930 (of 33,332 total)