Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the info.
We noticed that there is a minor syntax error in the above code, so we removed it. Sorry about that. Please try the snippet again or post the login details in the private field so that we could test the script properly.
Best regards,
IsmaelHi,
Yes, we understand. And as we explained it looks like it’s not working correctly because there is an extra space below the header, which looks like an actual part of the header but is actually a space created because the main container has a top padding. The header is only 44px in height and the code above should adjust the top padding of the main container so that it is not twice as tall as the header.
Best regards,
IsmaelHi,
Thank you for the update.
I’ve tried your custom css, but the problem still exists.
The css code above is supposed to take care of the big-preview container CLS. Do you still see a CLS issue on that container after adding the css code?
What happens when you remove the cp-module or the subscription form inside the entry-content container? There are also a lot of video and image elements in the entry-content container which are lazy loaded, and it is possible that this is affecting the CLS score. Have you tried disabling the lazy load option?
Best regards,
IsmaelHi,
Thank you for info.
Glad to know that you have found the issue. The code above initializes the theme’s implementation of the YT.Player API, which is probably conflicting with the AblePlayer’s youtube player implementation. By commenting it out, any element using the Youtube player such as the video and slider elements will not work properly.
Best regards,
IsmaelHey Tomasssu,
Thank you for the inquiry.
The theme register its own thumbnails and whenever you upload a product image, these thumbnails are automatically generated as well which is probably why the images takes up that much space in the server. If you don’t need those thumbnails, you can manually remove them using the following snippet in the functions.php file.
// Disable loads of Enfold & WP image sizes upon upload add_action('init', 'remove_enfold_image_sizes'); function remove_enfold_image_sizes() { // do NOT remove widget size, is used in backend portfolio items! // remove_image_size('widget'); remove_image_size('square'); remove_image_size('featured'); remove_image_size('featured_large'); remove_image_size('portfolio'); remove_image_size('portfolio_small'); remove_image_size('gallery'); remove_image_size('magazine'); remove_image_size('masonry'); remove_image_size('entry_without_sidebar'); remove_image_size('entry_with_sidebar'); remove_image_size('shop_thumbnail'); remove_image_size('shop_catalog'); remove_image_size('shop_single'); remove_image_size('shop_gallery_thumbnail'); }
After adding the snippet, use the following plugin to regenerate the images, which should also remove the unregistered thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails/
IMPORTANT: Please do not forget to create a backup or a restore point before doing the above steps.
Related thread: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1270140
Best regards,
IsmaelHi,
Thank you for the info.
Why do you add the whole iframe tag in the video field? It works fine when we remove the iframe tag from the Content > Select Slide Content > Choose Video field and use the actual Youtube URL instead. (see private field)
Best regards,
IsmaelJanuary 8, 2021 at 3:47 pm in reply to: Blog post image sizes suddenly all different sizes? #1271093Hi,
Thank you for the update.
We tried to select the preview image manually but for some reason, the original image is still displayed in the grid instead of the selected thumbnail. Did you happen to remove some images or do a clean up in the uploads folder? When you enable the Smush plugin, did you disable certain thumbnails?
Best regards,
IsmaelHey Thilakzan,
Thank you for the inquiry.
By default, the Advance Layout Builder (ALB) is disabled for the base shop page, but as described in the documentation, we could use the following snippet in the functions.php file to enable it.
add_theme_support( 'avia_custom_shop_page' );
However, please note that some features or options in the shop page may not work properly when this is enabled.
Best regards,
IsmaelJanuary 8, 2021 at 3:21 pm in reply to: Advanced Classifieds and Directories Pro – Listing Sidebar #1271087Hey Stuart,
Thank you for the inquiry.
Looks like you have managed to display the acadp widgets by using the Widget Area element from the advance layout builder. Do you need further assistance with this?
Best regards,
IsmaelJanuary 8, 2021 at 3:12 pm in reply to: content section – responsive – stretch to full width #1271086Hi,
Thank you for the clarification.
The whole image is not visible because its aspect ratio is different compare to the device or the screen. We can set the background image to be fully visible within the section but the it will get distorted, or there will be white spaces or gaps around the background image or within the content section.
You may need to add another version of the content section, toggle its visibility so that it only displays on mobile view and use an image that is actually resized for mobile view.
Best regards,
IsmaelHi,
Thank you for the inquiry.
The settings will only work when you are using the default or the classic editor. The featured image is not visible in this case because you are using the Advance Layout Builder. You may need to add the featured image manually using any image elements in the builder.
Best regards,
IsmaelJanuary 8, 2021 at 3:01 pm in reply to: 1st slide duration – full screen slider and page loader issue #1271083Hey zerodotnine,
Thank you for the inquiry.
When we checked the page, the slide duration only starts once the page preloader is finished, and the interval between each slide including the first is consistent, 5 seconds.
Best regards,
IsmaelHi,
Looks like this is a common issue with Facebook recently.
Have you tried to put the facebook sharer URL manually in the browser instead of clicking on the actual button? The theme just creates a button with the FB sharer link based on a certain pattern, which may look like the following.
https://www.facebook.com/sharer.php?u=https://kriesi.at/documentation/enfold/social-share-buttons/&t=Social%20Share%20Buttons
Best regards,
IsmaelJanuary 8, 2021 at 2:41 pm in reply to: Center and enlarge search field on search results page #1271080Hi,
Thank you for the info.
This is how we see the script in the document.
(function($) { (function($) { if(window.innerWidth >= 989) return; $(".av_searchform_wrapper").find("#s").attr("placeholder", "Search"); })(jQuery);
As you may noticed, the symbols are encoded or in their html entity form. This may be due to the wp_add_inline_script function. Please post the login details in the private field so that we could test it.
Best regards,
IsmaelHey phausner,
Thank you for the inquiry.
1.) We cannot find the “Pet Store” page anywhere in the site. Do you mean “Pet Care”? If you click on the Pet Care menu item, you are actually redirected to the Pet Care category page instead of the actual Pet Care page. This happens because the page and the category have the same name and slug, and when that is the case, WP automatically prioritize the archive page. You may need to rename the Pet Care page or change the slug of the Pet Care category.
And the reason the sidebar is not displaying on that page is because the sidebar for archive pages is disabled in the Enfold > Sidebar Settings. (see private field)
2.) The comments area is displaying properly when we checked one of the posts in the Pet Care archive page. (see private field)
Best regards,
IsmaelJanuary 8, 2021 at 2:27 pm in reply to: MASONRY and EINFACHER SLIDER are not working after Upgrade to WordPress 5.6 #1271075Hi,
It was probably an issue with the jQuery scripts and setting the library version to the old or the legacy version prevent the script errors from occurring. Please keep the jQuery migrate settings for now.
Have a nice day. :)
Best regards,
IsmaelJanuary 8, 2021 at 2:24 pm in reply to: Blog Layout Related Entries to Recent Entries Instead #1271071Hey Microserve_,
Thank you for the inquiry.
That should be possible by editing the default query of the get_posts function in the includes > related-posts.php file or template.
$my_query = get_posts( array( 'tag__in' => $tag_ids, 'post_type' => get_post_type($this_id), 'showposts'=>$postcount, 'ignore_sticky_posts'=>1, 'orderby'=>'rand', 'post__not_in' => array($this_id)) );
You may need to remove or adjust the value of the tag__in and the orderby parameters.
Best regards,
IsmaelHey grwebs,
Thank you for the inquiry.
When i did this – I put the first half at the beginning of the shortcode block and the last part at the end of the whole block it did not stick nor work.
Are you trying to hide the content of the advance layout builder? Did you separate the opening and closing shortcode tag in a separate code block element? That will probably not work. You may need to use multiple shortcodes in order to hide certain parts of the page and if you are using the advance layout builder, you may only be able to use their shortcodes on elements with text editors such as the code or text block element.
Best regards,
IsmaelHey vadikcoma,
Thank you for the inquiry.
The theme sets the height of the color section dynamically but for some reason this is a bit delayed. Is it still happening when the Performance > File Compression settings are disabled?
You could also try this code in the Quick CSS field to set manually set the height of the color section.
.av-minimum-height-75 .container, .av-cell-min-height-75 > .flex_cell { min-height: 75vh; }
Best regards,
IsmaelHi,
Sorry for the delay. The grid in the archive page is currently using the portfolio thumbnail and by default, the crop option for this thumbnail is enabled, so images may get cut off if the original image does not have the same aspect ratio as the thumbnail. If you want to prevent this from happening, you have to disable the crop option for the portfolio thumbnail. To do that, we have to add this snippet in the functions.php file.
function ava_enfold_image_sizes() { remove_image_size('portfolio'); add_image_size('portfolio', 495, 400, false ); } add_action('init', 'ava_enfold_image_sizes');
After adding the snippet, try to refresh the page, then upload the images again or regenerate the thumbnails using the following plugin.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelHey HolgerKohl,
Thank you for the inquiry.
It is possible that the mobile device where you are checking the page does not allow media autoplay by default, probably to save data or avoid distractions. You should be able to toggle an option somewhere in the device or browser settings in order to allow media or video autoplay.
Best regards,
IsmaelHi,
@Pas70: The site is currently using an older version of the theme, 4.7.2. You have to upgrade to version 4.7.6.4, then add the following snippet in the functions.php file to force the masonry items to reposition while the images are still loading.
@ancrerouge: Please refrain from posting any confidential info on a thread that you did not create yourself, because it is going to be visible to the post creator. To continue, please create your own thread and post the site details there instead.// https://kriesi.at/support/forum/enfold/#new-post
Best regards,
IsmaelHey cbroome12,
Thank you for the inquiry.
Are you referring to the video in the bottom right corner of the site? Based on your descriptions, this doesn’t look like an issue with the theme. Is it working properly when you switch to a default theme?
Best regards,
IsmaelHi,
You have to install another plugin in order to properly integrate Woocommerce with Polylang, and make the translations work. Please check the following link for more info about the integration.
// https://polylang.pro/downloads/polylang-for-woocommerce/
For further assistance with the integration, please contact the plugin authors or their support team.
Best regards,
IsmaelHey ClimbingSocks,
Thank you for the inquiry.
This is probably a script error, specifically with jQuery, so installing the Enable jQuery Migrate Helper plugin and setting the jQuery version to the legacy version may help.
// https://wordpress.org/plugins/enable-jquery-migrate-helper/
Best regards,
IsmaelJanuary 8, 2021 at 1:29 pm in reply to: Multiple issues:remove category from ur/order of menu items/sticky header mobile #1271043Hey therapiezentrumkahlgrund,
Thank you for the inquiry.
1.) Are you referring to the categories of the default posts? This should be possible using the post_type_link and post_link filter.
// https://kellenmace.com/remove-custom-post-type-slug-from-permalinks/
// https://developer.wordpress.org/reference/hooks/post_type_link/
// https://kriesi.at/support/topic/masonry-gallery-order-and-sizing/#post-741588
// https://kriesi.at/support/topic/portfolio-categories-into-url-permalink/#post-7358822.) You have to modify the order of the menu items in the Appearance > Menus panel.
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,
@phausner: Most plugins should work fine with the theme out of the box, but some may require template modification or additional customization to properly integrate its functionality or its layout with the theme. Let us know if you encounter any issues with the MemberPress plugin.
@kellykilgallon: Hello there! Please create a new thread and post the site details in the private field so that we could check the issue properly.
Best regards,
IsmaelHey RMcKee,
Thank you for the inquiry.
The following script should activate the Radiographic Systems category sort item on page load. Please add the snippet in the functions.php file
// activate a specific category sort item function ava_activate_sort_button() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', '(function($) { $(document).ready( function() { $(".radiographic-systems_sort_button").trigger("click"); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_activate_sort_button', 9999);
Best regards,
IsmaelHi,
Thank you for the update.
In the wp-config.php file, try to look for the DISALLOW_FILE_EDIT constant and set it to false or remove it completely.
// https://wordpress.org/support/article/hardening-wordpress/#disable-file-editing
This should enable the Appearance > Editor option back, and you should be able to edit the functions.php file from there.
Best regards,
IsmaelHi,
Glad to know that the initial fix is working. Could you provide a screenshot of the 3rd issue? Are you saying that the mobile menu container moves up when you swipe the screen up exposing the content in the bottom part? If that is the case, then this script might help.
// prevent mobile menu swipe function ava_script_mobile_menu_swipe() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $('#av-burger-menu-ul').bind('touchstart touchend touchup', function(event) { event.stopPropagation(); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_script_mobile_menu_swipe', 9999);
Best regards,
Ismael -
AuthorPosts