Forum Replies Created
-
AuthorPosts
-
August 12, 2020 at 2:13 pm in reply to: Mobile menu on scroll down hide and on scroll up show #1236981
Hey DovolenkujLacno,
Sorry for the delay. We are a little confuse about your inquiry. Could you explain it a bit further? You could also provide a screenshot using imgur or dropbox so that we can better understand what you’re trying to do.
Best regards,
IsmaelHi,
Sorry for the delay. The theme by default conditionally loads the wp_mediaelement element script, so this generates the error because the plugin requires the script for its image upload function. To fix the issue, we added this filter in the functions.php file.
add_filter( 'avf_enqueue_wp_mediaelement', 'avia_always_load_mediaelement', 10, 2); function avia_always_load_mediaelement($condition, $options) { return true; }This will just allow wp_mediaelement script to load normally regardless.
Best regards,
IsmaelHi,
@klara999: Here’s a quick tutorial about the plugin.
// https://optimizerwp.com/documentation/how-to-translate-theme-using-loco/
You can also replace the default text with your own by wrapping the content around the shortcodes. Just go to the Modal Popup Window Content fields and look for the privacy toggles or shortcodes such as the av_privacy_allow_cookies or av_privacy_accept_essential_cookies. You can translate or change the privacy toggle description manually by wrapping them between the shortcodes.
Example:
[av_privacy_allow_cookies]My translated privacy toggle description here[/av_privacy_allow_cookies]
@Jan_FtFA: You can follow the same instructions for your own installation.Best regards,
IsmaelHi,
Thank you for the info.
Looks like a lot of the css styles from the old site are missing on the other or the new site. Where did you add the other css modifications aside from the Quick CSS field?
This css code for example is missing from the new site.
div#workshops_section article { background: rgba(255,255,255,.93); }Best regards,
IsmaelAugust 12, 2020 at 5:27 am in reply to: Added PHP Functions for Autoplay Video and experience two bugs now: Please help #1236825Hey Niederrhein-Wagyu-9,
Thank you for the inquiry.
Browsers actually prevent media files from playing automatically on page load unless they are muted or when the user who is viewing the content allowed it or has previously played videos with audio. Unfortunately, the script or workaround above will not work as expected due to the browsers’ autoplay policy.
// https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Muted autoplay is always allowed.
Autoplay with sound is allowed if:
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.Best regards,
IsmaelHey ver-ni,
Thank you for the inquiry.
Did you set the theme options of the other language? Please note that each language has a separate theme option, so you have to reset the blog page in the Enfold > Theme Options > Where do you want to display the blog? settings, and adjust the Enfold > Blog Layout settings accordingly.
Best regards,
IsmaelHey THP,
Thank you for the info.
We’ll forward the issue to our channel and maybe add the modification in the next patch. If I am not mistaken, we added that attribute to prevent the consent bar from displaying on the browsers’ reader view.
Best regards,
IsmaelHi,
Sorry for the delay. Edit the themes\enfold\framework\php\class-breadcrumb.php and around line 544, try to remove the avia_backend_truncate function or this line.
if( ! is_search() ) { $trail['trail_end'] = avia_backend_truncate( $trail['trail_end'], $truncate, " ", $pad="...", false, '<strong><em><span>', true ); }This limit was added to prevent the breadcrumb and the main title from overlapping with each other.
Best regards,
IsmaelHi,
Thank you for the info. Temporarily, you can add this snippet in the functions.php file to remove the mini cart icon from the header.
remove_action( 'init', 'avia_woocommerce_cart_placement', 10);We’ll forward the request to our channel.
Best regards,
IsmaelHey Thomas,
Thank you for the info. We’ll forward this to our channel. Is there a test page where we can see the issue?
Best regards,
IsmaelHey amyteslin,
Sorry for the delay. This is not available in the theme by default but you might be able to create the layout by using the Grid Row element. Set the height of the grid row, add a code block element on the first cell, then insert the video tag. We can then resize the video element with this css code.
.flex_cell .flex_cell_inner video { object-fit: cover; } .flex_cell .flex_cell_inner, .flex_cell_inner .avia-video { height: 100%; }Best regards,
IsmaelHey YU-Design,
Sorry for the delay. Did you use the default-template.php file from the enfold\config-events-calendar\views folder? Is there a staging or development version of the site?
To adjust the layout of the filter container, try this css code.
#tribe-bar-form .tribe-bar-filters-inner { padding: 10px 20px 0 20px; }Best regards,
IsmaelHey Jason,
Thank you for the inquiry.
You can use this modified avia.js file or script to force the menu to close when you click anywhere in the overlay.
// https://pastebin.com/k2w3NXDd
We just added this block of code around line 1153:
$('body').click(function (e) { if ($(e.target).is('.av-hamburger, av-burger-menu-main, av-burger-menu-main a')) return; burger = $(this).find('.av-hamburger'), animating = true; if (burger.is(".is-active")) { burger.removeClass("is-active"); htmlEL.removeClass("av-burger-overlay-active-delayed"); overlay.animate({ opacity: 0 }, function () { overlay.css({ display: 'none' }); htmlEL.removeClass("av-burger-overlay-active"); animating = false; }); } });Best regards,
IsmaelAugust 11, 2020 at 5:55 am in reply to: Styling for Masonry Title when brining in portfolio items #1236574Hi,
Thank you for the update.
The Enfold > Performance > File Compression settings are currently enabled, so you may need to disable it temporarily in order to see the changes.
To adjust the font style of the masonry title, try to use this css code.
#top #wrap_all .av-masonry-entry-title.entry-title { font-size: 10px; color: #fff !important; }Please make sure to remove all cache from browser or plugins before testing the page.
Best regards,
IsmaelAugust 11, 2020 at 5:43 am in reply to: Cookie Consent Message Bar Does Not Process Consent or Reload Page Properly #1236569Hey sylvia5113,
Sorry for the delay. We may need to access the file server in order to debug the issue properly. Please include the FTP details in the private field so that we can enable the debug mode and edit the files when necessary.
// https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug
Best regards,
IsmaelHi!
Sorry for the delay. We may need to access the file server in order to debug the issue properly. Please include the FTP details in the private field so that we can enable the debug mode and edit the files when necessary.
Regards,
IsmaelHi,
You can add the custom css class attribute in the Developers tab of the promobox element and use it to adjust the style of the button. Example:
#top .custom-promobox .avia-button { font-size: 20px; color: red; }You have to replace “custom-promobox” with the actual class name or attribute.
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHi,
Thank you for the screencast.
Looks like the container resizes because the browser URL field or the top part of the browser collapses or hides when you scroll down. Is there a setting in the phone browser where you can prevent the URL field from disappearing when scrolling down?
Best regards,
IsmaelHi,
Thank you for the update.
How did you set the Search to work with the Masonry element? Did you set it manually, or does the search automatically alters the query in the page? It’s possible that the search script looks for the closest element that is using a query and alters that one. The search still works when we added a static text below the code block.
Best regards,
IsmaelAugust 11, 2020 at 4:56 am in reply to: Problem in footer while using a shortcode on the page #1236558Hi,
Thank you for the update.
Looks like the slider unexpectedly closes the column or section ahead of time breaking the layout of the succeeding containers. You may need to contact the plugin developers to help inspect the issue because we don’t provide support for third party plugins as stated on our support policy.
Have you tried using the sliders in the theme’s Advance Layout Builder?
Best regards,
IsmaelHey force-com,
Thank you for the inquiry.
What do you mean by AJAX module, or which plugin are you using? Unfortunately, the theme doesn’t have an AJAX filter for products by default aside from the variation filter that comes with Woocommerce, so you’ll have to look for another plugin or script if the current one is not working.
// https://docs.woocommerce.com/document/woocommerce-product-search/widgets/product-filter-attributes/
Best regards,
IsmaelHey!
According to our developer, this patch is already available in the latest version of the theme and the site it turned out contains an older version. Please upgrade to version 4.7.6.2 to get the latest patch.
Thank you for your patience.
Cheers!
IsmaelHi,
Thank you for the update.
Is there a staging version of the site? We might have to disable the plugins, features and modifications temporarily in order to check and compare the performance or the score properly.
Best regards,
IsmaelHi,
Thank you for the update.
The css code above should only work on or affect the mobile view, so you don’t really need to use a different image. There is also no option for it in the theme by default.
Best regards,
IsmaelHi!
The solution in this thread might help fix the AJAX search issue.
// https://kriesi.at/support/topic/ajax-search-issue-admin-ajax-php-error-500/#post-1236382
Cheers!
IsmaelHi,
Thank you for the update.
We found the issue in the themes\enfold\config-woocommerce\config.php around line 1956:
foreach( $tax_query as $value ) { $params['tax_query'][] = $value; }For some reason, tax query is not set or found as string. To fix the issue, we added a condition around it.
if(isset($params['tax_query'])) { foreach( $tax_query as $value ) { $params['tax_query'][] = $value; } }Best regards,
IsmaelHi,
Thank you for the update.
Try to replace the filter with the following snippet to remove the first trail in the breadcrumb on archive or category pages.
add_filter( 'avia_breadcrumbs_trail', 'mmx_remove_element_from_trail', 50, 2 ); function mmx_remove_element_from_trail( $trail, $args ) { if ( is_single() || is_archive() ) { unset ($trail[1]); } return $trail; }Best regards,
IsmaelAugust 10, 2020 at 6:37 am in reply to: Window scrolls down when hit close to hide location balloon in Google Maps #1236375Hi,
Thank you for the info.
We are able to reproduce the issue on Chrome Windows but we are not yet sure what’s causing it. The theme doesn’t really alter the default closing method of the info window, so this is probably cause by a plugin or a custom script in the site. Did you add modifications or scripts in your installation?
Have you tried testing it while all the plugins are deactivated?
Best regards,
IsmaelHi,
For some reason, the top part of the page is now editable and the preview is still working properly. If you’re still experiencing the issue on your end, you can easily transfer the content by saving it as template but since this method doesn’t work, we recommend re-creating the page from scratch or by manually copying the content from the current page to a new page.
Have you tried testing it on a different machine?
Best regards,
IsmaelAugust 10, 2020 at 3:17 am in reply to: After update, timeline element again not loading on iphone ipad #1236362Hi,
Sorry for the delay. The timeline element in the page is displaying properly on mobile view and we are not able to reproduce the alignment issue in the Special Heading element. Please check the draft page in the private field.
Could you provide a screenshot of the timeline element issue?
Best regards,
Ismael -
AuthorPosts
