Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for update.
Glad to know that the css code worked. For the video section, try to use this css code to get rid of the bottom margin.
.avia-video, .avia-iframe-wrap { margin-bottom: 0; }Best regards,
IsmaelOctober 28, 2021 at 10:36 am in reply to: Automate the fullwidth slider slide overlay picture #1326789Hi,
No problem. Glad to know that it is working. For the size, try to specify the value of $size parameter in the wp_get_attachment_image_url function.
// https://developer.wordpress.org/reference/functions/wp_get_attachment_image_url/`
Best regards,
IsmaelHi,
Thank you for the inquiry.
The video plays automatically after we accepted the privacy cookies and refreshed the page. You may need to select the first or second option in the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior settings if you want it to work immediately without user consent.
Best regards,
IsmaelHey emanuelecocchiaro,
Thank you for the inquiry.
This is how the gallery looks on our end.
Screenshot: https://imgur.com/XQ8Jc6n
The images look exactly the same as they are on desktop view. Would you mind providing a screenshot of the issue?
Best regards,
IsmaelHi,
Thank you for the update.
The “player-communication” page no longer exist — it redirects to a 404 page. Did you remove it? Please post the login details in the private field so that we can check the issue further.
Best regards,
IsmaelHi!
It was an issue with the translations as expected. We included the correct translations in the latest version (4.8.7) of the theme, which is now available on Themeforest.
WordPress notified me of an error in line 420
We cannot reproduce the issue on our end. Please try to reload the page again or check the site on incognito mode.
Thank you for your patience.
Best regards,
IsmaelOctober 27, 2021 at 12:36 pm in reply to: Automate the fullwidth slider slide overlay picture #1326657Hi,
Thank you for the clarification.
Unfortunately, this is not possible because the default value of the overlay settings would be different for each element or for each page. It is only possible for settings in which the value would be the same for every element. For example, in the slider’s Styling > Slideshow Image Size settings, we could set the “Large” thumbnail as the default option.You can try this filter in the functions.php file to automatically apply the same slider image as the custom pattern value.
add_filter("avf_slideshow_config", function($config) { $counter = 0; foreach ($config["content"] as $slider) { $config["content"][$counter]['attr']['overlay_enable'] = 'aviaTBaviaTBoverlay_enable'; $config["content"][$counter]['attr']['overlay_opacity'] = '0.5'; $config["content"][$counter]['attr']['overlay_pattern'] = 'custom'; $config["content"][$counter]['attr']['overlay_custom_pattern'] = wp_get_attachment_image_url($slider['attr']["id"]); $counter++; } return $config; }, 10, 1);Best regards,
IsmaelOctober 27, 2021 at 12:13 pm in reply to: tabbed sections duplicated on several pages but managed from central point #1326651Hi,
No problem. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Have you tried adjusting the Enfold > Blog Layout > Blog Layout to Modern Business? This is how the simple layout looks when Modern Business is selected.
Screenshot: https://imgur.com/ZjZuMHn
Best regards,
IsmaelHi,
No problem! Please let us know if the shortcode works. We will keep the thread open.
Best regards,
IsmaelHey Jason,
Thank you for the inquiry.
What did you add or modify in the script file? Please provide the site URL and the login details in the private field so that we can check the issue.
Best regards,
IsmaelHey bdeuwe,
Thank you for the inquiry.
Best would be to get rid of the margins left and right by using the color section and columns way
That is the default padding of the container. To remove it, you can use this css code.
.container { padding: 0; }Please note that this will affect every containers in the site, so you have to apply a unique ID to the color section in which the container has to be adjusted and update the css so that it only affects the container in that section.
// https://kriesi.at/documentation/enfold/add-custom-css/
Example:
#custom-section-id .container { padding: 0; }Best regards,
IsmaelOctober 27, 2021 at 5:53 am in reply to: Automate the fullwidth slider slide overlay picture #1326606Hey spooniverse,
Thank you for the inquiry.
to be the same as the slide picture itself
What do you mean? Do you mean the same overlay color? If I am not mistaken, you would like the slider to detect the color that is the most prominent in the slider image and have it apply an overlay that is the same as that color. Unfortunately, the slider does not have a script for it by default and creating one might require significant amount of modifications.
Best regards,
IsmaelOctober 27, 2021 at 5:41 am in reply to: Increase output of cross-sells on the basket page above 4 #1326601Hi,
Thank you for the update.
Did you try the hook that we provided above? It should adjust the value of the shop_single_column and the shop_single_column_items. You can also try to replace the after_setup_theme with the init hook.
Or just copy the whole avia_woocommerce_output_upsells function in the child theme’s functions.php file. You have to rename it.
function avia_woocommerce_output_upsells_modified($items = false, $columns = false) { global $avia_config; $output = ""; if(!$items) $items = 12; if(!$columns) $columns = 12; ob_start(); woocommerce_upsell_display($items,$columns); // 4 products, 4 columns $content = ob_get_clean(); if($content) { $output .= "<div class='product_column product_column_".$columns."'>"; //$output .= "<h3>".(__('You may also like', 'avia_framework'))."</h3>"; $output .= $content; $output .= "</div>"; } $avia_config['woo_upsells'] = $output; return $output; }Remove the original hook, then register a new one.
// needs to be called after the "related product" function to inherit columns and product count remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells', 21); add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells_modified', 21);Best regards,
IsmaelHi,
Thank you for the update.
Looks like you are using two blog posts element and you have selected a different blog style (List Layout – Excerpt) for mobile view. Please note that the featured image and meta info will not display if this style is selected. We disabled the blog posts element with the list layout and set the first blog posts element to display on mobile view instead.
Best regards,
IsmaelHi,
Again, we kindly ask that you open another thread for new inquiries. This is to keep the thread relevant to the original topic and it will also make it easier for other users who might be looking for the same answer. We also recommend opening a single thread for each inquiry.
Thank you for your understanding.
Best regards,
IsmaelHi,
Thank you for the clarification.
The scripts are required in the backend because the theme has to validate the API key, which is needed in order to use the map API. If you need to completely disable the scripts for some reason, you can use the wp_dequeue_script function.
// https://developer.wordpress.org/reference/functions/wp_dequeue_script/
You can find the script handles in the following code..
wp_register_script( 'avia_google_maps_front_script' , AVIA_JS_URL . 'conditional_load/avia_google_maps_front.js', array( 'jquery' ), $vn, true ); wp_register_script( 'avia_google_maps_api_script' , AVIA_JS_URL . 'conditional_load/avia_google_maps_api.js', array( 'jquery' ), $vn, true ); wp_register_script( 'avia_google_maps_widget_admin_script' , AVIA_JS_URL . 'conditional_load/avia_google_maps_widget_admin.js', array( 'jquery', 'avia_google_maps_api_script' ,'media-upload' ,'media-views' ), $vn, true );,.. within the enfold/framework/php/class-gmaps.php file (line 137).
Best regards,
IsmaelHey creativeopole,
Thank you for the inquiry.
The product grid element is not using the default product query and creates a custom query in the shortcode template, so the plugin will not be able to adjust the query based on the active filters to display the corresponding product items. You may need to use the default product grid shortcodes from the shop plugin or display the filters in the base shop page.
For more info about the plugin, please contact the plugin developers.
Best regards,
IsmaelHi,
Thank you for the info.
We are not yet sure what is causing the issue but we have found out that the select option in the element editor itself holds the incorrect value (see screenshot below). We will forward the issue to our channel.
Screenshot: https://imgur.com/APr9M5P
Best regards,
IsmaelHi,
Thank you for the inquiry.
You can use this filter in the functions.php file to adjust the offset value on mobile view. Decreasing the offset value should limit the scroll position and prevent the sticky header from covering the headings.
function avf_header_setting_filter_mod($header) { if(wp_is_mobile()) { $header['header_scroll_offset'] = $header['header_scroll_offset'] - 48; } return $header; } add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);Make sure to purge the cache or check the site on incognito mode after applying the filter.
Best regards,
IsmaelOctober 27, 2021 at 3:57 am in reply to: Set alignment and space between text and picture in widget #1326574Hey Loveronika,
Thank you for the inquiry.
Would you mind providing a screenshot of the layout that you are trying to create? If you want to move the text or the span tag to the right, try to use the float property.
<span style=”color: #ff8800; font-family: Coustard; font-size: small; text-align: right; float: right;”>Mira Alfassa</span>Best regards,
IsmaelHey Yory,
Thank you for the inquiry.
Try to increase the size of the masonry items a bit with this css code.
.av-masonry-entry { width: 25%; }Default width value is 24.90%. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHey Rob,
Thank you for the inquiry.
You can now prevent scripts from loading when they are not required by setting the Enfold > Performance > Disabling of template builder elements settings to the second option. You can also manually enable/disable the elements including the Google Map Element by selecting the third option. This will show a list of all elements and their current status (in use or not).
Best regards,
IsmaelOctober 26, 2021 at 8:58 am in reply to: Avia pop-up / magnific pop-up on mobile pops up below the fold #1326451Hey domchocolate,
Thank you for the inquiry.
We have checked the lightbox on a browser device emulation and it seems to be working correctly. If you need to prevent the document from scrolling and make sure that the container appears at the center of the document, please try to replace the script with the following code.
function av_open_inline_popup(){ ?> <script type="text/javascript"> (function($) { $(window).on('load', function(){ $('.open-popup-link').addClass('no-scroll'); $('.open-popup-link').magnificPopup({ type:'inline', midClick: true, callbacks: { beforeOpen: function () { $('body').css("overflow-y", "hidden"); }, close: function() { $('body').css("overflow-y", "auto"); }, }, }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'av_open_inline_popup');Thread: https://kriesi.at/support/topic/lightbox-17/
Best regards,
IsmaelHi,
Thank you for the update.
Do you see any errors in the browser console after submitting the answer? The screenshot above is from the Chrome browser.
Best regards,
IsmaelHey WebDevDept,
Thank you for the inquiry.
The tooltip text are covering the hotspots, which might be due to the html tags that were added in the hotspot title field. To fix it, try to use this css code.
.av-hotspot-blank .av-hotspot-container .av-image-hotspot_inner { z-index: 99999999; }Best regards,
IsmaelHey estleman,
Thank you for the inquiry.
Meta info are disabled by default in the List Layout – Simple option, but you can modify the template files to display them back or add a few css to override the style. To display the categories back for example, you can use this css code.
#top .av-blog-meta-category-disabled .minor-meta.blog-categories, #top .av-blog-meta-category-disabled .text-sep-cat { display: block; }Make sure that the meta info are enabled in the Enfold > Blog Layout > Blog meta elements settings.
Best regards,
IsmaelOctober 26, 2021 at 8:18 am in reply to: Increase output of cross-sells on the basket page above 4 #1326447Hey MotiveAgency,
Thank you for the inquiry.
You can try this code in the functions.php file to adjust the columns and number of items in the upsells section.
add_action("after_setup_theme", function() { global $avia_config; $avia_config['shop_single_column'] = 12; // columns for related products and upsells $avia_config['shop_single_column_items'] = 12; // number of items for related products and upsells }, 10, 1);If this doesn’t work, try to directly modify the avia_woocommerce_output_upsells function in the wp-content/themes/enfold/config-woocommerce/config.php file.
Best regards,
IsmaelOctober 26, 2021 at 8:14 am in reply to: Iphone 13 users unable to use gravity form signature #1326445Hey navindesigns,
Thank you for the inquiry.
Is it working correctly when a default theme is activated? We tried to create a signature using the field on a device emulation but it seems impossible because the whole document moves or scrolls when we start to draw a line.
Screenshot: https://imgur.com/XqXTTdB
It works fine on desktop.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
You can add two rows with 3 columns. In the first row, add the images and icon boxes in the second row. You can then pull the second row upwards and make it overlap with the first row by applying negative top margin to the columns. To make the columns in the second row smaller or thinner than the rows in the first column, apply a padding to them or control the width using custom css.
Best regards,
Ismael -
AuthorPosts
