Forum Replies Created
-
AuthorPosts
-
Hey navindesigns,
Thank you for the inquiry.
You have to modify the themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php file and place the code below around line 1061.
$categories = get_the_terms($key['ID'], 'portfolio_entries'); $separator = ' '; $output = '<div class="av-portfolio-cat">'; if ( ! empty( $categories ) ) { foreach ( $categories as $category ) { $output .= '<span>' . esc_html( $category->name ) . '</span>' . $separator; } } $output .= '</div>';You can add it right below this code.
if ( ! empty( $title_link ) ) { $output .= "<a href='{$title_link}' title='" . esc_attr( strip_tags( $title ) ) . "'>" . $title . "</a>"; } else { $output .= $title; }Best regards,
IsmaelNovember 10, 2022 at 8:26 am in reply to: 100% height color section doesn't fit bottom of the screen with sticky menu v2 #1372022Hi,
Thank you for the clarification.
The height of the succeeding sections is the same as the first section. You can check it in the screenshot below.
Screenshot: https://imgur.com/a/eqSTUf8
As in the screenshot above, the height of the second and third section is 956px, same as the first section.
Best regards,
IsmaelHey scorpioserve,
Thank you for the inquiry.
The builder looks fine when we edit the page you mentioned in the private field. Would you mind providing a screenshot of the issue? You can use imgur, savvyify or dropbox for the screenshot. Thanks.
This is how the editor looks on our end. https://1drv.ms/u/s!AjjTfXSRbKTvyxIkGfyzsjN3wzA3?e=5MrAHE
Best regards,
IsmaelHi,
Did you also see this? Something is wrong in function.php line 5835 => Do I simply remove it ?!
We didn’t see that error when we checked the site. Would you mind providing a screenshot of the issue? You can use imgur, savvyify or dropbox for the screenshot. Thanks.
Best regards,
IsmaelHi,
Thank you for the update.
We were able to reproduce the issue on Safari and the only clue that we got is this error, which seems to be related to the fullscreen policy of the browser.
Feature policy 'Fullscreen' check failed for iframe with originPlease try to edit the themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow-video.js file and add this code around line 248..
ifrm.setAttribute("allow", 'fullscreen' );.. just below this line of code.
ifrm.setAttribute("src", this.$video.data('src') );You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings and turn off the cache plugins before testing the page again.
Best regards,
IsmaelNovember 10, 2022 at 7:55 am in reply to: Problem with anchor links to specific section on other page #1372018Hey maxgorelkine,
Thank you for the inquiry.
This might have something to do with the previous header modification. You may need to add the following filter in the functions.php file to adjust the scroll offset in order to take into account the adjustments from the previous modification.
function avf_header_setting_filter_mod($header) { $header['header_scroll_offset'] = $header['header_scroll_offset'] - 150; return $header; } add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);Best regards,
IsmaelHi,
Thank you for the clarification.
You can actually choose which editor to use for each product. For simple products, you can manually switch to the Advance Layout Builder (ALB) and keep the default editor activated for variable products. But please note that certain features might not work normally when ALB is active as you already know with the variation image swap.
Best regards,
IsmaelHi,
Thank you for the videos and screenshots.
We are not yet sure why the items in your page reanimate on scroll but it might have something to do with the isotope script, which handles the portfolio grid’s layout and filters. Please try edit the enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.js and remove the following code around line 66.
// update columnWidth on window resize $(window).on( 'debouncedresize', function() { applyIso(); });Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings, and do a hard refresh before testing the page.
Best regards,
IsmaelHi,
We checked the page above but we didn’t find any iconboxes. Where did you add the elements? Would you mind providing a screenshot of the section? You can use imgur, savvyify or dropbox for the screenshot. Thanks.
Best regards,
IsmaelHey berlingo911,
Thank you for the inquiry.
This is possible but this will require modifications that are beyond the scope of support. You may need to hire a freelance developer for this additional option, or contact our partner Codeable.
The code for the contact form is located in the themes/enfold/config-templatebuilder/avia-shortcodes/contact folder and in the themes/enfold/framework/php/class-form-generator.php file.
Best regards,
IsmaelHi,
Thank you for following up.
We are not really why that is happening but as @Yigit said, it might have something to do with caching. Hard refreshing the page or temporarily disabling the plugin while editing the site should help.
Did you enable the Lock Advanced Layout Builder in the Enfold > Layout Builder panel?
Best regards,
IsmaelHi,
You cannot save a demo as templates, so you will have to import the demo first in a different installation, then manually save the pages as templates. If you want to import a specific content or page from a demo, please refer to the documentation below.
// https://kriesi.at/documentation/enfold/import-demos/#how-to-import-content-from-other-demos
Best regards,
IsmaelHey mvanstee,
Thank you for the inquiry.
You will have to manually modify the avia_woocommerce_frontend_search_params function in the themes/enfold/config-woocommerce/config.php file around line 1541. Sorting the items or products by tags or categories is not supported by Woocommerce by default, so you will have to code it manually. Please note that this kind of modification is beyond the scope of support, so you may need to look for third party developers for additional assistance. You can contact our partner Codeable or hire a freelance developer to add the option.
Best regards,
IsmaelHi,
It is not working because the add_filter function was commented out for some reason, so we corrected it. We also edited the style.css file a bit and removed the invalid PHP code that you added there. The thumbnails are now back to their original aspect ratio. (see private field)
Thank you for your patience.
Best regards,
IsmaelHey mvi,
Thank you for the inquiry.
You can use this script in the functions.php file to make the whole iconbox clickable.
// make the whole iconbox clickable function ava_custom_script_iconbox_link() { ?> <script type="text/javascript"> (function($) { $('.iconbox').on('click', function() { var title_link = $(this).find('.iconbox_content_title ').attr('href'); if(title_link) window.location.href = title_link; }); })(jQuery); </script> <?php } add_action( 'wp_footer', 'ava_custom_script_iconbox_link', 9999 );Add this css code to change the cursor.
.iconbox { cursor: pointer; }Best regards,
IsmaelHi!
Thanks for the update. We replied in the previous thread: https://kriesi.at/support/topic/privacy-and-cookies/#post-1371860
Regards,
IsmaelHi,
How did you insert the privacy-container element in the video? If you want to move the video privacy toggle inside, you can directly add the html of the toggle or use the privacy shortcode. Now, to reload the page after accepting the video privacy shortcode, you can try this script.
// reload the page after clicking the privacy toggles function ava_custom_script_privacy_toggle_reload() { ?> <script type="text/javascript"> (function($) { $('.av-switch-aviaPrivacyVideoEmbedsDisabled').on('click', function() { var input = $(this).find('#aviaPrivacyVideoEmbedsDisabled'); if(input.is(':checked')) location.reload( true ); }); })(jQuery); </script> <?php } add_action( 'wp_footer', 'ava_custom_script_privacy_toggle_reload', 9999 );This is the html of the video privacy toggle.
<div class="av-switch-aviaPrivacyVideoEmbedsDisabled av-toggle-switch av-cookie-disable-external-toggle av-cookie-save-unchecked av-cookie-default-unchecked active"><label><input type="checkbox" id="aviaPrivacyVideoEmbedsDisabled" class="aviaPrivacyVideoEmbedsDisabled " name="aviaPrivacyVideoEmbedsDisabled"><span class="toggle-track"></span><span class="toggle-label-content">Hier klicken, um Videoeinbettungen zu aktivieren/deaktivieren.</span></label></div>Best regards,
IsmaelHey seo-systeme,
Thank you for the inquiry.
In the code below, we modified the parallax banner function a bit to include the category title and re-registers the template hooks. Please create a site backup, then add the code below in the functions.php file.
function avia_woocommerce_big_cat_banner_mod() { if(is_product_category()) { global $wp_query, $avia_config; if(isset($wp_query->query_vars['taxonomy'])) { $term = get_term_by( 'slug', get_query_var($wp_query->query_vars['taxonomy']), $wp_query->query_vars['taxonomy']); if( ! empty( $term->term_id ) ) { $description = term_description() ; $style = avia_get_woocommerce_term_meta( $term->term_id, 'av_cat_styling' ); $attachment_id = avia_get_woocommerce_term_meta( $term->term_id, 'thumbnail_id' ); $overlay = avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-overlay' ); $font = avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-font' ); $opacity = avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-overlay-opacity' ); if(!empty($style)) { remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 ); echo avia_woocommerce_parallax_banner_mod($attachment_id, $overlay, $opacity, $description, $font); $avia_config['woo-banner'] = true; } } } } } function avia_woocommerce_shop_banner_mod() { global $avia_config; if(is_shop() || (is_product_category() && avia_get_option('shop_banner_global') == 'shop_banner_global') && !isset($avia_config['woo-banner'])) { $options = avia_get_option(); if( isset( $options['shop_banner'] ) && ( $options['shop_banner'] == 'av-active-shop-banner' ) ) { $bg = $options['shop_banner_image']; $overlay = $options['shop_banner_overlay_color']; $opacity = $options['shop_banner_overlay_opacity']; $description= wpautop( $options['shop_banner_message'] ); $font = $options['shop_banner_message_color']; echo avia_woocommerce_parallax_banner_mod( $bg, $overlay, $opacity, $description, $font ); } } } function avia_woocommerce_parallax_banner_mod( $bg, $overlay, $opacity, $description, $font ) { if( is_numeric( $bg ) ) { $bg = wp_get_attachment_image_src($bg, 'extra_large'); $bg = ( is_array( $bg ) && $bg[0] != '' ) ? $bg[0] : ''; } if( $font ) { $font = "style='color:{$font};'"; } if( $bg ) { $bg = "background-image: url({$bg});"; } $output = ''; $output .= '<div id="av_product_description" class="avia-section main_color avia-section-large avia-no-border-styling avia-full-stretch av-parallax-section av-section-color-overlay-active avia-bg-style-parallax container_wrap fullsize" data-section-bg-repeat="stretch" ' . $font . '>'; $output .= '<div class="av-parallax avia-full-stretch" data-avia-parallax-ratio="0.3">'; $output .= '<div class="av-parallax-inner av-parallax-woo" style="' . $bg . ' main_color background-attachment: scroll; background-position: 50% 50%; background-repeat: no-repeat;">'; $output .= '</div>'; $output .= '</div>'; $output .= '<div class="av-section-color-overlay-wrap">'; if( ! empty( $overlay ) ) { $output .= '<div class="av-section-color-overlay" style="opacity: '.$opacity.'; background-color: ' . $overlay . '; "></div>'; } $output .= '<div class="container">'; $output .= '<main class="template-page content av-content-full alpha units">'; if( $description ) { $title = get_the_archive_title(); $output .= "<h1>{$title}</h1>"; $output .= "<p>{$description}</p>"; } $output .= '</main>'; $output .= '</div>'; $output .= '</div>'; $output .= '</div>'; return $output; } add_action('after_setup_theme', function() { remove_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner', 11 ); remove_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner', 11 ); add_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner_mod', 11 ); add_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner_mod', 11 ); }, 999);Best regards,
IsmaelHey ASMarketing123,
Thank you for the inquiry.
We cannot reproduce the issue on a browser device emulation. The grid items do not reanimate and stay fixed when scrolling up or down.
Would you mind providing a screenshot or a short clip of the issue? Please use imgur, savvyify or dropbox for the media file.
Best regards,
IsmaelNovember 9, 2022 at 5:45 am in reply to: Layerslider images not positioned where they were set #1371856Hey Fred,
Thank you for the inquiry.
We may need to inspect the site or the layer slider in order figure out the issue. Please provide a link to the page containing the slider. A screenshot will also help.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Please note that only muted videos are allowed to automatically play on page load. Did you mute the video? We didn’t find any color section in the home page with a background video, so we are not sure if the video has been muted or not. Please provide a link to the page containing the background video or a screenshot using imgur, savvyify or dropbox. Thanks.
Best regards,
IsmaelHi,
Thank you for the clarification.
Looks like every posts and pages in the site are displaying in the blog page’s masonry element now instead of the intended private post. Have you tried disabling the plugins temporarily?
We added the query filter again in the functions.php file but all items are still displaying in the masonry element. This might mean that something else is causing the issue such as a custom script or a third party plugin.
Best regards,
IsmaelHi,
Glad to know that you managed to find a working solution. Please let us know if you have more questions about the theme. Regarding the delay, please check the private field.
Have a nice day.
Best regards,
IsmaelNovember 9, 2022 at 5:11 am in reply to: 100% height color section doesn't fit bottom of the screen with sticky menu v2 #1371852Hey maxgorelkine,
Thank you for the inquiry.
We cannot find any issue with the page — the first section is completely visible above the fold. Would you mind providing a screenshot? You can use imgur, savvyify or dropbox for the screenshot. Thanks.
Best regards,
IsmaelNovember 9, 2022 at 5:04 am in reply to: Some capital font diacritics are shown in different colour #1371851Hey Jaro,
Thank you for the inquiry.
We can see the issue but we are not yet sure why some latin characters render like that. They render fine for smaller text. We tried to add the latin and latin-extended subset to the Cabin and Opens Sans font, but it didn’t help.
add_filter('avf_google_fontlist', function($google_fontlist) { $google_fontlist = $google_fontlist . '&subset=latin,latin-ext'; return $google_fontlist; }, 10, 1);Have you tried using a different font?
Best regards,
IsmaelNovember 9, 2022 at 4:42 am in reply to: Set shop to show according to categories and translate links and woocomerce #1371848Hey Margrubi,
Thank you for the inquiry.
1.) This is possible but you will need to activate a translation or a multi-lingual plugin such as WPML or TranslatePress.
2.) You can use the product_category or product_categories shortcode to display category links in a page. Please check the documentation below for more info about the shortcodes.
// https://woocommerce.com/document/woocommerce-shortcodes/#product-category
You can also create those links manually using the elements in the Advance Layout Builder (ALB).
Best regards,
IsmaelHey Steven,
Thank you for the inquiry.
The variable image swap will not work in the Advance Layout Builder, unfortunately. You may need to keep the default editor enabled if you need the images to switch when selecting product variations.
Best regards,
IsmaelHi,
Great! Happy to know that you’ve found a working solution. Please let us know if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelNovember 7, 2022 at 8:13 am in reply to: Master Slider (by Averta) does not work with Enfold after Update #1371615Hi,
Thank you for the inquiry.
You may need to set the Disable Template Builder Elements > Disabling Of Template Builder Elements settings to the first option (Always load all elements) to fix the issue with the slider. We tried to set this but we always get a 400 (bad request) error. You may need to disable the plugins temporarily before adjusting the theme options.
Best regards,
IsmaelHi,
Thank you for the screenshot.
The sections starting from GANZHEITLICHE BETRACHTUNG IHRER WEBSITE are outside the wrap_all container, which is why the styling of some elements are a bit different. This usually means that there are html tags in the page that have not been closed properly. Please check the previous sections and look for any invalid html tags.
Best regards,
Ismael -
AuthorPosts
