Forum Replies Created
-
AuthorPosts
-
July 1, 2020 at 9:37 am in reply to: Header shopping cart symbol & Dynamic Pricing & Discounts #1227175
Hi,
Looks like it’s not working properly because of the currency position. The script is parsing the product price instead of quantity number.
Did you change or add something to the cart template? In our own installation, we tried to change the currency position from the Woocommerce > Settings > General > Currency position, but it didn’t affect the behavior of the cart, so it’s possible that something has changed in your installation — in the templates, a custom filter or hook.
Best regards,
IsmaelHey goingthewholehogg,
Thank you for the inquiry.
The comment area should display automatically when the default editor is active, but it looks like you’re using the advance layout builder to create the content of that particular post. If that’s the case, then you have to include the Comments element somewhere in the builder. The element is under the builder’s Content Elements tab.
Best regards,
IsmaelHi!
That is actually one of the first things that we checked — pre_get_posts used in the theme, and there’s only 5 instances, but none of them relates to the sorting of the taxonomy terms or products.
And yes, you can use that filter to adjust the sorting of the Post Object. It’s actually the same filter that we posted previously.
Best regards,
IsmaelHi,
Thank you for the inquiry.
This is not possible because of the browsers’ autoplay policy. Media files with audio or sound are not allowed to play automatically on page load, so users have to enable it manually.
// https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Chrome’s autoplay policies are simple:
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 Ebonknox,
Thank you for the inquiry.
Both sites are actually using Enfold but the audio time rail or seeker on one site is not working. According to the following thread, this requires a bit of tweaking in your server configuration.
// https://stackoverflow.com/questions/9563887/setting-html5-audio-position
This works on the other site because the server supports or accepts partial content.
These are the Headers of an mp3 file on the site where time seek is working.
{"Response Headers (282 B)":{"headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Connection","value":"keep-alive"},{"name":"Content-Length","value":"11474902"},{"name":"Content-Range","value":"bytes 196608-11671509/11671510"},{"name":"Content-Type","value":"audio/mpeg"},{"name":"Date","value":"Wed, 01 Jul 2020 06:50:09 GMT"},{"name":"Last-Modified","value":"Wed, 20 May 2020 03:00:45 GMT"},{"name":"Server","value":"nginx/1.14.1"}]}}These headers are not available on the other site. And it looks like the issue is common on Cloudflare servers:
// https://community.cloudflare.com/t/accept-ranges-and-content-length-headers-not-forwarded-by-cloudflare/41445
// https://community.cloudflare.com/t/accept-ranges-bytes/21357Please contact your hosting or CDN provider for more info.
Best regards,
IsmaelJuly 1, 2020 at 8:34 am in reply to: Masonary Gallery images not viewing on some mobile devices #1227128Hey laptophobo!
Thank you for the inquiry.
We checked the site “rosecdc” on an old Android phone with Chrome and the gallery displayed properly — we were not able to reproduce the issue. Could you provide a screenshot of the page?
Best regards,
IsmaelHey CharlieTh,
Thank you for the inquiry.
This is the css used to create the arrow, or how it was added over the image.
#top .flex_column_table_cell .avia_textblock::after { content: ""; position: absolute !important; color: #fff !important; display: block; z-index: 99999999999999999 !important; overflow: visible !important; visibility: visible !important; font-family: 'entypo-fontello'; left: auto; top: 23%; width: 0; height: 0; border-bottom: 30px solid transparent; border-top: 30px solid #e8e8e800; border-left: 40px solid #539550; right: -30px; }You might have to adjust the selector a bit or add a custom css class to the element where you want to add it.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Looks like the font Terminal Dosis is no longer available in the Google Fonts library, or it has been replaced with Dosis. We are not really sure if they are the same fonts. To fix the issue temporarily, please edit the wp-content\themes\enfold\framework\php\font-management\class-avia-type-fonts.php file and replace this line..
'Terminal Dosis' => 'Terminal Dosis',.. with:
'Dosis' => 'Dosis',// https://fonts.google.com/?selection.family=Dosis&query=dosis#standard-styles
We’ll forward the issue to our channel.
Did you set the Default Cookie Behavior to the first or second option?
Best regards,
IsmaelHey fcp,
Thank you for the update.
Instead of using the script, maybe we can use this css code to hide the rest of the pagination.
.pagination .pagination-meta, .pagination a:nth-child(1), .pagination a:nth-child(n+6) { display: none !important; }Best regards,
IsmaelHi,
Sorry for the delay. We can’t really find anything in the theme that alters the product sorting, but it looks like ACF allows you to change the sorting or order of the Post Objects. Unfortunately, we are not sure if it’s possible to sort them based on how they were arranged in the product editor.
// https://support.advancedcustomfields.com/forums/topic/post-object-field-sort-order/
Example:
// function my_post_object_query( $args, $field, $post ) { // modify the order $args['orderby'] = 'date'; $args['order'] = 'DESC'; return $args; } // filter for a specific field based on it's name add_filter('acf/fields/post_object/query/name=heft', 'my_post_object_query', 10, 3);We’ll tag one of our developers to check the thread.
Best regards,
IsmaelHi,
Thank you for the inquiry.
You might have to wrap the custom css code inside a css media query so that it’s only loaded on large screens.
@media only screen and (min-width: 1024px) { /* Add your Desktop Styles here */ }And also prevent the script from executing by creating a condition that checks for the current width of the browser view port.
if($(window).width() > 1024) { avia_scroll_top_menu(); } else { // no way jose }`
Best regards,
IsmaelHey Ludjon Roshi,
Thank you for featuring Enfold in one of your blogs — much appreciated. And it looks like you’re selling custom themes as well. :)
FYI, these pages are broken. (see private field)
Best regards,
IsmaelHi,
The solution would be the same. The date info may come from a lot of sources, in the templates, a hook, filter or third party plugins and the solutions proposed by @mike in the previous thread should remove all dates generated by the theme.
Why do you have to remove the date?
Best regards,
IsmaelHey conflock,
Thank you for the inquiry.
The builder is set to not execute shortcodes outside the builder by default, but that behavior can be changed using this filter.
// https://kriesi.at/support/topic/trouble-with-the_content-and-advanced-layout-editor/#post-1119884
Set it to return true in any case, then you should be able to add the shortcodes in the template.
Best regards,
IsmaelJune 30, 2020 at 12:11 pm in reply to: SOLVED – Product image in shop overview – Hover effect not working #1226706Hey WebbR,
Thank you for the inquiry.
Did you activate a plugin that lazyloads images? The hover effect is not working properly because of this css code.
.lazyloaded { opacity: 1; transition: opacity 400ms; transition-delay: 0ms; }Best regards,
IsmaelJune 30, 2020 at 11:59 am in reply to: No ReadMore or Pagination on alternative template Blog Posts #1226704Hey Rob,
Sorry for the delay. The pagination doesn’t display maybe because there are only 12 posts in the Blog category and the maximum number of posts that are allowed to display in the archive pages (Settings > Reading) is also set to 12. (see private field)
Best regards,
IsmaelHey mtesch,
Thank you for the inquiry.
Are you using the Product Grid element for the pages where the issue occurs? The element may not be compatible with the plugin, so you might have to refrain from using the element and instead utilize the default shop base page and the available product shortcodes from Woocommerce.
// https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9
So instead of using the Product Grid element to render the products in the page, you will use this shortcode for example.
[products]Unfortunately, the output or styling from these shortcodes are different from the default element, so it has to be adjusted a bit.
Best regards,
IsmaelHey idvisionme,
Quite sorry for the delay.
1.) You can try one of these plugins in place of the old one.
// https://wordpress.org/plugins/post-types-order/
// https://wordpress.org/plugins/simple-custom-post-order/2.) You might have to modify the includes > loop-index.php file and remove the meta info from the template manually.
3.) This depends on how you added the images, but you should be able to define the alt attribute manually in the Media > Library panel.
4.) The plugins just adds the gzip configurations to the .htaccess file automatically, but you can add it yourself if necessary.
// https://gtmetrix.com/enable-gzip-compression.html
And FYI, users usually get immediate response from moderators if they open a different thread for each inquiry instead of asking multiple questions in a single post.
Thank you for your patience.
Best regards,
IsmaelJune 30, 2020 at 11:17 am in reply to: If full screen slider and everest timeline are on one page it breaks the slider #1226690Hi,
The theme has its own timeline element which is available in the advance layout builder. Have you tried it?
Looks like the plugin prematurely closes the sections or containers in the page and breaks the layout. Have you tried placing the text block containing the plugin shortcode inside a Grid Row element with a single cell? Does it work correctly when using the default editor?
Please contact the plugin authors for additional assistance.
Best regards,
IsmaelHi,
You can try the snippets provided in the following documentation to limit the number of items in the AJAX search results.
// https://www.relevanssi.com/knowledge-base/posts-per-page/
And you will have to implement this as well.
Best regards,
IsmaelJune 30, 2020 at 10:51 am in reply to: Yoast doesn't recognize images in the slider (full width) #1226679Hey Carsten,
Thank you for the inquiry.
The analysis tool doesn’t work well with layout builders because it doesn’t recognize shortcodes. And the markup, for example the image tag is not really available in the back end, so the tool can’t detect it. Looks like the tool has a way to detect images based on the file name, maybe the image format too, but it might not be able to detect the alt attribute because the whole image markup doesn’t actually exists in the builder.
// https://yoast.com/image-seo-alt-tag-and-title-tag-optimization/#assessment
But please note that this will not affect how search engines read the site in the front end.
Best regards,
IsmaelJune 30, 2020 at 10:23 am in reply to: The contact form does not send if the language "German" is set to "Sie" #1226673Hi,
Did you change the from address? This usually happens when the from address that is used is not recognized or trusted by your mail server, so the emails from the contact form are blocked or flagged. The messages sometimes go to the spam folder.
You might have to ask your hosting provider to whitelist that specific email address, use an email address with the domain name in it or try to use an address from a well known provider like yahoo, gmail or outlook. You can also use SMTP but the configuration will be different depending on where you host the site. Again you can ask your hosting provider.
Best regards,
IsmaelHey optibpo,
Thank you for the inquiry.
Try to append the autoplay parameter to the Youtube URL.
// https://developers.google.com/youtube/player_parameters#autoplay
You might also have to mute the video initially because autoplay is not allowed when audio is enabled by default. For that you can use the mute parameter and set it to 1.
Best regards,
IsmaelHey!
Sorry for the delay. Looks like the tab doesn’t resize correctly when it’s directly accessed using anchors.
Adding this script in the functions.php file should help.
add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('resize'); }, 1000); $(window).load(function () { setTimeout(function() { clearInterval(int); }, 1000); }); })(jQuery); </script> <?php }Regards,
IsmaelJune 30, 2020 at 9:32 am in reply to: Problem using both Color section with background video and video media element #1226661Hey todd0218,
Thank you for the inquiry.
We don’t really see the video overlay on our end. Could you provide a screenshot of the issue?
Best regards,
IsmaelHi,
The plugin should work fine even if it’s not updated. All it does is update the value of the global variable $_wp_additional_image_sizes, which contains data about the thumbnails.
There is a different solution, but you have to modify the functions.php file directly and adjust the thumbnail size manually. You can find this code around line 183:
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonryOr try to remove the default “masonry” thumbnail and register your own.
// https://developer.wordpress.org/reference/functions/remove_image_size/
// https://developer.wordpress.org/reference/functions/add_image_size/Best regards,
IsmaelJune 29, 2020 at 10:54 am in reply to: Colour section layout problem in very wide screen and h1 problem in home page #1226359Hi,
Thank you for the update.
There were other “header” custom fields which contain the value “no”, so we removed them and replaced the value of the actual “header” field. The title and breadcrumb is now displaying properly.
Best regards,
IsmaelHi,
Glad it worked. What is the snippet that you’re using? You might have to adjust the priority of the hooks.
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 );Try to replace the integer 20 with 10 or 15.
Best regards,
IsmaelHi,
We modified the script in the functions.php file a bit.
function ava_custom_script_mod_social() { ?> <script> (function($) { $(document).ready(function() { var burger_wrap = $('.av-burger-menu-main a'); var social = $('.social_bookmarks'); $(burger_wrap).on('avia_burger_list_created', function() { setTimeout(() => { social.appendTo('#av-burger-menu-ul').addClass("mobile_social_bookmarks"); }, 150); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_social', 10000);And added this css code to adjust the position of the social icons.
.html_av-overlay-side #top #wrap_all .av-burger-overlay .social_bookmarks { position: relative; top: 100px; left: 60px; } .html_av-overlay-side #top #wrap_all .av-burger-overlay .social_bookmarks a { padding: 0; }Screenshot: https://imgur.com/a/1DZciIs
Best regards,
IsmaelJune 29, 2020 at 10:08 am in reply to: Enfold mailchimp footer to become like the link provided #1226340 -
AuthorPosts
