Hi guys,
For some strange reason I’m having an issue on my website where the buttons which are centrally aligned are now suddenly showing up on the left side. Despite having updated both WordPress and the theme to the latest version this keeps occurring. Als the “partner element” slider on the lower part of the homepage is “broken”. The images are not visible and the navigation element are also crushed into the left corer. These elements don’t have special classes or something so I’m not sure if any CSS is breaking this.
Please find the URL in the private area.
Thanks and regards,
S
Hey Enfoldfanatic,
Thank you for the inquiry.
We found script errors in the console which might be related to the issue. The error is generated from these scripts:
<script>
jQuery(window).load(function() {
jQuery('#wrap_all img.avia_image').removeAttr('title');
});
</script>
<script>
jQuery(window).load(function() {
jQuery('a').removeAttr('title');
jQuery('img').removeAttr('title');
});
</script>
What happens when you remove the scripts or replace them with the following code?
<script>
jQuery(window).on('load', function() {
jQuery('#wrap_all img.avia_image, a, img').removeAttr('title');
});
</script>
Best regards,
Ismael
Hi Ismael,
Thanks for your reply. For the moment I have removed the whole code in general but it didn’t seem to have affect. Please find in the private content the remaining code snippets of the functions.php file. However I have also cleaned the functions.php file fully and re-loaded the page but the issue was still present.
Regards,
S