Forum Replies Created
-
AuthorPosts
-
Hi,
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_thumbnailAdding 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,
IsmaelHi,
Thank you for the info.
The post navigation is not displaying because the Enfold > Blog Layout > Deaktiviere die Beitrags-Navigation option is enabled. This option hides the post navigation, so we enabled it back. Please check the screenshot below.
Best regards,
IsmaelHi,
Thank you for the info.
The post navigation is not displaying because the Enfold > Blog Layout > Deaktiviere die Beitrags-Navigation option is enabled. This option hides the post navigation, so we enabled it back. Please check the screenshot below.
Best regards,
IsmaelFebruary 3, 2022 at 8:27 am in reply to: Using Enfold Responsive Table Functionality For Own Table Markup #1338628Hi,
Thank you for the update.
This is why we warned you that the changes is not going to work as you would expect it to. The heading row is rendered right above the other rows in the document, so expect it to render before the other rows on mobile view. It will not automatically render right after every other row as you would expect it to, at least not without a custom script. And the reason why it doesn’t respond like the default table shortcode is because the script (avia-table.js) that is supposed to adjust table on mobile view will only load if there is actually a table element in the page.
Another solution is to keep the default heading row hidden on mobile view and include the headers to the cells directly but you will have to repeat it for every cells. These headers can be set to only display on mobile view.
Example:
<tr> <td><span class="av-mobile-table-headers">Technische Daten</span> Schnittlänge</td> <td><span class="av-mobile-table-headers">KST-F</span> 40 x 30 mm</td> <td><span class="av-mobile-table-headers">KST-P</span> 40 x 30 mm</td> <td><span class="av-mobile-table-headers">KST-E</span> 40 x 30 mm</td> </tr>You can then add a css that will hide the av-mobile-table-headers span tag on desktop and display it on mobile view.
Best regards,
IsmaelHey Kyle,
Thank you for the inquiry.
Are you editing the site? We are trying to make changes to the functions.php file, but we always get an error in the logoslider.php file, which we didn’t touch.
Please try to edit the sc_post_title shortcode, look for the $post->ID and replace it with get_the_ID() or the avia_get_the_ID() function. Try to do the same with the other shortcodes.
Best regards,
IsmaelHey Brolle,
Thank you for the inquiry.
You can use this css code to adjust the style of the product title.
.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; }You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css. If it doesn’t work, please post the site URL in the private field so that we can inspect the product elements directly.
Best regards,
IsmaelFebruary 3, 2022 at 7:58 am in reply to: Layout looks not right on laptop, half picures, navigation is not right #1338624Hey rixi,
Thank you for the inquiry.
We could decrease the font size of the menu items and adjust the width of the logo on screens that are smaller than 1366px. Please add this code in the Quick CSS field or in the child theme’s style.css file.
@media only screen and (max-width: 1366px) { #top #header .av-main-nav>li>a { font-size: 13px; } .logo img, .logo svg { max-height: 75px; top: 10px; } }Best regards,
IsmaelHi,
Thank you for the info.
We will include a fix in the upcoming patch. For now, please update the masonry_entries.php and the masonry_gallery.php files, which are located in the config-templatebuilder > aviashortcodes directory within their respective folders. Please check the files in private field.
Best regards,
IsmaelHi,
Sure! Let us know if there is anything else that we can help you with. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
No problem. Glad we could be of help! Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
You can use this css code to adjust the font weight of the parent menu items.
#av-burger-menu-ul > li > a { font-weight: 600; }Best regards,
IsmaelHi,
Thanks for the update.
Try to increase the z-index of the header widget with this css.
#top #header #header_main .widget { position: absolute; right: 100px; top: -20px; z-index: 999; }The css rule above already exists, so all you need to do is add the z-index property. Let us know if that helps.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the offset is reset to 0 on mobile view. Please edit the js > avia.js file, look for this code around line 758 and remove it. You may need to temporarily disable the Enfold > Performance > File Compression
settings after editing the file.if( isMobile ) { fixedMainPadding = 0; }Best regards,
IsmaelHi,
No problem. Please let us know in a different thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
You cannot directly add form tags such as input, textarea or label elements to the advance layout builder because the element that contains the actual builder shortcodes is also a textarea element. Using these tags will break the advance layout builder. You will have to create a custom shortcode for the contact form and use that shortcode instead. Please check this documentation for more info.
// https://codex.wordpress.org/Shortcode_API
Example:
// custom web salesforce contact form shortcode function avs_web_salesforce_cf_shortcode_cb( $atts ){ $output = "something"; $output .= "something"; $output .= "the contact html here"; return $output; } add_shortcode( 'avs_web_salesforce_cf_shortcode', 'avs_web_salesforce_cf_shortcode_cb' );You can then use the shortcode in a code or text block element.
[avs_web_salesforce_cf_shortcode]Best regards,
IsmaelHey Anne,
Thank you for the inquiry.
You can use this code in the functions.php file to display the badge instead of the contact form message.
add_theme_support( "avia_recaptcha_show_legal_information" );Please note that when you are using v3, you will also have to register v2 as a fallback. For more info about the contact form and the spam protection, please check this documentation.
// https://kriesi.at/documentation/enfold/contact-form/#what-is-captcha
Best regards,
Ismael -
AuthorPosts
