Tagged: broken slider
-
AuthorPosts
-
February 26, 2023 at 9:59 pm #1399344
Hi, I have updated the to the latest verion of Enfold and it has Broken my full screen slider.
February 26, 2023 at 10:04 pm #1399346Hey A-Wise,
It seems your site is down, if you can login to the backend please include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeFebruary 26, 2023 at 10:15 pm #1399351This reply has been marked as private.February 26, 2023 at 10:23 pm #1399353Hi,
Have you tried disabling your plugins?
Please include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeMarch 11, 2023 at 4:05 pm #1400837Please see details in private
March 12, 2023 at 5:20 pm #1400940Hi,
Thanks for the login, I see that you have added HTML and shortcode into your slider caption:
Please notice the warning below the field:Warning: Characters <,>,[,] might break ALB backend or frontend. Read more if you want to use them. You can use valid HTML markup.
I believe this is the issue, please remove this, or try using the LayerSlider instead as it allows HTML in the slides.
Best regards,
MikeMarch 15, 2023 at 12:21 pm #1401243I have removed the code and the warning has gone, but the slider is still the same. Please can you look again.
March 16, 2023 at 7:21 pm #1401414Hi,
Thanks for your patience, I was not able to edit your dev site homepage as it gave a server 500 error, I believe this is due to HTML code errors on the page after you saved it, I Enabled the Avia Layout Builder Debugger but this didn’t help in recovering the page. So I duplicated your page and it allowed me to edit it and I found css in the custom class field which is one possible reason for the failure:.caption_framed .slideshow_caption .avia-caption-title { background: rgba(242, 242, 242, 0.5) !important; }
I removed and saved the page and it seems to be working correctly now, please check the link below.
I also found many more elements with HTML code, these can lead to future errors.
I recommend using our Special Character Translation plugin, please see our documentation: Using special charactersBest regards,
MikeMarch 26, 2023 at 9:54 pm #1402576Hi Thank you the above has fixed the site. Please see Private.
I have another site that mirrors the above except for it has slightly different content. However, when i have done the updates on this site exactly the smae it is not pulling in the mobile menu and from what i can see the code is the same. Please see link in private.
March 26, 2023 at 10:57 pm #1402581Hi,
Thanks for the feedback, if your other sites are mirrors with the same HTML in the fields and show the red warnings as in the screenshots above, please remove the HTML as I explained above.Best regards,
MikeMarch 27, 2023 at 9:37 pm #1402695Hi, I have downloaded and activated the plugin for Special Characters and it is not working in the site. Please see private.
I never need to use the plugin on the other site.
March 28, 2023 at 1:16 am #1402705Hi,
It looks like perhaps you missed the instructions for the plugin that I linked to above.
When you add HTML the fields that give the warning you need to change the Greater Than (>) and Less Than (<) symbols to ###lt### and ###gt###
so <span> will look like ###lt###span###gt###
This is what the link “Read more” in the red warning message in the element explains
ignoring these warnings could lead to errors in your page, elements behaving incorrectly, and in some cases a crash in your page.Best regards,
MikeMarch 28, 2023 at 10:27 am #1402738Hi that is how I did it and the red went away, but it was no showing the words correctly on the screen.
I have now removed all of the styles on the entire website so no more of the red errors, but the mobile menu is still not working. Please see in private.
March 29, 2023 at 6:20 pm #1402950Hi,
Thanks for the link to your site, the login you provided above doesn’t seem to work on the site but I see two issues, the fist is the “My” menu over the mobile menu so it can’t be clicked, notice the blue area over the mobile menu
and these two scripts causing an error because it’s called before jQuery:<script> (function($) { function a() { $('#top #wrap_all .social_bookmarks li a').each(function() { $(this).attr('rel', 'noopener'); }); } a(); } )(jQuery); </script>
<script> jQuery(".navbar-toggler").click(function() { jQuery("html").toggleClass("open"); jQuery("body").toggleClass("open"); jQuery(".navbar-toggler").toggleClass("open"); jQuery(".mobile-menu-list").toggleClass("open"); }); jQuery(".menu > li > a").click(function() { jQuery(this).parents(".menu > li").toggleClass("open"); }); </script>
Try changing them to include window.addEventListener(‘DOMContentLoaded’, function() {…});
like this:<script> window.addEventListener('DOMContentLoaded', function() { (function($) { function a() { $('#top #wrap_all .social_bookmarks li a').each(function() { $(this).attr('rel', 'noopener'); }); } a(); } )(jQuery); }); </script>
<script> window.addEventListener('DOMContentLoaded', function() { jQuery(".navbar-toggler").click(function() { jQuery("html").toggleClass("open"); jQuery("body").toggleClass("open"); jQuery(".navbar-toggler").toggleClass("open"); jQuery(".mobile-menu-list").toggleClass("open"); }); jQuery(".menu > li > a").click(function() { jQuery(this).parents(".menu > li").toggleClass("open"); }); }); </script>
Best regards,
MikeMarch 30, 2023 at 1:05 pm #1403010Thanks that code has got the menu working, but the main menu items at still stacking on top of each other when teh screen is shrinking. Why is this?
April 1, 2023 at 4:17 pm #1403217Hi,
I believe that you are referring to the two buttons My A-Wise and Call Us stacking on the mobile version of the test site, but today the test site is not loading please check.
Since the live site is working correctly and it is using Enfold 5.4.1, compare the settings and the custom css to find the difference.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.