Forum Replies Created
-
AuthorPosts
-
Hi,
Please provide a screenshot of the layout that you are trying to create, and a direct link to the page where the accordion should be displayed.
is there any way I can make sure the code won’t show in search engines?
Everything in the short description field will be included in the search results. Unfortunately, shortcodes will not render correctly and will only display as static text.
Best regards,
IsmaelHey zemag33,
Thank you for the inquiry.
The product items are showing properly in the “Click and collect” (boutique) page when we checked the page. Would you mind providing a screenshot of the issue, or a direct link to the page? We might not be checking the correct page. (see private field)
Best regards,
IsmaelAugust 19, 2021 at 5:43 am in reply to: Fixing incorrect behaviour of masonry sorting function #1317425Hi,
Do you have a staging version of the site? Please post it in the private field so that we could inspect the issue properly. We will tag one of our developers to check the issue.
Best regards,
IsmaelHey biancahuebsch,
Thank you for the inquiry.
Does it work when you move the image outside of the paragraph tag? It is not working correctly because the image is set to float to the right, which causes a float issue to the parent container, which is the paragraph tag. Removing the paragraph tag might help.
Best regards,
IsmaelHi,
Awesome. Glad to know it is working. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelAugust 19, 2021 at 5:29 am in reply to: 4.8.2 onwards Woocommerce main shop image is being lazy loaded #1317419Hi,
You could also try this modified enfold/config-woocommerce/config.php file.
// https://pastebin.com/i2ereGyM
We added the avia_woocommerce_lazy_load function, which is almost the same as the filter above.
Best regards,
IsmaelAugust 19, 2021 at 5:25 am in reply to: 4.8.2 onwards Woocommerce main shop image is being lazy loaded #1317418Hi,
The same code works fine on our end. It removes the loading attribute of the single product featured or main image. Did you copy it directly from the forum, and not from your email?
What is your workaround? Mind it sharing it here so that we could implement it to the theme.
Best regards,
IsmaelAugust 19, 2021 at 5:23 am in reply to: Enfold contact form includes the URL of the page it is sent from #1317416Hi,
You will have to append the links manually to the $message.
$message .= "<a href='https://facebook.com?utm_source=Facebook&utm_medium=Sepet1&utm_campaign=tr-yeni">Facebook></a>";If you need more assistance, please feel free to open another thread. We will close this one for now.
Best regards,
IsmaelHey MediaMix1,
Thank you for the inquiry.
Are you embedding a script or input tag in a code block element? Adding these kind of tags could break the page. You might have to create a custom shortcode for the embed script so that you do not have to add the tags directly in the builder.
// https://codex.wordpress.org/Shortcode_API
Example of a custom shortcode from the documentation.
// [bartag foo="foo-value"] function bartag_func( $atts ) { $a = shortcode_atts( array( 'foo' => 'something', 'bar' => 'something else', ), $atts ); return "foo = {$a['foo']}"; } add_shortcode( 'bartag', 'bartag_func' );The custom shortcode can be used like this.
[bartag]Best regards,
IsmaelHi,
The site is currently on maintenance mode. Let us know when it is back up again so that we can check the page settings.
Best regards,
IsmaelHey galgro,
Thank you for the inquiry.
Did you adjust the language locale in this line?
if ($lang == 'fr_FR')If you are trying to change the logo in the English version for example, the locale should be “en_US”.
function av_change_logo($logo){ $lang = pll_current_language('locale'); if ($lang == 'en_US') { $logo = "LOGO URL FOR ENGLISH LANGUAGE HERE"; } return $logo; } add_filter('avf_logo','av_change_logo');Best regards,
IsmaelHi,
Are you trying to show an accordion in the search results page? That is not possible, unless search engines actually support the feature. Only the elements that are listed in this article can be shown in the search results page.
// https://yoast.com/elements-of-the-google-search-result-page/
The accordion under the “People also ask” section is automatically generated by Google. You cannot directly control it.
Best regards,
IsmaelHi,
You can disable the search icon by toggling the Append search icon to main menu option in the Enfold > Main Menu > General panel. The toggle is located below the Separator between menu items settings.
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,
IsmaelAugust 18, 2021 at 7:39 am in reply to: 4.8.2 onwards Woocommerce main shop image is being lazy loaded #1317288Hi Jason,
Thank you for following up.
The filter above actually removes the loading attribute of the product’s main image (shop_single), so it should be a viable solution, temporarily. Did you try it?
Best regards,
IsmaelHey simonac,
Thank you for the inquiry.
Make sure that the embedded video is using “https” instead of “http” — check the video URL. It is not loading because of the following error.
Mixed Content: The page at 'https://site.com/akr/' was loaded over HTTPS, but requested an insecure frame 'http://site.com/wp-content/uploads/2017/03/Diesel%20gas%20Cylinder.mp4?iframe=true'. This request has been blocked; the content must be served over HTTPS.Best regards,
IsmaelAugust 18, 2021 at 7:31 am in reply to: Filter the color_sets array for custom color sections #1317284Hey Patrick,
Thank you for the info.
We have tagged one of our developers to check the issue. We will also forward the thread to our channel for further considerations. Please kindly wait for the reply.
Best regards,
IsmaelAugust 18, 2021 at 7:20 am in reply to: Which scripts are there for loading the mega menu? Caching / Performance #1317282Hey S.,
Thank you for the inquiry.
You can find the mega menu script in the themes/enfold/js/avia-snippet-megamenu.js file. It is registered in the functions.php file around line 486, handle is “avia-megamenu”.
//mega menu inclusion (only necessary with sub menu items) $condition = ( avia_get_submenu_count('avia') > 0 ); avia_enqueue_script_conditionally( $condition , 'avia-megamenu', $template_url . '/js/avia-snippet-megamenu.js', array( 'avia-default' ), $vn, true );Best regards,
IsmaelAugust 18, 2021 at 7:15 am in reply to: Issues with Avia Layout Architect and PDF Print Plugins (shortcode rendering) #1317278Hi,
Alright. Let us know when the author replies. We will keep the thread open.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
The only box that the theme actually generates in that list is the Layout box, so that is the only box that we can toggle for now. For the other boxes such as the Open Graph and Product Description, you will have to contact the plugin authors.
We can use the following filter in the functions.php file to control the visibility of the Layout box based on the current user.
/* control builder boxes visibility */ function add_builder_to_posttype($metabox) { $user = wp_get_current_user(); foreach($metabox as &$meta) { if($meta['id'] == 'layout' && in_array( 'author', (array) $user->roles )) { unset($meta['page']["product"]); } } return $metabox; } add_filter('avf_builder_boxes', 'add_builder_to_posttype');The filter above disables the Layout box when the current user is an “author”.
if($meta['id'] == 'layout' && in_array( 'author', (array) $user->roles ))You can also use the current_user_can function to check for the capability of the current user and go from there.
// https://developer.wordpress.org/reference/functions/current_user_can/
Best regards,
IsmaelHey Lukasz,
Thank you for the inquiries.
1.) We do not really see any difference on how the masonry items behave on both screens (1333px and 1920px) when loading more posts or items. Would you mind providing a screenshot or a screencast?
2.) Yes, you should be able to edit the logo style either by using a filter or by editing the template files.
3.) Yes, the vertical or the sidebar menu supports submenus.
Best regards,
IsmaelHi,
No problem. Glad to know that it is now working. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
We cannot seem to reproduce the issue on our end. The columns responds and resize correctly when we resize the viewport or browser screen. What is the size or width of the screen in the screenshot above?
Have you tried creating more css media queries to adjust the width of the columns on smaller screens?
Example:
@media only screen and (max-width: 989px) { #footer .av_one_fourth { margin-left: 6%; width: 20.5%; } }Best regards,
IsmaelHi,
Thank you for the update.
The avf_header_setting_filter filter should help if you want to enable the transparent header option for posts without editing them manually. Usage example can be found in the following threads.
// https://kriesi.at/support/topic/transparent-header-on-woocommerce-product-page/#post-1224884
// https://kriesi.at/support/topic/change-theme-options-on-a-per-page-basis/#post-1286821
// https://kriesi.at/support/topic/header-visibility-and-transparency/#post-1227925You have to adjust the header_transparency and the header_class parameters.
$header['header_transparency'] = 'header_transparency'; $header['header_class'] .= " av_header_transparency";But if you want to add new sections or elements under the header, then you would have to modify the template files directly, or use hooks such as ava_after_main_container or ava_after_main_title.
Best regards,
IsmaelHi,
Thank you for the update.
You can use this code in the Quick CSS field to remove the top margin of the first row on mobile view.
@media only screen and (max-width: 767px) { .home #av_section_1 .flex_column_table { margin-top: 0 !important; } }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelAugust 18, 2021 at 6:20 am in reply to: icons downloaded from flaticon (as icon fonts) not showing up on Safari #1317259Hi,
Thank you for the update.
The custom icons in the tab section titles are now displaying correctly on Chrome. How did you fix it?
Screenshot on Chrome: https://imgur.com/72EFG5n
Best regards,
IsmaelHi Chris,
Yeah, that is odd. But I am glad that it is finally working. Please let us know in another thread if you need anything else. We will close this one for now.
Have a nice day.
Best regards,
IsmaelHi,
The TEC template is quite different from the MEC template, so we cannot be sure. As suggested above, you may need to override the existing MEC templates or create your own template files. Unfortunately, this kind of modification is beyond the scope of support.
Best regards,
IsmaelHey Bertrand,
Thank you for the inquiry.
The filter above should have worked. Please post the login details in the private field so that we could check the issue properly.
Best regards,
IsmaelHi,
Thank you for the info.
It is not displaying correctly because the blog.css file is not being loaded in the page. Did you set the Enfold > Performance > Disabling of template builder elements to the second option?
Try to add this code in the Quick CSS field to adjust the style of social share tooltip.
.avia-related-tooltip.avia-tt { position: absolute; z-index: 9999999; padding: 0; width: 200px; border-radius: 2px; box-shadow: 0px 3px 13px 0px rgb(0 0 0 / 10%); border-width: 1px; border-style: solid; padding: 15px; margin-top: -10px; }Best regards,
Ismael -
AuthorPosts
