Cornerstone keeps loading on https://boukestar.nl

Hi support team,

WP vers: 4.5.13
X theme: Up to date latest version.
Cornerstone vers: 3.0.2

When Im try to open a page with cornerstone the page keep loading.
Any idea what this is? This morning has the provider installed a ssl on my website.

Regards Bouke

Hey There,

Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

Hi there,

I’ve dropped a secure not in the inline of the first ticket.

Cheers

Hi There,

I have checked your server configurations and it seems that you’re using PHP v5.5 which may cause incompatibility issues. Could you please try switching to PHP v5.6.x or later and then you can also try adding the following code into your wp-config.php file to increase your memory limit.

define( 'WP_MEMORY_LIMIT', '512M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line:

/*That's all, stop editing! Happy Blogging. */

Test loading Cornerstone again after doing those changes.

Let us know how it goes.
Thanks!

Hi there,

  • Website is migrated to a server with a php version 7.2.2
  • Memory_limit is: 128MB
  • Cornerstone is up to date with version:: 3.0.4

Unfortunate cornerstone keeps loading.

Regards Bouke

I resaved the permalinks on your site and it started working again. Also, I noticed there were some javascript errors coming from the “Custom JS” in Theme Options. You had this code:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
  // Add smooth scrolling to all links
  $("a").on('click', function(event) {

    // Make sure this.hash has a value before overriding default behavior
    if (this.hash !== "") {
      // Prevent default anchor click behavior
      event.preventDefault();

      // Store hash
      var hash = this.hash;

      // Using jQuery's animate() method to add smooth page scroll
      // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
      $('html, body').animate({
        scrollTop: $(hash).offset().top
      }, 800, function(){
   
        // Add hash (#) to URL when done scrolling (default click behavior)
        window.location.hash = hash;
      });
    } // End if
  });
});
</script>

I made a few changes:

  • <script> tags are not needed here and will actually prevent the code from running.
  • Removed reference to another jQuery library. Loading a different jQuery version in WordPress will break many plugins and themes
  • Referenced global jQuery as jQuery instead of $. This fixed an error preventing the code from running.

Once that was fixed the front end no longer had errors.

Thanks that fixed the issue. Do you know where I can ad the Title tag for the logo in the header and the images in the slider on my homepage?

Thank so far
Bouke

Hi there,

Kindly open up new threads for additional questions as it will help us to focus on each issue and give you a better support which you deserve. Having a long threads makes the maintaining job harder and also it will be harder for the other customers to find the correct information if they have similar issues. You are always welcomed to reply to this thread to follow up the same question.

Please add the Javascript code below to X > Theme Options > JS in order to add a title attribute to the logo image:

jQuery('.x-brand.img img').attr('title', 'The Title');

Change The Title with whatever title you want the logo to have.

You used the Layer slider on the homepage. Please check their documentation regarding the attributes of the layer you added to the slider:

http://docs.offlajn.com/layer-slider/42-layer-settings/176-link-attributes-settings

Open up a new thread to follow up. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

Hello @sharp-image,

I just logged in and check your site.
Cornerstone is working as expected:

Please make sure to clear your browser cache or use private browsing mode and test your site again.