Forum Replies Created
-
AuthorPosts
-
Hi,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:#top .avia-slideshow-button { margin-left : 35px; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey woogie07,
The errors such as/public_html/wp-includes/l10n.php on line 1049etc, are pointing to path declares in WordPress, I believe this is related to your console error:Uncaught ReferenceError: wp is not definedtypically this is from the the “Load Javascript deferred” setting in WP Rocket, or the Async Javascript plugin, or autoptimize.
Please check if you have any plugins that are deferring javascript or if you are using the option Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer with another plugin.
You also have another errorUncaught SyntaxError: Unexpected token ';'but I can’t see where it’s coming from because your javascript is merged with Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression
If you can’t find what is deferring your javascript then include an admin login in the Private Content area so we can investigate.Best regards,
MikeHi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJuly 9, 2022 at 2:21 pm in reply to: Layerslider Buttonlink Translation with string-translation #1357785Hey Michael,
Thank you for your patience, as I understand your question you want to change the link url based on language, is the button text already translating or does this also need to change?
The first idea that I have is to create two layer buttons with different custom IDs in the layerslider and use css to show/hide based on language.
The second idea is to use javascript to change the button url based on language.
Please link to a test page that we can examine to assist with which of these two you would like to try, that is if you want to try the css option, please create two buttons with different IDs in the layerslider and like to the page so we can test it in each language.
If you want to try using javascript with one button because WPML is translating the button text fine, then add a custom IDs to the button and link to the page so we can examine.Best regards,
MikeHi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thanks for the screenshot and the link, but when I check the page redirects to /montage-automatisierungstechnik-englisch/ and only shows the header & footer like Rikard said, Please see the screenshot in the Private Content area.
Perhaps you can disable the page redirect.Best regards,
MikeHi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey schweg33,
Thanks for the link to your page I see that when you click an image two lightboxes open, Enfold’s and NextGen, try disabling the Enfold lightbox with the theme option Enfold Theme Options ▸ Lightbox Modal Window, or check if the NextGen plugin allows you to disable it’s lightbox.Best regards,
MikeHi,
Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
I see that you are using a custom header.php in your child theme with this function to achieve to apply the preloader only on the homepage (page-id-47):if(is_page(47)) $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';to add the translated homepage to this you would add the page ID (page-id-424) like this:
if(is_page(47) || is_page(424)) $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';I did this for you and it is working please check.
Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thank you for the login, the css that I recommended removing was still in the Quick CSS, I commented it out for you so it would not work and enabled the Page Preloading option and the main menu links are now working, please clear your browser cache and check.Best regards,
MikeJuly 7, 2022 at 11:52 am in reply to: Video and Text Block have Different Heights despite of Equal Hight in Row Layout #1357512Hey Ralf,
Thank you for the link to your site, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:#top.home #av_section_1 .avia-video { margin-bottom: 0; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey blaircomm1,
Thanks for your question, unfortunately, we have not finished the specific documentation about the new features yet, to test the new demo I recommend setting up a localhost test site or a sub-domain test site and importing the demo to evaluate. We don’t recommend trying to import a demo to your live site as it will overwrite some of your settings.
In this thread we helped explain that in the new parallax demo many of the elements are using padding and margin to achieve some of the effects, perhaps this will help.Best regards,
MikeHi,
Glad Yigit could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJuly 7, 2022 at 12:34 am in reply to: Inline POPUP Enabler – popup backcground opacity and color #1357471Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thanks for sharing this Guenni007, it will be helpful with future questions where the user is using an older device and Safari.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
As I understand your question, you would like to use a text element and show only part of a paragraph with an option to expand it to show the rest, unfortunately we don’t have a built-in option for this, as Nikko pointed out you could try the accordion element.
Another option would be to try the WP-ShowHide plugin and use it’s shortcode in your text element to wrap the part of the paragraph you wish to expand.
Please give this a try.Best regards,
MikeHi,
Thanks for the feedback, I see that you are getting this error:Uncaught ReferenceError: jQuery is not definedtypically this means that you are loading jQuery in your footer, try this script instead in your child theme functions.phpfunction article_categories_before_read_more() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('article.post-entry').each(function() { $( this ).find('.blog-categories.minor-meta').insertBefore($(this).find('.read-more-link')); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'article_categories_before_read_more');Best regards,
MikeHey Antonio,
Thank you for the link to your site and the screenshot, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function article_categories_before_read_more() { ?> <script> (function($){ $('article.post-entry').each(function() { $( this ).find('.blog-categories.minor-meta').insertBefore($(this).find('.read-more-link')); }); })(jQuery); </script> <?php } add_action('wp_footer', 'article_categories_before_read_more');Best regards,
MikeHi,
You have two errors, first your origin url is not wrapped in commas like the code I corrected above,
you have:if(evt.origin !== https://www.your.site) return ;
it should be:if(evt.origin !== 'https://www.your.site') return ;
second error is that you are still using the jQuery statement for the iframe.height
you have:iframe.height =${evt.data.resize.height}
it should be:iframe.height = evt.data.resize.height;
So it looks like you are using the old code instead of the corrected code.
If the code on your page backend is the new code I posted then you should try clearing your server cache, if it is an object-oriented cache such as Memcached, Redis, Varnish, Litespeed, etc. then it is still using the old page.
Please review this code, note that the urls are not your so you will need to adjust.<iframe id="nw-kokonaistarjooma" style="width: 100%; border: none; margin: 0; padding: 0;" src="https://www.your.site/index.html"></iframe> <script> (function() { const iframe = document.querySelector('iframe#nw-kokonaistarjooma'); window.addEventListener("message", evt => { if(evt.origin !== 'https://www.your.site') return ; if(evt.data.resize) { iframe.height = evt.data.resize.height; } }); }()); </script>Best regards,
MikeJuly 6, 2022 at 1:43 am in reply to: Tab Sections images are centered on the columns. How do i make them at the top? #1357339Hey staffordhrconsulting,
Thanks for the link to your page, I see inside the tab sections you are using two equal height columns with middle alignment, please choose top alignment so the image will be at the top and not the middle.
You need to make this adjustment in the first column in each tab section.

Best regards,
Mike -
AuthorPosts

