Last updated
Last updated
Now that you have followed and in adding devices and styling for Front-End , let's add the custom breakpoints to the extend the default breakpoints to the Back-End.
Now we will edit responsive.php
file which contains the default breakpoints array list. You can find the file in following directory
elementor/core/responsive/
You can find the below code in responsive.php
at line number 36.
Now include the breakpoints you defined earlier. In our case modify the code to the following code
Please use copy button of the code panel, if you do manual select ,copy , paste it might break the code ! Gitbook Bug i guess..
Now head over the following 'files' folder in the same directory and find frontend.php
, check for following code in line number 31.
You can notice the RegEx Pattern /ELEMENTOR_SCREEN_([A-Z]+)_([A-Z]+)/
it does not match our device pattern as we included numbers in our device name, so change the following RegEx Pattern match to /ELEMENTOR_SCREEN_([A-Z0-9]+)_([A-Z]+)/
, Now the above line will be as follows
In case you need more reference you can check the modified files i have included.