Forum Replies Created

Viewing 30 posts - 5,131 through 5,160 (of 34,704 total)
  • Author
    Posts
  • Hi,
    Ok, since I can’t think of anything else to change here, shall we close this thread then?

    Best regards,
    Mike

    in reply to: Anchor link from header link to a Slider Revolution slider #1423147

    Hi,
    Thanks for your patience, I tested this javascript in your child theme functions.php to slow down the jump to any hash ID, such as your ‘service’ anchor to give the page time to load all of the elements, and then slowly scroll to the ID instead of jumping to it.

    function custom_slow_scroll_to_anchor_script() { ?>
      <script>
    function slowScrollToAnchor() {
      var urlHash = window.location.hash;
      if (urlHash) {
        var target = document.querySelector(urlHash);
        if (target) {
          var targetPosition = target.offsetTop;
          var startPosition = window.pageYOffset;
          var distance = targetPosition - startPosition;
          var duration = 2000;
          var startTime = null;
    
          function scrollAnimation(currentTime) {
            if (startTime === null) startTime = currentTime;
    
            var timeElapsed = currentTime - startTime;
            var scrollY = easeInOutQuad(timeElapsed, startPosition, distance, duration);
            window.scrollTo(0, scrollY);
    
            if (timeElapsed < duration) {
              requestAnimationFrame(scrollAnimation);
            }
          }
          function easeInOutQuad(t, b, c, d) {
            t /= d / 2;
            if (t < 1) return c / 2 * t * t + b;
            t--;
            return -c / 2 * (t * (t - 2) - 1) + b;
          }
    
          requestAnimationFrame(scrollAnimation);
        }
      }
    }
    window.addEventListener('load', slowScrollToAnchor);
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_slow_scroll_to_anchor_script', 99);

    This worked in my tests, please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    Thanks for the link to the report, I see the images that are Defer Off-screen Images are blank, so it would seem that the lazy loading is working, the space where the images will be need to have their height & width in the page and thus be blank otherwise you will get dinged on the Cumulative Layout Shift which you have a very good score on right now:
    Enfold_Support_3734.jpeg
    I’m not sure what other option there would be.

    Best regards,
    Mike

    in reply to: Malware found in files #1422998

    Hi,
    I see that your max_execution_time is still zero, did you ask your webhost why you are getting a 500 server error? Unfortunately we can’t solve server errors, but perhaps asking your webhost for assistance will help.
    Earlier you wrote that your hosting service it told you that it found 16 files which are infested with malware, did you try using your server backup to roll back a a version before the malware? If your site still has malware, I would recommend hiring a malware removal service, we don’t have any experience with malware removal.

    Best regards,
    Mike

    in reply to: Table Width On Enfold #1422895

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

    #top.home .avia-table {
        width: auto;
    }

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

    Best regards,
    Mike

    in reply to: Instagram icon – code #1422894

    Hi,
    Try opening the icon element and then hover over the icons that you like, as in the screenshots above, the icon code will show as a title popup.

    Best regards,
    Mike

    Hi,
    Thanks, please clear your browser cache and check your site now.

    Best regards,
    Mike

    in reply to: Change color and form of bullet points #1422825

    Hi,
    It sounds like you have an un-closed bracket in your css, so some other css error, try checking you css in a CSS Validator, this could help you find and fix the error.
    Otherwise, include an admin login in the Private Content area so we can check.

    Best regards,
    Mike

    in reply to: Background image in Color Section not always working #1422824

    Hi,

    Perhaps if you find that this helps and there is a pattern to most of your pages we can make some recommendations, for example, if it is always the first color section on a page you could try this css:

    #top.page #av_section_1 .av-parallax-inner.alternate_color {
    	background-color: #000;
    }

    note the #top.page #av_section_1 this might help your team resolve this for most of the pages if not all.

    Best regards,
    Mike

    in reply to: Blog Author Not Changing #1422732

    Hi,
    Thanks for the video, when I test on my site I don’t have any issue with changing the author for the post as you are in your video, but I’m not using a plugin to create a CPT.
    Try checking if you cange the author in the “quick edit” author field if the correct author then shows:
    Enfold_Support_3732.jpeg
    If this doesn’t help, try checking with a standard post type, perhaps it is the way that the plugin creates the CPT?

    Best regards,
    Mike

    in reply to: Instagram icon – code #1422728

    Hi,
    Ok, I see two choices:
    Enfold_Support_3726.jpeg
    Enfold_Support_3728.jpeg
    perhaps that is the one you want.

    Best regards,
    Mike

    in reply to: Change Main Menu Hover #1422727

    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

    in reply to: Demo Import does not work #1422726

    Hi,
    Glad to hear that you have this sorted out, 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: font preoladed #1422695

    Hey edolmen,
    Thank you for the link to your site, but I’m not seeing this font error:
    Enfold_Support_3724.jpeg
    Perhaps it is in your CDN, I checked from the USA, so if you are in Europe and still see this try clearing your CDN and wait a few hours before checking again.

    Best regards,
    Mike

    in reply to: Duplicated Burger Icon and more padding to each nav item #1422689

    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

    in reply to: Change color and form of bullet points #1422688

    Hi,
    Odd, it seems to work when I test, try adding it to WordPress ▸ Customize ▸ Additional CSS and then clear your browser cache and any cache plugin, and check.
    Please note that testing with Safari it can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
    Otherwise please include an admin login in the Private Content area so we can check.

    Best regards,
    Mike

    in reply to: Navigation Background Not Loading #1422687

    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

    Hi,
    The Dev Team has a fix for this issue, please see the two css files at the link below.
    avia_gutenberg.css
    avia_gutenberg.min.css

    please add them via FTP or your webhost file manager at /enfold/config-gutenberg/css/ replacing the old ones.
    Then disable Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and then clear your browser cache.
    Once the new css files are working for you then you can set your Enfold Theme Options ▸ Performance options back to the way you had them.
    This will be added to the next update, but we don’t have an ETA for that now.

    Best regards,
    Mike

    in reply to: Change Shop #5 #1422641

    Hi,
    I added this css:

    #top .product-attributes .price {
    	display: block;
    }

    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Images #1422610

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field instead of the previous css:

    .big-preview.single-big a {
      pointer-events: none;
    }

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

    Best regards,
    Mike

    in reply to: Blog page in portrait orientation iPhone 14 max pro sticks #1422609

    Hi,
    Good catch, guess it’s been a long day for me:
    Enfold_Support_3718.jpeg
    these CORS errors are due to your CDN: cloudflareinsights.com
    I believe you will need to make a change on your server, typically you would need to ask for assistance as this part of your server is not open to everyone, but you should ask your CDN what the exact change for CORS is and then ask your server support.
    I don’t use a CDN so I have not needed to do this first hand, but I recall other customers talking about this.
    I hop this helps.

    Best regards,
    Mike

    in reply to: code block trouble #1422608

    Hi,
    Thanks for the feedback Guenni007, I didn’t see that he was having trouble adding css to a code block, perhaps he didn’t wrap it in <style> for CSS or <script> for jQuery, I’m not sure he didn’t share an example.
    But your advice to try reinstalling the theme is good advice, thank you.

    Best regards,
    Mike

    in reply to: Demo Import does not work #1422606

    Hi,
    I have not seen this before but I found this explanation:

    You need to configure your server to also serve your content on port 443 (https). Right now it’s still using the cPanel default.

    Try asking your webhost for assistance, when I add a SSL to my domains it is automatic though my webhost cPanel with AutoSSL, so I’m not sure why you would need to manually adjust it, better ask your webhost team.
    Enfold_Support_3716.jpeg

    Best regards,
    Mike

    Hey kenichi sato,
    It looks like you are registered, you can login at https://kriesi.at/support/
    and start a new thread at: https://kriesi.at/support/forum/enfold/#new-post
    If you forget your password try the “lost password” link:
    Enfold_Support_3714.jpeg

    Best regards,
    Mike

    in reply to: WordPress updating #1422602

    Hi,
    Glad Yigit could 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

    in reply to: Instagram icon – code #1422601

    Hey Karianne,
    Please try ue909

    Best regards,
    Mike

    in reply to: Add area image to shop CATEGORY pages #1422600

    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

    in reply to: Blog page in portrait orientation iPhone 14 max pro sticks #1422599

    Hi,
    These are the “warnings” that I see in Firefox on Windows:
    Enfold_Support_3710.jpeg
    these would not keep your site from scrolling.
    Above your wrote that you see: Uncaught ReferenceError: jQuery is not defined for a WordPress core file /wp-includes/js/mediaelement/wp-mediaelement.min.js this file is for videos and audios, so I don’t think it would be a scrolling issue, but it’s odd that I don’t see this error.

    Best regards,
    Mike

    in reply to: No Pics in Masonry on Blogsite #1422598

    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

    in reply to: Change Shop #5 #1422597

    Hey Oriano,
    Thanks for your patience and the link to your site, as I understand your request, you want the author names in the grid to show as inline so they are not on multiple lines, this can be achieved with this css:

    .pa_autore p {
    	display: inline;
    }

    I added this for you:
    Enfold_Support_3702.jpeg
    The trouble is adding the commas between the names, but not if there is only one name, or after the last name, but I believe that I achieved this:
    Enfold_Support_3708.jpeg
    Please clear your browser cache and check.
    This is the full updated code:

    //Display_custom_attribute_in_product_grid
    add_action('woocommerce_after_shop_loop_item_title', 'display_custom_attribute_in_product_grid', 5);
    function display_custom_attribute_in_product_grid(){
        // define the desired product attributes to be displayed
        $defined_attributes = array('autore');
    
        global $product;
        $attributes = $product->get_attributes();
    
        if ( ! $attributes ) {
            return;
        }
    
        $out = '<span class="product-attributes">';
    
        foreach ( $attributes as $attribute ) {
    
            $attribute_slug = str_replace( 'pa_', '', $attribute->get_name() );
    
            if ( ! in_array($attribute_slug, $defined_attributes) ) {
                continue;
            }
    
            if ( $attribute->get_variation() ) {
                continue;
            }
    
            $name = $attribute->get_name();
    
            if ( $attribute->is_taxonomy() ) {
    
                $terms = wp_get_post_terms( $product->get_id(), $name, 'all' );
                $tax = $terms[0]->taxonomy;
                $tax_object = get_taxonomy($tax);
                if ( isset ( $tax_object->labels->singular_name ) ) {
                    $tax_label = $tax_object->labels->singular_name;
                } elseif ( isset( $tax_object->label ) ) {
                    $tax_label = $tax_object->label;
                    if ( 0 === strpos( $tax_label, 'Product ' ) ) {
                       $tax_label = substr( $tax_label, 8 );
                    }                
                }
    
                $out .= '<span class="' . esc_attr( $name ) . '"style="width:100%" >';
                $tax_terms = array();
    			
                foreach ( $terms as $term ) {
                    $single_term = array('name' => esc_html( $term->name ), 'url' => get_term_link($term->term_id, $name));
                    array_push( $tax_terms, $single_term );
                }
    
    			$author_names = array();
    			foreach ($tax_terms as $term) {
    			$author_names[] = $term['name'];
    			}
    			$author_count = count($author_names);
    			if ($author_count > 1) {
    			$author_list = implode(', ', array_slice($author_names, 0, -1)) . ', ' . end($author_names);
    			} else {
    			$author_list = $author_names[0];
    			}
    			$out .= '<p data-url="' . $term['url'] . '" class="attribute-value" style="margin:0">' . $author_list . '</p>';
    
                
    
            } else {
                $value_string = implode( ', ', $attribute->get_options() );
                $out .= '<span class="' . sanitize_title($name) . ' ' . sanitize_title( $value_string ) . '">';
            }
        }
    
        $out .= '</span>';
    
        echo $out;
    }

    Best regards,
    Mike

Viewing 30 posts - 5,131 through 5,160 (of 34,704 total)