Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry for the delay. The site is on maintenance mode, so we were not able to check the issues you described above. Please post the login details in the private field so that we can check the site.
We also recommend opening different threads for each inquiry instead of including multiple questions in a single post. You will usually receive faster response that way and allow other users to easily search for the solutions if they happen to have the same problem.
Thank you for your patience.
Best regards,
IsmaelJuly 2, 2020 at 1:20 pm in reply to: No ReadMore or Pagination on alternative template Blog Posts #1227481Hey!
No worries. We often missed the little things.
So what is the setting in the “Blog Posts element > Pagination > Post Number” for?
That is for when a custom page contains a Blog Posts element. It is also used when the Blog Layout is set to “Use the advance layout builder..” Please note that archive pages use the archive.php file template, so it doesn’t rely on the blog element or its settings.
Cheers!
IsmaelHey weasyweb2015,
Thank you for the inquiry.
This should be possible by creating a custom script. Please try to add this snippet in the functions.php file.
add_action('wp_footer', function() { ?> <script> document.addEventListener("DOMContentLoaded", function() { if(window.innerWidth > 769) return; document.getElementsByClassName("activeTitle")[0].dispatchEvent(new Event('click')); }); </script> <?php }, 9999);This will close the open toggle on smaller screens.
Best regards,
IsmaelHi,
That is quite huge. Are you sure it’s in Kilobit and not Bit?
Have you tried disabling the merged files timestamp from the Performance > File Compression settings? In the performance panel, enable or toggle the Show advanced options, then set the “Unique timestamp of merged files” to the second option.
These threads might be related if the server has object caching.
// https://kriesi.at/support/topic/still-massive-db-writes-issues-with-merged-js-and-css-w-w-o-object-caching/
// https://kriesi.at/support/topic/merged-styles-object-cache-using-redis/Best regards,
IsmaelJuly 2, 2020 at 12:31 pm in reply to: Tab section: Tabs added in new row instead of being aligned horizontally #1227460Hi,
Thank you for the screenshot.
If necessary, we can decrease the size of the font to make the title fully visible on smaller screens.
Add this css code in the Quick CSS field or the child theme’s style.css file.
@media only screen and (max-width: 767px) { #top .av-section-tab-title .av-inner-tab-title { margin-bottom: 13px; font-size: 11px; } }Please make sure to toggle the Performance > File Compression settings, and remove the browser cache after adding the code.
Best regards,
IsmaelJuly 2, 2020 at 12:23 pm in reply to: Linking between different Akkordeon elements on different sites using Anchors #1227452Hey DIE-PR-BERATER,
Thank you for the inquiry.
Have you tried creating a link tag manually inside the toggle content? Something like this:
<a link="https://site.com/page/#toggle-id-4">Link to another page with another accordion</a>Best regards,
IsmaelJuly 2, 2020 at 12:13 pm in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1227447Hi,
@dfpg: Is the Performance > File Compression settings enabled? Try to disable it temporarily and make sure that the scripts are not cached.@Mitch: We might have to dequeue the original script, copy it to the child theme, then enqueue it back using the new path or directory.
avia_enqueue_script_conditionally( $condition , 'avia-megamenu', $template_url."/js/avia-snippet-megamenu.js", array('avia-default'), $vn, true);// https://developer.wordpress.org/reference/functions/wp_dequeue_script/
// https://developer.wordpress.org/reference/functions/wp_enqueue_script/Best regards,
IsmaelHi,
Setting the priority to less than 20 should have placed the product tabs above the related products.
add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells', 21); add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20);As you may notice, the related product functions are also attached on the hook woocommerce_after_single_product_summary same as the product tabs and the priority is set to 20 and 21
Best regards,
IsmaelHi,
Thank you for the update.
a.) The separator takes the General Styling > Main Content > Border colors color value.
b.) There’s no such list because you can manually set the Color Section’s Styling > Section Colors to have the main content or alternate styling. Everything or every element inside that section will inherit the designated colors.
Best regards,
IsmaelJuly 1, 2020 at 11:04 am in reply to: Remove the default ajax search feature and replace is for Ajax Search Pro #1227216Hey phouthuijzen,
Thank you for the inquiry.
This is possible but we can’t find the function that does the search query for the plugin. You may need to ask the plugin author for it because we have to use it to replace the default get_posts function in the theme’s AJAX search.
Usage example of the avf_ajax_search_function filter can be found in the following documentation but only snippets for Relevanssi and SearchWP are available at the moment.
Best regards,
IsmaelJuly 1, 2020 at 10:54 am in reply to: Category filtering for Woocommerce from WOOF filtering plugin not working #1227211Hi,
You say it only works in shop page but the page ive sent to you its the shop page
Yes, the page is set as the base shop page but it is using the advance layout builder with the product grid element. The page has to use the default product template, so you have to switch to the default editor or disable the advance layout builder.
To show the difference, we created a temporary page, set it as base shop page and kept the default editor active. The filter now works properly but the layout is a bit broken, maybe because the plugin is not compatible with the block editor. (see private field)
Please contact the plugin author for additional assistance.
Thank you for your patience.
Best regards,
IsmaelJuly 1, 2020 at 10:32 am in reply to: Please support no-cookie solution in Video embedding shortcode #1227205Hi,
Looks like the only solution for now is to host your own video because implementing a different script for the invidio source may not be that easy.
<video style="outline:none;width:100%;background-color:#000" playsinline="playsinline" poster="/vi/AabmRjA5ATM/maxres.jpg" title="cobain makan martabak mini terenak !!" id="player_html5_api" class="vjs-tech" tabindex="-1" preload="auto" src="/latest_version?id=AabmRjA5ATM&itag=22"> <source src="/latest_version?id=AabmRjA5ATM&itag=18" type="video/mp4; codecs="avc1.42001E, mp4a.40.2"" label="medium" selected="false"> <source src="/latest_version?id=AabmRjA5ATM&itag=22" type="video/mp4; codecs="avc1.64001F, mp4a.40.2"" label="hd720" selected="true"> </video>We are not even sure if we can embed it or access the source. Have you tried embedding the video?
And have you tried this solution?
// https://stackoverflow.com/questions/42555450/how-to-embed-youtube-videos-without-cookies
We’ll forward the request to our channel.
Best regards,
IsmaelHi,
Did you set the Performance > Disable Template Builder Elements to the second option (Load only used elements)? The content slider is probably not working in the single post because there are no elements that requires the slideshow.js file. In the home page, there is a post slider or grid, so the required script is loaded.
You might have to set the performance option to “Always load elements” or manually enqueue the slideshow.js file in the posts.
Thank you for your patience.
Best regards,
IsmaelHey Rob,
Thank you for the inquiry.
Looks like you’re also using Blog as category and the avia_modify_single_post_breadcrumb filter above includes both the Blog page and Blog category in the breadcrumb trail. What are you trying to do with the filter?
Best regards,
IsmaelJuly 1, 2020 at 9:37 am in reply to: Header shopping cart symbol & Dynamic Pricing & Discounts #1227175Hi,
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 #1226704 -
AuthorPosts
