Title: Elementor Breakpoints
Last modified: August 30, 2024

---

# Elementor Breakpoints

 *  Resolved [Elango](https://wordpress.org/support/users/steelthemeshelp/)
 * (@steelthemeshelp)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/elementor-breakpoints/)
 * Whlie install my theme and elementor by default automatically enable all the 
   breakpoints please send me the correct code to achieve
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Milos](https://wordpress.org/support/users/miloss84/)
 * (@miloss84)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/elementor-breakpoints/#post-17985342)
 * Hello there,
 * Thank you for contacting us.
 * Would it be possible for you to tell us more details about your issue, can you
   please provide us with a screencast demonstrating the issue?
 * This will be useful to us as we will better understand the issue you’re experiencing
   and provide you with better support.
 * I am looking forward to your reply!
 * Kind Regards,
 *  Thread Starter [Elango](https://wordpress.org/support/users/steelthemeshelp/)
 * (@steelthemeshelp)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/elementor-breakpoints/#post-17999160)
 *     ```wp-block-code
       While installing elementor i want to enable all the breakpoints.So please give me corret code to enable all the breakpoitns // Ensure Elementor is active before running this codefunction custom_elementor_enable_all_breakpoints() {if ( did_action( 'elementor/loaded' ) ) {add_action( 'elementor/init', 'enable_all_custom_breakpoints' );}}// Hook to Elementor's initialization actionfunction enable_all_custom_breakpoints() {$manager = \Elementor\Plugin::$instance->breakpoints;if ( ! $manager ) {return;}// Get default breakpoints config$default_config = \Elementor\Core\Breakpoints\Manager::get_default_config();// Enable all breakpointsforeach ( $default_config as $breakpoint_key => $breakpoint_settings ) {$breakpoint = $manager->get_breakpoints( $breakpoint_key );// Check if the breakpoint existsif ( $breakpoint && method_exists( $breakpoint, 'enable' ) ) {$breakpoint->enable();}}// Refresh the breakpoints$manager->refresh();}// Initialize the process after plugins are loadedadd_action( 'plugins_loaded', 'custom_elementor_enable_all_breakpoints' );
       ```
   
    -  This reply was modified 1 year, 9 months ago by [Elango](https://wordpress.org/support/users/steelthemeshelp/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Elementor Breakpoints’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Elango](https://wordpress.org/support/users/steelthemeshelp/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/elementor-breakpoints/#post-17999160)
 * Status: resolved