Forum Replies Created
-
AuthorPosts
-
Hey lkhst,
Thank you for the inquiry.
You have to modify the enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php file and look for this code around line 314.
<strong> $c = array( array( 'type' => 'template', 'template_id' => 'columns_count_icon_switcher', 'std' => array( 'default' => '3' ), 'lockable' => true, 'heading' => array(), 'id_sizes' => array( 'default' => 'columns' ), 'subtype' => array( 'default' => array( __( '1 Columns', 'avia_framework' ) => '1', __( '2 Columns', 'avia_framework' ) => '2', __( '3 Columns', 'avia_framework' ) => '3', __( '4 Columns', 'avia_framework' ) => '4', __( '5 Columns', 'avia_framework' ) => '5', __( '6 Columns', 'avia_framework' ) => '6', __( '7 Columns', 'avia_framework' ) => '7', __( '8 Columns', 'avia_framework' ) => '8', ) ) ), );
You can increase the number of columns in the dropdown by editing the subtype array and adding more column options.
You can then modify this block of code around line 1120 and add new grid_class for the additional column options.
switch( $this->config['columns'] ) { case '1': $this->grid_class = 'av_fullwidth'; break; case '2': $this->grid_class = 'av_one_half'; break; case '3': $this->grid_class = 'av_one_third'; break; case '4': $this->grid_class = 'av_one_fourth'; break; case '5': $this->grid_class = 'av_one_fifth'; break; case '6': $this->grid_class = 'av_one_sixth'; break; case '7': $this->grid_class = 'av_one_seventh'; break; case '8': $this->grid_class = 'av_one_eighth'; break; default: $this->grid_class = 'av_one_third'; break; }
You may also need to add css for the new columns.
Best regards,
IsmaelHi,
Thank you for the info.
We added this filter in the functions.php file to display the excerpt of the masonry items instead of the actual content.
function avf_masonry_entry_content_mod($content, $entry, $config) { return get_the_excerpt($entry["ID"]); } add_filter('avf_masonry_entry_content', 'avf_masonry_entry_content_mod', 10, 3);
Best regards,
IsmaelHi,
@lkhst: You can check the required modifications in the following thread.// https://kriesi.at/support/topic/logo-slider-max-images-8-would-like-10/
Please feel free to open another thread if you need more help with this.
Best regards,
IsmaelHi!
Did you modify the avia_woocommerce_add_body_classes function in enfold/config-woocommerce/config.php file? The class name “product” should be added to products using the ALB but we are not seeing it in the product page above. The add-to-cart-variation.js file is now loading correctly but it requires the product class name which will be added once you modify the avia_woocommerce_add_body_classes function in the config.php file as suggested above.
Thank you for your patience.
Regards,
IsmaelHey!
Thank you for waiting.
To fix the issue with the product shortcode, please edit the enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php file, add update it using this code ( https://pastebin.com/cEDU5HQ4 ). Then edit the enfold/config-woocommerce/config.php file and update the avia_woocommerce_add_body_classes function around line 103 using this code.
function avia_woocommerce_add_body_classes( $classes, $class ) { global $product; if( avia_woocommerce_version_check( '3.0' ) ) { $classes[] = 'avia-woocommerce-30'; } /** * Adds the product class name to the body tag when ALB is activem, required by WC scripts such as add-to-cart-variation.js * * https://kriesi.at/support/topic/sku-on-product-page-disappeared-with-theme-update/ */ if( is_product() && Avia_Builder()->get_alb_builder_status( $product->get_id() ) == 'active' ) { $classes[] = 'product'; } return $classes; }
Please make sure to purge the cache after doing the steps above or before testing the page.
Best regards,
IsmaelHi,
Did you set the “Styling > Background Image > Background Repeat” settings to “Stretch to fit”? This will stretch the image and make sure that it covers the entire container.
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHi,
Concerning masonry there is still a problem: when switiching to “display title and text preview” I get the following result: https://bit.ly/3JcsyRe
Looks like you are using the Advance Layout Builder (ALB) for your posts, which is why the builder shortcodes are displaying in the excerpt. To get rid of the shortcodes, you have to edit the posts and add the summary or excerpt in the Excerpt box manually.
Best regards,
IsmaelHi,
@webpunks: The same filter (avf_default_iconfont) should still work in the latest version of the theme.
// disable entypo-fontello add_filter('avf_default_iconfont', function($icon_font) { return null; }, 10, 1);
Best regards,
IsmaelHi,
But what happens if you have new code in video.php? or am I wrong?
You are actually correct. But please note that we do not constantly change every files in the theme on each update or patch, so you will only have to update the override or the modified file if there are changes in the original shortcodes files or if there are issues with the modified elements. You can check these updates in the change log.
Best regards,
IsmaelHi,
Thank you for the update.
The links or the pages above do not exist, they redirect to a 404-not-found page. Are the pages accessible without logging in?
Best regards,
IsmaelHi,
Thank you for the inquiry
We can see the issue on Firefox MacOS but we are not sure what is causing it. The default css looks correct. To fix the issue temporarily, try to add this css code.
.avia-mozilla .avia-gallery-thumb { display: flex; flex-direction: row; flex-wrap: wrap; }
Best regards,
IsmaelHey Xinthie,
Thank you for the inquiry.
We noticed that every image in the slider has the is-pending-load parameter in the URL. Did you install an image lazy loading plugin? The plugin might be delaying the image loading or it is not compatible with the layer slider.
Best regards,
IsmaelHi,
You’re welcome! Glad we could be of help. Please feel free to open another thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHey SandraSquires,
Thank you for the inquiry.
When scrolling down, we noticed that some parts of the header do not scroll with the document, only the logo and the menu container. Please check the screenshot below.
Did you apply any modifications (css, scripts) to the header?
screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwEPReF6yqlyfalnk?e=T6hWLu
Best regards,
IsmaelHi,
You will have to update it again if you did the modification directly in the parent theme. To preserve the modification or the changes in that file, you can override the shortcode file in the child theme directory. Please check this documentation for more info.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
You need to use the filter provided in the documentation, create a folder called “shortcodes” in the child theme directory and create a copy of the shortcode file. You can then do the modification in the copied file.
Best regards,
IsmaelHi,
Thank you for the clarification.
For the single post page, you have to modify the includes > loop-index.php file and define a different thumbnail in this code around line 85.
/* * retrieve slider, title and content for this post,... */ $size = strpos( $blog_style, 'big' ) ? ( ( strpos( $current_post['post_layout'], 'sidebar' ) !== false ) ? 'entry_with_sidebar' : 'entry_without_sidebar' ) : 'square';
The current thumbnail that is being used is called “entry_without_sidebar” which has a maximum size of 1210x423px. You can replace the current thumbnail with another image with a different size. This is a list of available thumbnails and their corresponding dimension.
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines $avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
Best regards,
IsmaelHi,
Glad to know that you managed to find a css solution. Unfortunately, these kind of changes will require significant amount of modifications. Please keep the css changes for now.
Thank you for your patience.
Best regards,
IsmaelHi,
Sorry for the troubles. It seems to be working properly now. When we clicked the anchor link in one of the tabs, the document properly scrolls to the target tab. The screenshot below shows where the document lands when we clicked the Einzelübernachtungen anchor inside the Weekends tab.
Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwELsmThZZxfbIC2o?e=DIZtv4
Thank you for your patience.
Best regards,
IsmaelHey fruocco66,
Thank you for the inquiry.
Yes, the theme is compatible with the WPML plugin. Please check this documentation for more info on how to translate pages that were built using the Advance Layout Builder.
// https://kriesi.at/documentation/enfold/translation/#how-to-translate-pages-built-with-enfold-using-wpml
// https://wpml.org/documentation/theme-compatibility/enfold/Best regards,
IsmaelHey veritrader,
Thank you for the inquiry.
We cannot find the sidebar or the widgets in the page above and it looks like you are using a different builder. Which plugin are you using? You may need to ask the plugin authors for additional assistance regarding the widget issue.
Best regards,
IsmaelMarch 15, 2022 at 6:37 am in reply to: Blog Ansicht – Beitragsdatum in Englisch statt auf Deutsch #1344488Hi,
Thank you for the info.
If a new version is not showing in the theme options, you can instead download the theme directly from your Themeforest account and update the theme manually via FTP. Please check this documentation for more info.
// https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
Best regards,
IsmaelHi,
Thank you for the clarification.
1.) To change the font of the product title, try to use this css code.
.products .product h2, .products .product h3, .products .product h4, .products .product h5, .products .product h6, h2.woocommerce-loop-product__title { font-family: Arial; }
You may need to load your own custom font manually or with the help of a plugin. Please check this article for more info on how to load your own custom fonts.
// https://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/
If you want to use a plugin, this should help.
// https://wordpress.org/plugins/custom-fonts/
2-3.) To remove the MWST text and the product borders, please use this css code in the Quick CSS field or add it in the style.css file in the child theme directory.
#top .wc-gzd-additional-info.tax-info { display: none; } #top .inner_product { border: 0; }
Best regards,
IsmaelHi,
Thank you for the update.
The title of the masonry items are displaying correctly when we checked the site. Please check the screenshot below.
Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwEEEy0_-L10UPP7p?e=aGXAex
And regarding the footer issue, you may need to update the footer.php file in the child theme directory. Get the latest copy of the file from the parent theme and override the current one.
Best regards,
IsmaelHey Snerp,
Thank you for the inquiry.
The alternating colors are still visible on our installation. Did you adjust the style of the table with custom css? Please post the site URL in the private field so that we can check the table element directly.
To adjust the font color of the table cells, try to use this css code.
.main_color .pricing-table li { color: blue; } .main_color table caption, .main_color tr:nth-child(even), .main_color .pricing-table>li:nth-child(even), #top .main_color .avia-data-table.avia_pricing_minimal td { color: red; }
Best regards,
IsmaelHey Alfredo,
Thank you for the inquiry.
The plugin may not be compatible with the theme. Also, please note that Enfold does not contain any AMP compatible markups, so it is not going to pass the AMP test. You may need to optimize the site in other ways such as using compressed images and minifying the source files.
Please check the following articles for more info about site optimization.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlBest regards,
IsmaelHey bauchope,
Thank you for the inquiry.
The rendered size of the images will depend on the current screen resolution but for a standard 1080p (1920x1080px) monitors, the recommended image width is 500px at least.
To adjust the number of columns, you have to modify the taxonomy-portfolio_entries.php file and adjust the columns parameter or attribute in this code around line 33.
$grid = new avia_post_grid( array( 'linking' => '', 'columns' => '3', 'contents' => 'title', 'sort' => 'no', 'paginate' => 'yes', 'set_breadcrumb' => false, ));
Best regards,
IsmaelHey Graham,
Thank you for the inquiry.
We are able to reproduce the issue on a browser device emulation but it just might be an issue with a missing extension in the emulator. Did the users try using different browsers? Is it working properly when you switch to a different theme?
Best regards,
IsmaelHi,
Thank you for the clarification.
This is not working because the wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.js file is not loaded when the builder is active. And since the product meta is a separate builder element of its own, the product meta container which contains the SKU is also outside the variations form. It should be inside the form for this to work properly. We will forward the issue to our channel for further investigation.
Best regards,
IsmaelHi,
It might be limited by its container or column, which has a width that is half or 50% of the content container. The rendered size is indeed 410x410px but the intrinsic or actual image size that is loaded is 512x512px.
Best regards,
Ismael -
AuthorPosts