Forum Replies Created

Viewing 30 posts - 18,121 through 18,150 (of 67,597 total)
  • Author
    Posts
  • in reply to: Making amends to demo – mobile/desktop layout #1227503

    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,
    Ismael

    Hey!

    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!
    Ismael

    in reply to: accordion closed only on mobile #1227477

    Hey 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,
    Ismael

    in reply to: aviaAsset_avia-head-scripts in Table wp_options #1227470

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    Hey 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,
    Ismael

    Hi,


    @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,
    Ismael

    in reply to: Edit "Product Page" in Woocommerce (Enfold) #1227445

    Hi,

    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,
    Ismael

    in reply to: Purchase Code #1227441

    Hi,

    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,
    Ismael

    Hey 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.

    // https://kriesi.at/documentation/enfold/search/#use-relevanssi-in-search-instead-of-the-default-search

    Best regards,
    Ismael

    Hi,

    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,
    Ismael

    Hi,

    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=&quot;avc1.42001E, mp4a.40.2&quot;" label="medium" selected="false">
                        <source src="/latest_version?id=AabmRjA5ATM&itag=22" type="video/mp4; codecs=&quot;avc1.64001F, mp4a.40.2&quot;" 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,
    Ismael

    in reply to: Shortcodes don't work in post header #1227200

    Hi,

    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,
    Ismael

    in reply to: Breadcrumbs in Blog archive page layout #1227190

    Hey 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,
    Ismael

    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,
    Ismael

    in reply to: Comments section not appearing in blog post #1227160

    Hey 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,
    Ismael

    in reply to: Woocoommerce Product Sorting Override #1227157

    Hi!

    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,
    Ismael

    in reply to: Video not playing with sound – Colour Section #1227154

    Hi,

    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,
    Ismael

    in reply to: Problem with Audio Player under Enfold #1227148

    Hey 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/21357

    Please contact your hosting or CDN provider for more info.

    Best regards,
    Ismael

    Hey 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,
    Ismael

    in reply to: Grid Row Cell – how make arrow point to image #1227123

    Hey 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,
    Ismael

    in reply to: fonts not loading, vimeo and youtube not showing #1227121

    Hi,

    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,
    Ismael

    in reply to: Product grid limit number of products – Part 2 #1227112

    Hey 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,
    Ismael

    in reply to: Woocoommerce Product Sorting Override #1226722

    Hi,

    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,
    Ismael

    in reply to: Burger when scrolling down #1226718

    Hi,

    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,
    Ismael

    in reply to: You've been featured on Codeless #1226713

    Hey 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,
    Ismael

    in reply to: Remove date from google results #1226711

    Hi,

    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,
    Ismael

    in reply to: Custom single.php with avia/enfold Shortcodes #1226708

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    Hey 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,
    Ismael

Viewing 30 posts - 18,121 through 18,150 (of 67,597 total)