Forum Replies Created
-
AuthorPosts
-
Hey FamalcoGroup,
Thank you for the inquiry.
Try to add this css code to hide the text and replace the icon with a different arrow.
.more-link { color: #ffffff; } .more-link .more-link-arrow { color: gray; } .more-link-arrow:after { color: gray; content: ""; font-family: 'entypo-fontello'; font-size: 20px; left: -75px; position: relative; }If you want to completely remove the text, try to add this script in the functions.php file.
function ava_script_read_more_arrow() { ?> <script> (function($) { $(".more-link").html("<span class='more-link-arrow'></span>"); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_script_read_more_arrow');Best regards,
IsmaelHey Chris_85,
Thank you for the inquiry.
We tried to configure the Autoptimize and WP Super Cache plugin but compression is still not working as it should. We also tried disabling the plugins temporarily to no avail. You may need to update the theme from version 4.7.6.4 to the latest version 4.8.6.5 in order to fix the issue. Make sure to toggle the cache and compression settings after the upgrade.
Best regards,
IsmaelHey WURZ8,
Thank you for the inquiry.
You can use the avf_contact_form_incoming_mail filter to adjust the email configuration including the emailMessage. You could also create a completely new email template from scratch using the same filter.
Example:
add_filter("avf_contact_form_incoming_mail", function($mail_array, $new_post, $params, $class, $from, $from_filtered) { $logo = "<img src='LOGO URL' />"; $mail_array["Message"] = $logo . $mail_array["Message"]; return $mail_array; }, 10, 6);This should prepend an image before the message. You can also use the avf_form_mail_form_field filter to adjust the layout of the email message per line. Default layout is..
Form Field Label : Form Field Value '';Example:
Email : (Email address hidden if logged out) Number : +1234567890 Message : What's up Doc?Best regards,
IsmaelHey kelem138,
Thank you for the inquiry.
The filter works properly on our end — it prepends the LOGO text to the existing menu items. Did you set the menu as the Enfold Main Menu in the Appearance > Menus > Menu Settings ?
Best regards,
IsmaelHi,
Thank you for the update.
If the issue only happens when the page is still loading, you might have to optimize the site further to decrease the loading time and speed up the site. The following guides should help.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlWe can also adjust the loading priority of the lightbox script if necessary.
Best regards,
IsmaelHi,
When you tab throughout the menus on a site, the link is mark with an a:focus, and it needs a border, colour, etc to comply.
Would you mind providing a reference to this requirement? Focused elements or links in the theme are set to have no borders or outlines by default.
a:hover, a:focus, a:visited { outline: 0; text-decoration: underline;}Did you add this css code?
a:focus { color: #ef4237 !important; border: 1px solid; border-color: #BAE498; box-sizing: content-box; }The text shifts on focus because the border takes some of the space around the menu item. Instead of applying borders, try to apply an outline to prevent the menu items from shifting.
.responsive #top a:focus { color: #ef4237 !important; outline: 1px #BAE498 solid; outline-offset: -1px; }Best regards,
IsmaelOctober 18, 2021 at 8:13 am in reply to: Disable post nav arrow on first or last entry in a category #1325359Hey emilconsor,
Thank you for the inquiry.
We adjusted the filter a bit to ensure that both arrows always contain different posts and hide the arrow that is empty.
// Posts in the same category function avia_same_category_filter($settings) { $settings["same_category"] = true; return $settings; } add_filter("avia_post_nav_settings","avia_same_category_filter", 10, 1); // Switched "Previous" und "Next" entries. next post -> right side, prev post -> left side function avia_apply_custom_sort_order_to_post_nav($entries, $settings, $queried_entries) { $entries['prev'] = $queried_entries['next']; $entries['next'] = $queried_entries['prev']; return $entries; } add_filter('avia_post_nav_entries', 'avia_apply_custom_sort_order_to_post_nav', 10, 3);Best regards,
IsmaelHey FamalcoGroup,
Thank you for the inquiry.
This is possible but we have know the blog layout that is currently selected. Please post a link to the blog page so that we can check it. The following threads might help.
// https://kriesi.at/support/topic/icon-boxes-read-more-on-blog/#post-1295499
// https://kriesi.at/support/topic/spacing-between-blog-posts-in-grid-view/#post-1316386Best regards,
IsmaelHey 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-scrollBest 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,
Ismael -
AuthorPosts
