Forum Replies Created
-
AuthorPosts
-
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,
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,
MikeHey Celeranttechnologycorp,
Thanks for your patience and the link to your site, it looks like your blog page has beed created with a plugin or custom shortcode because it is shown in a code block element, I don’t see any reference to authors on this page. On your post I see that it has been created with the Advanced Layout Builder and the Post Metadata element, as you are using a Custom Post Type did you choose the post in the element options, or was the CPT not available in the options?
Best regards,
MikeOctober 15, 2023 at 8:25 pm in reply to: Blog page in portrait orientation iPhone 14 max pro sticks #1422585Hi,
I don’t see any of those in the browser console when I check, are we still talking about the issue: iphone in portrait orientation, the blog page will not scroll beyond the image for the first post on your /blog/ page?
I only have an Android and I find no errors when scrolling your page, if you like I can ask the team to check your page with an iphone, perhaps it is a specific issue with iphones?Best regards,
MikeHey Sebastian,
For product category pages you would use is_product_category() I added this to your child theme functions.php for you, but I removed the breadcrumb shortcode as it didn’t make sense to show this on a category page, feel free to adjust to suit.
This is the code I added:function add_custom_header_image_to_categories() { if ( is_product_category() ) { ?> <div class="single-header-image-woo"><br><br></div> <?php } } add_action( 'woocommerce_before_main_content', 'add_custom_header_image_to_categories', 10 );
Best regards,
MikeOctober 15, 2023 at 6:35 pm in reply to: Blog page in portrait orientation iPhone 14 max pro sticks #1422578Hi,
I mean in the browser console when you check in Dev Tools, I don’t think page speed insights would show these errors.Best regards,
MikeHi,
Thanks for your question, I tried to recreate this error with a Google Map iframe for Boston Ma in a code block element,
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d188820.5492695243!2d-70.97028399999999!3d42.31434995!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89e3652d0d3d311b%3A0x787cbf240162e8a0!2sBoston%2C%20MA!5e0!3m2!1sen!2sus!4v1697385152217!5m2!1sen!2sus" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
I also tested in a text element and tried to edit the page many times, make changes and save and view the frontend and then edit again, but I was not able to create an error.
My test site has no plugins, so perhaps yo can try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause.
Sometimes javascript in a code block element will run in the backend (editor) and cause errors, if you have any other code blocks on the page with javascript try removing them and checking again.
If you find it’s a plugin or something else that you can’t do without, you can try to add the map iframe as a shortcode as a workaround.
For example, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function custom_iframe_shortcode($atts) { $iframe_src = esc_url($atts['src']); if (!$iframe_src) { return 'Please provide a valid src URL in the shortcode.'; } $iframe_html = '<iframe src="' . $iframe_src . '"width="100%" height="600px" frameborder="0" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>'; return $iframe_html; } add_shortcode('iframe', 'custom_iframe_shortcode');
notice in the code above I set the iframe width to 100% and the height to 600px, you can adjust to suit.
Then in your code block add this shortcode:[iframe src="https://www.example.com"]
I added my map url like this:
[iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d188820.5492695243!2d-70.97028399999999!3d42.31434995!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89e3652d0d3d311b%3A0x787cbf240162e8a0!2sBoston%2C%20MA!5e0!3m2!1sen!2sus!4v1697385152217!5m2!1sen!2sus"]
Perhaps this will help you.Best regards,
MikeOctober 15, 2023 at 5:48 pm in reply to: Bug: additional class for blog page nested pagination #1422570Hi,
Very good, thanks for your explanation, I’m sure it will have other users investigate these plugins further.Best regards,
MikeOctober 15, 2023 at 5:40 pm in reply to: Import: Agency – Enfold Parallax Demo , I’m getting demo installation error #1422569Hi,
Ok, Please include an admin login & FTP access in the Private Content area and I will try to install the Enfold Parallax Demo for you.Best regards,
MikeOctober 15, 2023 at 5:37 pm in reply to: Duplicated Burger Icon and more padding to each nav item #1422566October 15, 2023 at 5:34 pm in reply to: Bug: additional class for blog page nested pagination #1422564Hi,
Thank you for sharing your solution, it looks like Auto Infinite Scroll from WP Intense is a paid plugin, I didn’t find a free version for it, but I imagine that you have found it helpful due to the time you put into getting it to work with Enfold, thanks I’m sure others in the future will appreciate your effort. Do you want this thread to remain open to answer future questions, or shall we close it?Best regards,
MikeOctober 15, 2023 at 5:21 pm in reply to: Import: Agency – Enfold Parallax Demo , I’m getting demo installation error #1422561October 15, 2023 at 5:19 pm in reply to: Duplicated Burger Icon and more padding to each nav item #1422560Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #header_main_alternate .avia_mega_div .current-menu-item { background-color: #fff; } #top #header .av-main-nav > li > a { width: 100%; text-align: center; }
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,
MikeOctober 15, 2023 at 4:39 pm in reply to: Enfold Theme Problem: non-JS module / ERR_CONNECTION_CLOSED #1422556Hi,
Thanks for this login and the link to your page, I tried editing the last text block element with the test text and saved, but I didn’t see any errors, I was using the Chrome browser on Windows, what are you using?
I note that most all of your text blocks contain this strange code: <span data-sheets-value=”{” data-sheets-userformat=”{“> when you view the text blocks in the “text” tab:
and on the frontend this code doesn’t seem to add anything useful:
Did you know this code was added? Did you paste the text from somewhere else and the code from that source was added? I recommend removing the code and see if this solves your issue.Best regards,
MikeOctober 15, 2023 at 3:56 pm in reply to: Error translating the theme with Loco Translate plugin #1422552Hey mariosalgado80,
Thank you for your patience and the link to your site, I don’t have any experience with the Loco Translate plugin, but I looked at each section in your plugin settings and for your pages and I didn’t see your notice above anywhere, I believe this is just telling you that the automatic translation may be limited and you will need to manully need to translate some of your pages, this may be true for pages created with the Advanced Layout Builder as many plugins have trouble reading the shortcode.
Enfold supports WPML, please see our documentation here.
Perhaps this video will help you: Quick Steps To Translate Your Theme Using Loco TranslateBest regards,
Mike -
AuthorPosts