Forum Replies Created
-
AuthorPosts
-
October 21, 2023 at 12:42 pm in reply to: Using blog post element with Grid Layout, images on mobile are not lazy-loaded #1423210
Hi,
Ok, since I can’t think of anything else to change here, shall we close this thread then?Best regards,
MikeOctober 20, 2023 at 4:48 pm in reply to: Anchor link from header link to a Slider Revolution slider #1423147Hi,
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,
MikeOctober 20, 2023 at 3:32 pm in reply to: Using blog post element with Grid Layout, images on mobile are not lazy-loaded #1423132Hi,
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:
I’m not sure what other option there would be.Best regards,
MikeHi,
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,
MikeHey 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,
MikeHi,
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,
MikeOctober 17, 2023 at 7:17 pm in reply to: Import: Agency – Enfold Parallax Demo , I’m getting demo installation error #1422830Hi,
Thanks, please clear your browser cache and check your site now.Best regards,
MikeHi,
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,
MikeOctober 17, 2023 at 6:15 pm in reply to: Background image in Color Section not always working #1422824Hi,
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,
MikeHi,
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:
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,
MikeHi,
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,
MikeHi,
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,
MikeOctober 16, 2023 at 6:42 pm in reply to: Duplicated Burger Icon and more padding to each nav item #1422689Hi,
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,
MikeHi,
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,
MikeHi,
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,
MikeOctober 16, 2023 at 6:20 pm in reply to: Backend issue: Avaia Layout Builder conceals WordPress settings bar #1422686Hi,
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,
MikeHi,
I added this css:#top .product-attributes .price { display: block; }
Please clear your browser cache and check.
Best regards,
MikeHi,
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,
MikeOctober 15, 2023 at 11:06 pm in reply to: Blog page in portrait orientation iPhone 14 max pro sticks #1422609Hi,
Good catch, guess it’s been a long day for me:
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,
MikeHi,
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,
MikeHi,
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.
Best regards,
MikeOctober 15, 2023 at 10:33 pm in reply to: RE: Not Receiving Support / Login – Item Purchase Code: a4b2035b-3838-470c-b2b6-9f24c7f25883 #1422603Hey 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:
Best regards,
MikeHi,
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,
MikeHi,
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,
MikeOctober 15, 2023 at 10:19 pm in reply to: Blog page in portrait orientation iPhone 14 max pro sticks #1422599Hi,
These are the “warnings” that I see in Firefox on Windows:
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,
MikeHi,
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,
MikeHey 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:
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:
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 -
AuthorPosts