Forum Replies Created
-
AuthorPosts
-
Hi,
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,
IsmaelHey Yory,
Thank you for the inquiry.
You can use the default editor or the Advance Layout Builder (ALB) to create a custom 404 page. Once the page is created, you have to set the Enfold > Theme Options > Custom Error 404 Page to the second or third option, then Select Your Custom Error 404 Page in the dropdown.
Best regards,
IsmaelHey elsmore01,
Thank you for the inquiry.
This box pops up whenever we select an incorrect answer.
Screenshot: https://imgur.com/AHpm7pd
The plugin is probably looking for another container to append the error message. You may need to ask the plugin developers for additional info.
Best regards,
IsmaelOctober 25, 2021 at 12:27 pm in reply to: Blog Masonry – gaps between images, overlapping images #1326310Hi,
No problem. Please let us know if anything comes up. We will keep the thread open.
Best regards,
IsmaelHi,
Because it looks you are trying to create custom shortcodes to render elements with predefined options. You can do the same with the Custom Elements Templates or the Templates option. Please open new threads for the new issues.
Best regards,
IsmaelHi,
Alright! Please feel free to open a new thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelOctober 25, 2021 at 12:22 pm in reply to: custom.css and other avia based css are not loaded. #1326306Hey ovationits,
Thank you for the inquiry.
Did you import and export the theme options from the old site to the new one? The stylesheets or the css files in the new site are not loaded individually because they have been combined and compressed into a single file. You can deactivate the css compression in the Enfold > Performance > File Compression settings.
Best regards,
IsmaelHey Ikyo,
Thank you for the inquiry.
The shortcode above should still work in the latest version. But it will only show child categories and you have to provide the ID of the parent term or category. Did you use the “portfolio_category” shortcode in a text or code block?
[portfolio_category id="ID-OF-THE-PARENT-CATEGORY"]
If you want to display all categories, replace the shortcode snippet with the following code.
function show_portfolio_category_func($atts) { global $post; $the_terms = get_the_terms( $post->ID , 'portfolio_entries'); $output = ''; foreach($the_terms as $term) { $termlink = get_term_link($term->term_id, $term->taxonomy); $output .= '<span class="portfolio_cat"><a href='.$termlink.'>'.$term->name.' </a></span>'; } return $output; } add_shortcode('portfolio_category', 'show_portfolio_category_func');
Best regards,
IsmaelHey Gil,
Thank you for the inquiry.
Do you have a Themeforest account? You will have to purchase a new theme license (regular) using your account and generate a new API key. A new regular license comes with 6 months support that can be extended to 12 months. Unfortunately, you cannot extend support on an item that you did not actually purchased.
Best regards,
Ismael -
AuthorPosts