
-
AuthorPosts
-
April 17, 2025 at 11:00 pm #1481554
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,
SApril 18, 2025 at 7:07 am #1481568Hey 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,
IsmaelApril 18, 2025 at 8:54 am #1481576Hi 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,
SApril 21, 2025 at 7:19 am #1481700Hi,
Thank you for the info.
We may need to access the site to further check the issue. Please provide the login details in the private field.
Best regards,
IsmaelApril 21, 2025 at 9:57 am #1481708Hi Ismael,
Please find the login details in the private content area.
Thanks and regards,
SApril 22, 2025 at 6:52 am #1481775Hi,
Thank you for the info.
The issue occurs because of the following css code. The logo slider displays correctly when we remove it from the Quick CSS field.
.entry-content-wrapper { display: flex; flex-wrap: wrap; /* zorgt ervoor dat het ook werkt op kleinere schermen */ align-items: stretch; /* dit is de sleutel voor gelijke hoogte */ } .entry-content-wrapper > .flex_column { display: flex; flex-direction: column; }
Best regards,
IsmaelApril 22, 2025 at 9:12 am #1481798Hi Ismael,
Thank you for the solution!
Have a great day ahead.
Kind Regards,
S.April 22, 2025 at 3:48 pm #1481836Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Button is positioned left while is set to “align center”’ is closed to new replies.