Forum Replies Created
-
AuthorPosts
-
Hey Shari,
Thank you for the inquiry.
We cannot reproduce the issue on our end. Does it happen on every page load? Have you tried waiting for a bit or waiting for the whole page to fully load before opening the lightbox?
Best regards,
IsmaelHey Oliver,
Thank you for the inquiry and sorry for the inconvenience.
Looks like you have not extended the support license, which is now required in order to post inquiries or requests in the forum. After renewing or extending the support license, get the new license key and place it in the field provided in the popup. Please check the following documentation for more info about support renewal.
// https://help.market.envato.com/hc/en-us/articles/207886473-Extending-and-Renewing-Item-Support
Best regards,
IsmaelHi,
Thank you for the info.
We have set the News page as the default blog page in the Enfold > Theme Options panel, which removes the duplicated post title in the breadcrumb but the first category (News) is now included in the breadcrumb trail, so it looks duplicated (Home/News/News/Post Name). You may need to replace the name of the page or use a different category.
If that is not option, we could use the avf_breadcrumb_trail filter in the functions.php file to remove the category from the breadcrumb.
function ava_remove_element_from_bctrail( $trail, $args ) { if ( is_single() ) { unset ($trail[2]); } return $trail; } add_filter( 'avia_breadcrumbs_trail', 'ava_remove_element_from_bctrail', 50, 2 );
Best regards,
IsmaelHi,
but I want to know, where the CSS properties of “no-scroll” are defined.
It is in the themes/enfold/js/avia.js around line 800 within the avia_smoothscroll function.
if( newHash != '' && newHash != '#' && newHash != '#prev' && newHash != '#next' && !clicked.is('.comment-reply-link, #cancel-comment-reply-link, .no-scroll'))
The logic above prevents scrolling or prevent the avia_smoothscroll function from executing when the clicked element or the current target contains any of the following class names
.comment-reply-link, #cancel-comment-reply-link, .no-scroll
Best regards,
IsmaelHi,
Thank you for the info.
We didn’t notice that you set up the page to display an actual video element on mobile view. Please note that videos that are NOT muted are NOT allowed to play automatically regardless of the device where they are being viewed. This is a browser policy.
// https://developer.chrome.com/blog/autoplay/
Chrome’s autoplay policies are simple:
Muted autoplay is always allowed.
Autoplay with sound is allowed if:
The user has interacted with the domain (click, tap, etc.).
On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound.
The user has added the site to their home screen on mobile or installed the PWA on desktop.
Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.You have to mute the video or disable the audio to make it ensure that it plays automatically on mobile view. Also, please note that some mobile devices or browsers do not allow autoplay even when the video is muted.
Best regards,
IsmaelOctober 18, 2021 at 5:25 am in reply to: Blog post element broken when Woocommerce is activated #1325347Hi,
Thank you for the access.
The issue does not occur when we disabled all plugins except Woocmmerce, so the issue is not entirely due to the shop plugin. It only occurs when both MasterStudy LMS and the Woocommerce plugin is enabled. And the reason why the blog posts element display all posts when the plugins are enabled is because the default query..
SELECT wp_posts.* FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (4) ) AND wp_posts.post_type IN ('post', 'page', 'attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block', 'wp_template', 'scheduled-action', 'product', 'product_variation', 'shop_order', 'shop_order_refund', 'shop_coupon', 'portfolio', 'avia_framework_post') AND (wp_posts.post_status = 'publish' OR wp_posts.post_author = 13 AND wp_posts.post_status = 'private') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC
.. gets transformed to..
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type IN ('post', 'page', 'attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block', 'wp_template', 'product', 'product_variation', 'shop_order', 'shop_order_refund', 'shop_coupon', 'stm-courses', 'stm-lessons', 'stm-quizzes', 'stm-questions', 'stm-reviews', 'stm-orders', 'stm-payout', 'portfolio', 'avia_framework_post') AND (wp_posts.post_status = 'publish' OR wp_posts.post_author = 13 AND wp_posts.post_status = 'private') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC
.. and this part of the query that is supposed to retrieve posts from the selected category gets omitted.
LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id)
It is possible that the plugin is using the pre_get_posts filter somewhere in its code base and overrides the blog posts query. You may need to contact the developers of the Master Study LMS plugin for additional assistance regarding the issue.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the logo and the header are now displaying correctly on mobile view. If you can still the issue, please try to update the css > layout.css file with the following.
// https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_6_5/css/layout.css
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after updating the file, and make sure to purge the cache.
Best regards,
IsmaelHi,
Glad to know that it is now working and looks like you have created a better solution. Thanks for sharing! We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the info.
So it it apparent the Quick CSS does NOT override the css in gallery_horizontal.
This is working correctly on our installation. The slideshow controls display back on mobile view when we add the css in the Quick CSS field, which means that it has overridden the default style. There might be a plugin option in your installation that excludes the content of the Quick CSS field or that prevents it from loading properly.
Best regards,
IsmaelHi,
The post navigation will only display in the single post page — it is using the get_adjacent_posts function by default, which retrieves the next and previous posts. The navigations will not display in the archive or category pages without modifying the templates and creating new functions. Unfortunately, this kind of customization requires significant amount of time and is beyond the scope of support. You may need to hire a freelance developer or have our partner Codeable provide you with a working solution.
Thank you for your patience.
Best regards,
IsmaelHi,
Great! Glad to know that it is working. Please let us know if a different thread if you need anything. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for following up.
It is not working because you are returning the shortcode as an actual text. You have to wrap the shortcode in the do_shortcode function.
// https://developer.wordpress.org/reference/functions/do_shortcode/
Example:
return do_shortcode("alb shortcode here");
Best regards,
IsmaelHi,
Alrighty! Thank you for using the theme for so many years and for the continued support. Really appreciate it. We have already forwarded the request to our channel, so hopefully this feature will finally be included in the upcoming versions. We will close the thread for now.
Have a nice day.
Best regards,
IsmaelOctober 16, 2021 at 3:25 am in reply to: Blog post element broken when Woocommerce is activated #1325188Hi,
Thank you for the info.
We modified the filter in the functions.php file so that it only queries posts from the default post type, which works but for some reason, all items from the post type are now displaying regardless of the selected category in the blog posts settings. Looks like there is something in the site that overrides the blog posts query.
We cannot reproduce the same issue on our installation, so this is probably caused by a plugin. Is there a staging or development version of the site? Can we deactivate the plugins temporarily?
Best regards,
IsmaelHi,
Thanks for the update.
We will forward the issue to our channel. We might have to refrain from using the THEMENAME constant in the avia_mailchimp_widget function and use the wp_get_theme function instead as suggested previously.
How do you update the theme? Is it working correctly when the plugins are disabled?
Best regards,
IsmaelHi,
Thank you for the update.
We forgot to mention that background or slider videos are disabled on mobile devices by default, so you have to add a fallback image. The fallback image will display on mobile view instead of the video.
Best regards,
IsmaelHi,
Thank you for the info.
Is there a staging or development version of the site where we can reproduce the issue? We have to check the compression options and figure out why enabling minification or why enabling the WP Fastest Cache causes the error. Please post the site details in the private field.
Best regards,
IsmaelHey combra,
Thank you for the inquiry.
Are you referring to the whitespace above the special heading element which is directly below the slider? Special heading elements have a 50px top margin by default. You can remove it by adding this css code.
.av-special-heading { margin-top: 0; }
There is also a spacer or separator element above the heading, which adds another 20px of whitespace.
Best regards,
IsmaelHey Ikyo,
Thank you for the inquiry.
Looks like the stylesheets are being minified by another plugin or script based on the file name. The theme assigns a different name to the compressed file. Have you tried disabling the plugins temporarily?
Best regards,
IsmaelHi,
Alright. We will close this thread for now. Please do not hesitate to open another if you need anything else.
Have a nice day.
Best regards,
IsmaelHey ihf-eramstad,
Thank you for the inquiry.
The slider is not displaying at all on our end. It might be due to this error.
VM2797 api.min.js:2 [OptinMonster] The referrer site could not be found. It may not have been registered with OptinMonster. Domain provided: (site.wpengine.com)
Does it work correctly when the Enfold > Performance > File Compression settings are disabled?
Best regards,
IsmaelHey TSPCart,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue? We cannot see the problem in the single product page. If the default post navigation is not working as expected, try to replace it with widgets generated by different plugins such as the following.
// https://wordpress.org/plugins/list-custom-taxonomy-widget/
// https://wordpress.org/plugins/custom-post-type-widgets/Best regards,
IsmaelHey combra,
Thank you for the inquiry.
The border is from this css rule.
span.wc-gzd-additional-info.shipping-costs-info { border: 3px solid #13c416; padding: 10px 10px 10px 10px; border-right: 0; border-top: 0; border-bottom: 0; font-weight: 700; }
You can override it and remove the border by adding this css code.
span.wc-gzd-additional-info.shipping-costs-info { border: none; }
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHey chrisholemar,
Thank you for the inquiry.
It seems to be working correctly on our end, although it is not recommended to use html tags in the title field. Are you sure that you added the image tag properly?
<img src="http://site.com/wp-content/uploads/2021/10/my-image.jpg" />
Please post the site URL in the private field so that we can check the issue properly.
Best regards,
IsmaelHey!
Thank you for the clarification.
You may need use the avf_alb_exec_sc_only filter and allow execution of shortcodes that were not added directly in the ALB. Please add this in the functions.php file.
function avf_custom_exec_sc_only_mod( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) { return true; } add_filter( 'avf_alb_exec_sc_only', 'avf_custom_exec_sc_only_mod', 10, 6 );
Or this..
add_filter( 'avf_alb_exec_sc_only', '__return_true' );
Regards,
IsmaelHi!
Thank you for the update.
The modification above should only unset or remove the button element, not the magic wand. Did you try it? You may need to toggle or temporarily disable the Performance > File Compression settings after adding the code.
Best regards,
IsmaelHey forestrygy,
Thank you for the inquiry.
The breadcrumb works correctly in the demo.
// https://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/
Did you use the avf_breadcrumb_trail filter in the functions.php file or modify anything in the theme? We were not able to check the theme options because the account above is not an admin.
Best regards,
IsmaelHi,
Thank you for the inquiry.
To adjust the button text, you can use this plugin.
// https://wordpress.org/plugins/say-what/
Just look for the text that you would like to adjust, then provide the replacement text or translation. You can also adjust the text by editing the template file (enfold/config-woocommerce/config.php line 529) directly.
if($product->get_type() == 'variable' && empty($output)) { $output = '<a class="add_to_cart_button button product_type_variable" href="'.get_permalink($product->get_id()).'"><span '.av_icon_string("details").'></span> '.__("Select options","avia_framework").'</a>'; } if(in_array($product->get_type(), array('subscription', 'simple', 'bundle'))) { $output .= '<a class="button show_details_button" href="'.get_permalink($product->get_id()).'"><span '.av_icon_string("details").'></span> '.__("Show Details","avia_framework").'</a>'; }
And to adjust the button style, use this css code.
.avia_cart_buttons { padding: 0; } #top .avia_cart_buttons .button { padding: 10px; }
Again, you need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css or resave the theme options.
Best regards,
IsmaelHey combra,
Thank you for the inquiry.
You can use this css code to adjust the position of the breadcrumbs.
.breadcrumb.breadcrumbs.avia-breadcrumbs { top: 20px; left: 0; }
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelOctober 14, 2021 at 8:38 am in reply to: Blog post element broken when Woocommerce is activated #1324868Hi,
Thank you for the update.
We can now reproduce the issue on our end. Looks like the posts from the MasterStudy LMS plugin are getting included in the blog posts element when Woocommerce is enabled. We are not yet sure why that is happening, but adding this filter in the functions.php file should help.
function avia_masonry_entries_query_mod($query, $params) { foreach($query['post_type'] as $key => $value) { if( $value == 'stm-lessons' ) { unset($query['post_type'][$key]); } } return $query; } add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 2);
Removing the post type “stm-lessons” should hide the unwanted posts.
Best regards,
Ismael -
AuthorPosts