Forum Replies Created
-
AuthorPosts
-
Hi,
Did you add the code or filter in the functions.php file? You have to add the code manually and change the line that we mentioned above.
Best regards,
IsmaelHey Monika,
Thank you for the inquiry.
You can set the theme to only load stylesheets and scripts for elements that are actually used in the page. To do that, set the Enfold > Performance > Disabling of template builder elements settings to the second option and disable the Performance > File Compression settings. You can then install a plugin such as Autoptimize to compress and minify the scripts and stylesheets.
Best regards,
IsmaelHey Monika,
Thank you for the inquiry.
Yes, the elements will still exist in the page but the theme will hide them or prevent them from displaying using css and css media queries. Have you tried optimizing the site to improve the loading speed?
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.htmlBest regards,
IsmaelHi,
Thank you for the update.
1.) Yes, you have to create the folder manually.
2.) It is not displaying the selected size because the actual marker image is only 80x80px. You may have to reselect the marker image or upload it again. Make sure that the minimum size is 160x160px.
Best regards,
IsmaelHi,
The theme options should stay intact when you switch to a different theme and go back. But all the same, you should still create a site backup or a restore point just in case.
The issue does not exist on most Enfold installations and on our own server, so this is likely not an issue with the theme. We have not encounter other reports or threads describing the same issue that have not been resolved by disabling the cache, which seems to be the issue based on your description.
Best regards,
IsmaelJune 22, 2021 at 10:39 am in reply to: Gallery Thumbnail Layout Issue on Chromium-based browsers #1306902Hi,
Yes, the css has been added in the gallery.css file, which should be included in the next patch.
Best regards,
IsmaelJune 22, 2021 at 10:37 am in reply to: Update avia-builder-rtl.css when using a child theme #1306900Hi,
Did you toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code? Make sure to purge the cache too before checking the page.
.rtl div.avia_layout_column, .rtl div.avia_layout_section, .rtl div.avia-highlight{ float: left !important; } .rtl div.avia_layout_column.avia-first-col{ clear: left !important; }Best regards,
IsmaelHi,
We NOT are saying that this is not a theme issue. We already told you that we cannot figure out the problem. Please note that we did not create the layer slider and only bundled it with the theme.
Best regards,
IsmaelHey dondela,
Thank you for the inquiry.
This css should move the burger menu to the left of the logo.
.html_header_top.html_bottom_nav_header #header_main_alternate .main_menu { clear: none; position: absolute; line-height: 40px; width: auto; float: none; right: auto; left: 50px; top: 30px; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings while configuring the site.
Best regards,
IsmaelJune 22, 2021 at 6:50 am in reply to: Videos play automaticly, although autoplay has been deactivated #1306869Hi,
Thank you for the update.
Whenever we check the page, only the color section video is playing automatically, other videos are paused or stopped.
Are you referring to the preloading? You can set the Advanced > Privacy Settings > Lazy Load videos to the second option to prevent the videos from preloading.
Best regards,
IsmaelHey Stefano,
Thank you for the inquiry.
Editing the template file directly should be enough to adjust the query. We can use hooks such as pre_get_posts but that would mean filtering other queries to make sure that we are actually adjusting the query for the related posts, which is more complicated than adjusting the query directly from the template.
Best regards,
IsmaelHey kilimats,
Thank you for the inquiry.
The default widget will actually display when the widget area is empty. Have you tried adding any widgets in the Appearance > Widgets panel?
Best regards,
IsmaelHi,
Thank you for the info.
Did you add or use the avf_which_archive_output filter in the functions.php file? By default, the name of the category should display in the archive pages, not the title of the first post.
Best regards,
IsmaelHi,
Yes, you can add the whole code directly in the field or just add the tracking ID. It should work fine.
Best regards,
IsmaelHey laboiteapixels12,
Thank you for the inquiry.
You can add another button for the other language in the Privacy & Cookies > Cookie Handling > Buttons section, then we can add a few css code to show the appropriate button for the current language. Please provide the site URL in the private field so that we can check it properly.
Best regards,
IsmaelHi,
You can find the theme demo here.
// https://kriesi.at/themes/enfold-overview/
This is a page with a full screen slider.
// https://kriesi.at/themes/enfold-2017/elements/fullscreen-slider/
Best regards,
IsmaelJune 22, 2021 at 5:33 am in reply to: SHop archive and product category pages show sidebar even though disabled #1306853Hey kilimats,
Thank you for the inquiry.
Did you override the product templates in your child theme? It is possible that the settings are not working correctly because the site is using a custom template. Please provide a link to an archive or shop page so that we can check it.
Best regards,
IsmaelHey Tobias,
Thank you for the inquiry.
Are you referring to the masonry items’ animation? You can use this css code to disable it.
.av-masonry-image-container, .av-inner-masonry-content, .av-masonry-pagination { -webkit-transition: none; transition: none; opacity: 1; }We checked the site on Firefox but we do not see any issue with it.
Best regards,
IsmaelHi,
This must occur during the original upload. Is that true? If so, it would explain why my migration skipped the thumbnailing process.
Yes, the thumbnails are generated when uploading an image.
I am a bit concerned about this. Are all of the sizes necessary — and is there any way to reduce the number of thumbs generated?
You can actually disable every registered thumbnails without causing any problem. WordPress will just fall back to the original image when necessary. The thumbnails are added to improve the site’s loading speed. They are there so that WordPress or the theme will not have to use the largest image when a smaller one will do.
To unset or deregister the thumbnails, you can use this snippet in the functions.php file.
// deregister theme thumbnails function ava_remove_enfold_image_sizes() { 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'); } add_action('init', 'ava_remove_enfold_image_sizes');Next time an image is uploaded, the thumbnails listed above will not be generated.
Best regards,
IsmaelHi,
Thank you for the update.
You can set the iframe to float to the right.
iframe { float: right; }The css code above will affect every iframe element in the site, so you may need to apply a unique id or class name to the elements that you want to adjust.
Best regards,
IsmaelHi,
Yes, you have been banished from the forum. ;D
The font is actually added at the very bottom of the font dropdown or the font selection. We selected it again and re-save the theme options.
Thank you for your patience.
Best regards,
IsmaelHi,
Glad to know that it is working. Regarding the image alignment, you can replace the css with this one.
.big-preview.single-big a img { width: auto; margin: 0 auto; }Best regards,
IsmaelHi,
It is probably not an issue with the theme, only with the layer slider. You can try it with a default theme first, see if the issue persists.
Best regards,
IsmaelHey sasha,
Thank you for the inquiry.
Which specific css are you trying to override? Have you tried using the !important rule to give priority to the css rules in the style.css file?
// https://css-tricks.com/when-using-important-is-the-right-choice/
Best regards,
IsmaelHi,
Thank you for the inquiry.
Did you revert the postslider.php file back to default before adding the latest code? To exclude certain taxonomies, you have to include it in the array in this line.
$excluded_taxonomies = array_merge( get_taxonomies( array( ‘public’ => false ) ), array(‘post_tag’,’post_format’) );Include the name of the taxonomy that you want to exclude in this array.
array(‘post_tag’,’post_format’)Best regards,
IsmaelHi,
Alright. Glad to know that it is now working. Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
The theme automatically disables the navigation when there is a full width element in the page such as the layer slider. To alter that behavior, try to add this filter in the functions.php file.
function avia_remove_fullwidth_slider_check($settings) { $settings['is_fullwidth'] = false; return $settings; } add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1);Best regards,
IsmaelJune 21, 2021 at 8:07 am in reply to: Change Header tag of Woocommerce category page description #1306671Hey waxingmedia,
Thank you for the inquiry.
You might have to move the whole avia_woocommerce_parallax_banner function and all the associated hooks or functions in the child theme’s functions.php file. The following threads might help.
// https://kriesi.at/support/topic/woocommerce-category-description-displayed-in-title-header/#post-1298715
// https://kriesi.at/support/topic/product-category-pages-full-width-page-banner-and-description-updated/#post-877483Best regards,
IsmaelJune 21, 2021 at 8:04 am in reply to: Videos play automaticly, although autoplay has been deactivated #1306670Hey Blatze,
Thank you for the inquiry.
There are a lot of videos in the home page. Which of them are not supposed to play automatically?
Best regards,
IsmaelJune 21, 2021 at 7:58 am in reply to: Google recaptcha is displayed in wrong language (russian) #1306669Hey Paul,
Thank you for the inquiry.
Looks like Flemish is not available for recaptcha, or the API does not have this translation yet.
// https://developers.google.com/recaptcha/docs/language
To fix the issue, we might have to set the hl parameter manually in the enfold/framework/js/conditional_load/avia_google_recaptcha_api.js around line 210.
switch( this.version ) { case 'avia_recaptcha_v2': src += '?onload=av_recaptcha_main_api_loaded&render=explicit'; break; case 'avia_recaptcha_v3': src += '?onload=av_recaptcha_main_api_loaded&render=' + this.site_key3; break; }Replace the code with:
var lang = document.getElementsByTagName("html")[0].getAttribute("lang").replace("-", "_"); switch( this.version ) { case 'avia_recaptcha_v2': src += '?onload=av_recaptcha_main_api_loaded&render=explicit&hl=' + lang; break; case 'avia_recaptcha_v3': src += '?onload=av_recaptcha_main_api_loaded&render=' + this.site_key3 + '&hl=' + lang; break; }Best regards,
Ismael -
AuthorPosts
