Forum Replies Created
-
AuthorPosts
-
Hi,
Glad to know that the solution is working. Yes, please open a new thread for the other inquiries to avoid confusion and make it easier for other users who might be looking for the same solution. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
The inline styles for the elements are not included in the shortcodes files anymore and the only way to bring them them back is to manually edit the files, which will take significant amount of modifications, or revert back to an old version of the theme just like what you did but it is not recommended. All custom styles will now be added in a style tag when the post css file option is disabled.
Why do you have to disable the post css files in the first place?
Best regards,
IsmaelHey jaimemerz,
Thank you for the inquiry.
You can set the contact form or any element to open as an inline content using the default lightbox in the theme. Please check this thread for a code sample.
// https://kriesi.at/support/topic/popup-window-3/#post-1337540
The Enfold > Theme Options > Light Modal Window option should be enabled.
Best regards,
IsmaelHi,
Thank you for the update.
Did you search for the _aviaLayoutBuilderCleanData custom field for that particular post? Are the characters displayed correctly in that field? You can search for the custom field in the wp_postmeta table. Please provide the page URL so that we can check the issue.
Did you select the language in the Settings > General > Site Language settings?
Best regards,
IsmaelHi,
Thanks for the update.
A new version of the theme is available on Themeforest and this might help fix the issue with the templates. Would you mind updating Enfold to version 4.8.9 first and WordPress to version 5.9? The current WordPress version in your installation is 5.8.3.
Best regards,
IsmaelFebruary 4, 2022 at 7:06 am in reply to: Layout looks not right on laptop, half picures, navigation is not right #1338818Hi,
No problem. Regarding the background, did you set the background position of the grid row cell to “center center”? You can also adjust the background position with css.
.flex_cell.av-9qpu20-9d03b03ffbaa1cfda145571dfff9b0b6 { background-position: 50% center !important; }
Best regards,
IsmaelHi,
Glad to know that the shop table is working correctly again. The function (avia_apply_quant_btn) that applies the buttons to the quantity field is located in the enfold/config-woocommerce/woocommerce-mod.js and it is not working because the shop table loads after the script. As you may noticed, there is a bit of a delay before the shop table displays, so the script fails to convert the quantity fields and add the quantity buttons. You may need to contact the plugin authors for additional assistance and ask them if the plugin triggers an event after the shop table loads. We can then listen for that event and execute the avia_apply_quant_btn function.
Best regards,
IsmaelHi,
1.) Any of those options should be fine, but we recommend the Quick CSS field or adding it in the child theme’s style.css file.
2.) Try to set the text-transform property to none, or just replace the css with this one.
.products .product h2, .products .product h3, .products .product h4, .products .product h5, .products .product h6, h2.woocommerce-loop-product__title { padding-top: 5px; font-size: 1em; line-height: 1.3em; font-weight: normal; margin: 0; text-transform: none !important; }
Best regards,
IsmaelHi,
Thank you for following up.
You can use the same code above and combine it with the filter, but with a few changes. Please try to replace block 574 with this code.
$categories = get_the_category($entry["ID"]); $separator = ' '; $cats = ''; if ( ! empty( $categories ) ) { $cats .= "<ul>"; foreach( $categories as $category ) { $cats .= '<li>' . esc_html( $category->name ) . '</li>'; } $cats .= "</ul>"; } $bg = '<div class="av-masonry-outerimage-container">'; $bg .= $cats; $bg .= $img_before; $bg .= "<div class='av-masonry-image-container' {$img_style} {$outer_title} {$outer_alt}>"; $bg .= $img_html; $bg .= '</div>'; $bg .= '</div>';
Best regards,
IsmaelFebruary 4, 2022 at 6:28 am in reply to: Enfold + WPML | posts without category (nav_menu_item) shown in blog #1338814Hi,
We will forward the issue to our channel. Can you manually edit the page and remove the blog posts element temporarily, or is the page translated using the default translation editor?
As you may noticed, there is no post type selection in the blog posts editor, so the theme includes all post types in the query by default and control what posts to retrieve using the tax_query or taxonomy query parameter, so if there are no posts or categories in the site, it will display all items from every post types because the tax_query parameter is blank. And since the blog posts element can only be added via builder, it is assumed that the user will only use the element when there are actually posts to display. It doesn’t really make sense to add an element in the builder that is not going to be used.
Best regards,
IsmaelHi,
You have to set the preview_mode to custom, then specify the image_size that you want to use.
'preview_mode' => 'custom', 'image_size' => 'featured_large',
Best regards,
IsmaelHi,
Glad that the changes worked. Regarding the author, try to replace the the_author function with the get_the_author_meta function and use the display_name field.
// https://developer.wordpress.org/reference/functions/get_the_author_meta/
Best regards,
IsmaelHey JaimBateman,
Thank you for the inquiry.
The solution above seems to be sufficient enough, but we will forward this thread to our channel for further consideration. Please keep the modifications for now.
If you would like to temporarily add the modification in your child theme and override the original file, please check this documentation.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
IsmaelHi,
Sorry about the screenshot. Please check this one again.
// https://1drv.ms/u/s!AjjTfXSRbKTvwCai99TCZQqxsFjN
Are you aware that the portfolio grid is not displaying the translated items? Regardless, we added the slider in the test pages above and the appropriate items displayed correctly for both the slider and the portfolio grid element, which means that the home pages were not translated properly.
Best regards,
IsmaelHi,
Thank you for the update.
It is probably easier if we create an example. Please check the post in the private field. We added three color sections in that post, one contains the image above the content and the other one below. We then applied a custom css class name (av-post-content-container) to the color section containing the text so that we can adjust and control the container width. This is the css code.
.av-post-content-container .container { width: 63%; }
You can use css media queries to adjust the width on different screen sizes.
Example:
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ .av-post-content-container .container { width: 63%; } }
This will only apply the changes on screens larger than 768px.
Best regards,
IsmaelHi,
Glad to know that you managed to make it work. To adjust the comment form’s width, please use this css code.
.av-buildercomment #disqus_thread { width: 63%; margin: 0 auto; }
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHi,
not ReCAPTCHA 2 or ReCAPTCHA 3 – but one called ReCAPTCHA v2
That seems to be the same thing. Did you review the documentation that we linked above? Please note that the reCAPTCHA v2 version in theme requires the “I’m not a robot” option, which is stated on the documentation above. If you want to use the invisible recaptcha or if you do not want to display the widget, use v3. Please check the toggles or tabs in this section for more info.
// https://kriesi.at/documentation/enfold/contact-form/#activate-google-captcha
Best regards,
IsmaelHi,
Thank you for the screenshots.
You may need to temporarily toggle or disable the Enfold > Performance > File Compression settings while editing the site, or just make sure to purge the cache after adjusting the advanced styling settings. If it’s still not working, please post the login details in the private field so that we can check the theme options.
Best regards,
IsmaelHi,
Great! Glad to know that the update fixed the issue. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey!
The filter you sent is for functions.php but I would like to change the size in the archive.php directly and don’t now where exactly.
The filter above will actually adjust the arguments in the archive.php file. You don’t have to edit the template file directly. But if you are curious where to adjust the postslider arguments or attributes in the archive.php file, just look for this code around line 56.
$atts = array( 'type' => 'grid', 'items' => get_option('posts_per_page'), 'columns' => 3, 'class' => 'avia-builder-el-no-sibling', 'paginate' => 'yes', 'use_main_query_pagination' => 'yes', 'custom_query' => array( 'post__in' => $post_ids, 'post_type' => get_post_types() ) );
You can add and set the preview_mode attribute to custom and specify the image_size .
Cheers!
IsmaelHi,
Thank you for the info.
The portfolio category selection displayed back when we deactivated the plugins. We are not really sure what happened but it might be due to the cache plugin. It seems to be working correctly now. Please check the screenshot in the private field.
Best regards,
IsmaelFebruary 3, 2022 at 10:06 am in reply to: How to delete demo Instal under wordpress.com as hoster easily and quickly? #1338648Hey NIck,
Thank you for the inquiry.
You might have accidentally included the users in the reset. Please make sure to only reset the themes, posts, posts meta and other options.
You can also try this plugin.
// https://wordpress.org/plugins/wp-reset/
Best regards,
IsmaelHi,
No problem. Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelFebruary 3, 2022 at 9:42 am in reply to: Sliders/Galeries duplicated without doing anything #1338640Hi,
Thank you for your understanding. Let us know in another thread if you have more questions.
Have a nice day.
Best regards,
IsmaelFebruary 3, 2022 at 9:39 am in reply to: SVG Divider in the bottom of Woocommerce shop-page? #1338638Hey Brolle,
Thank you for the inquiry.
but I can’t find any way to put it on the side where my shop is.
What do you mean by “side”? Please post the shop URL in the private field and provide us a screenshot of the section where you need to apply or place the divider. And FYI, you can create a custom shop page using the Advance Layout Builder. You need to add this code in the functions.php file.
add_theme_support( 'avia_custom_shop_page' );
For more info about the custom shop page, please check this documentation.
// https://kriesi.at/documentation/enfold/woocommerce-shop/#custom-woocommerce-shop-overview-with-advanced-layout-editor
Best regards,
IsmaelHey spooniverse,
Thank you for the inquiry.
Yes, you can adjust the thumbnail size in the archive pages by editing the archive.php file directly or by using the avf_post_slider_args filter.
add_filter("avf_post_slider_args", function($args, $context) { if( $content == "archive" ) { $args["preview_mode"] = "custom"; $args["image_size"] = "full"; } return $args; }, 10, 1);
These are the available thumbnail sizes.
square featured featured_large portfolio portfolio_small gallery magazine masonry entry_without_sidebar entry_with_sidebar shop_thumbnail shop_catalog shop_single shop_gallery_thumbnail
Adding an image to category template is possible but it will require significant amount of modifications. If you want to check how it has been implemented for the product categories, look for the avia_woo_edit_category_fields and the avia_woo_add_category_fields functions in the enfold/config-woocommerce/admin-options.php file. The functions are attached to thse hooks.
// https://developer.wordpress.org/reference/hooks/taxonomy_edit_form_fields/
// https://developer.wordpress.org/reference/hooks/taxonomy_add_form_fields/The actual banner function is in the enfold/config-woocommerce/config.php file.
Best regards,
IsmaelHi,
Is it really difficult to add this option to the theme?
Yes, it may sound simple but when you consider the multiple options that are available for the header and the combination of options that thousands of sites using Enfold have, adding this option could easily become more complicated. Unfortunately, this option will not be included in next patch yet. You will have to use css for now to make the header sticky on mobile view.
Best regards,
IsmaelFebruary 3, 2022 at 9:01 am in reply to: Enfold + WPML | posts without category (nav_menu_item) shown in blog #1338632Hi,
Thank you for the update.
According to the postslider.php file, the theme will automatically display all posts in the selected taxonomy when no category or term is selected. Unfortunately, the postslider element doesn’t handle cases where a category or a post doesn’t exists. To ensure that the post slider remains blank when there are no entries or categories, please add this code in the functions.php file.
add_filter("avia_post_slide_query", function($query, $params) { if(count($query["tax_query"]) == 0) { $query["post_type"] = "category"; } return $query; }, 10, 2);
Best regards,
IsmaelFebruary 3, 2022 at 8:39 am in reply to: Enfold + WPML | page layouts differ between languages #1338631Hi,
Using the translation editor there is no way to select “Use ALB” like when editing a page directly.
You should not use the ALB directly on translated pages. Always use the default translation editor to adjust the text of the existing elements in the original page. When editing a translated page, it will display ALB at first but will then redirect to the default translation editor. That is where you have to translate and adjust the content of the page.
Please check this documentation for more info on how to properly translate pages using WPML.
// https://kriesi.at/documentation/enfold/translation/
// https://wpml.org/documentation/theme-compatibility/enfold/#:~:text=To%20do%20so%20you%20need,Enfold%20%E2%86%92%20Custom%20Elements%20panel.&text=In%20the%20Language%20box%2C%20click,to%20WPML's%20Advanced%20Translation%20Editor.Best regards,
Ismael -
AuthorPosts