Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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,
    S

    #1481568

    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

    #1481576

    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

    #1481700

    Hi,

    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,
    Ismael

    #1481708

    Hi Ismael,

    Please find the login details in the private content area.

    Thanks and regards,
    S

    #1481775

    Hi,

    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;
    }
    

    View post on imgur.com

    Best regards,
    Ismael

    #1481798

    Hi Ismael,

    Thank you for the solution!

    Have a great day ahead.

    Kind Regards,
    S.

    #1481836

    Hi,

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Button is positioned left while is set to “align center”’ is closed to new replies.