How to Disable Elementor Panel State Loading

Elementor is a popular WordPress page builder that allows you to easily create beautiful and complex layouts without having to code. However, some users have reported that the Elementor panel state loading animation can be slow and distracting.

If you’re one of those users, then you’ll be happy to know that there’s a way to disable the Elementor panel state loading animation. Here’s how:

  1. Open your WordPress dashboard and go to Appearance > Editor.
  2. Click on the Elementor tab.
  3. In the Settings panel, click on the Advanced tab.
  4. Scroll down to the Panel State Loading section and uncheck the Enable Panel State Loading checkbox.
  5. Click on the Update button to save your changes.

That’s it! The Elementor panel state loading animation will now be disabled.

Additional Notes:

  • If you’re using a child theme, then you may need to add the following code to your child theme’s functions.php file:
function disable_elementor_panel_state_loading() {
    remove_action( 'elementor/frontend/before_panel_state_render', 'elementor_panel_state_loading', 10 );
}
add_action( 'init', 'disable_elementor_panel_state_loading' );
  • This code will disable the Elementor panel state loading animation for all pages on your website.
  • Here are some frequently asked questions (FAQs) regarding how to disable the elementor-panel-state-loading class in Elementor:

FAQs on Disabling elementor-panel-state-loading

Q1: What is the elementor-panel-state-loading class in Elementor?

A1: The elementor-panel-state-loading class indicates that the Elementor editor is in a loading state. This often occurs when the panel is fetching data or processing changes. While it helps signify a loading process, it can sometimes be visually distracting or create a feeling of lag in the editor.

Q2: Why would I want to disable the elementor-panel-state-loading class?

A2: Disabling this class can enhance the user experience by potentially making the editor feel more responsive. Some users prefer not to see loading indicators if they have a fast internet connection or if they are working with smaller content pieces.

Q3: How can I disable the elementor-panel-state-loading class in Elementor?

A3: You can disable the class using custom JavaScript or jQuery. Add the following code to your theme’s custom JS section or as part of a plugin that allows you to inject custom code:

jQuery(document).ready(function($) {
    // Remove the loading class from the Elementor panel
    $('.elementor-panel-state-loading').removeClass('elementor-panel-state-loading');
});

Make sure to test this in a controlled environment to ensure it doesn’t disrupt the functionality of the Elementor editor.

Q4: Will removing this class affect the performance of Elementor?

A4: Removing the elementor-panel-state-loading class itself won’t improve performance since it merely modifies the user interface. However, it may lead users to believe that Elementor is performing operations faster than it actually is, which can be misleading.

Q5: Can this change be reversed if needed?

A5: Yes, if you want to revert the changes, simply remove the custom JavaScript code that you added to disable elementor-panel-state-loading. You can keep a copy of the original code in a safe place for easy reapplication if you decide to reinstate the loading indicator.

Q6: Is it recommended to disable elementor-panel-state-loading for all users?

A6: It’s not generally recommended for all users to disable this class. While some may prefer a cleaner interface, others may benefit from visual feedback during operations. It’s best to understand the needs of your user base before applying such changes universally.

Q7: What if the loading indicator is not removed after applying the code?

A7: If the indicator is still visible after applying the code, it might be due to caching issues. Try clearing your browser cache, or if you are using a caching plugin in WordPress, clear the cache there as well. You can also check for any JavaScript errors in your console that might be interfering with the code execution.

Q8: Can I use CSS instead of JavaScript to hide the loading indicator?

A8: While you can use CSS to hide elements, it’s generally better to remove the class using JavaScript to ensure that any related functionality isn’t disrupted. However, if you just want to hide it visually without affecting its functionality, you can use:

.elementor-panel-state-loading {
    display: none !important;
}

Conclusion

These FAQs should help clarify the topic and provide guidance on disabling the elementor-panel-state-loading class in Elementor. Always remember to back up your changes and test thoroughly!

Related Posts
Learn How to Fix WordPress Search Not Working (3+ Major Issues Resolved)

Are you looking to solve WordPress search issues on your website? Troubleshooting WordPress search issues may be difficult. This is Read more

How to Fix WordPress\’s White Screen of Death issue

Don\'t be alarmed if you get a WordPress error message or a white screen. Someone has most certainly seen the Read more

WordPress Installation

WordPress Installation Procedures Get the package at http://www.wordpress.org. Open your root web server and install WordPress. When you extract it, Read more

How to Customize WordPress Site

Customize Your WordPress Site Navigate to http://localhost/thedemostore/wp - admin. You should get something like this: admin is the user name. Read more

About WordPress Post

What exactly is a WordPress Post? How to Create and Update a WordPress Post? A CMS can have various types Read more

Image Shared on WordPress to Facebook Not Coming Up? Here\’s what to do.

  When you share your blog posts or web pages on Facebook, the picture might not show up the way Read more

What are WordPress wp_head & wp_footer functions

The wp_head and wp_footer methods are two important things to add to a WordPress theme. \"Action hooks\" are used to Read more

How to fix There was an error trying to send your message. Please try again later.

You make contact forms to make it easy for your audience to get in touch with you. Whether you use Read more

Scroll to Top