Setting custom breakpoints in Astra theme
-
Hello,
I have a free Astra theme.
I need help with creating custom breakpoints (for tablet and mobile devices). I’ve created a child theme and added the recommended code there in fuctions.php but it didn’t help and didn’t change anything:// Update your custom tablet breakpoint below – like return 1440;
add_filter( ‘astra_tablet_breakpoint’, function() {
return 1080;
});// Update your custom tablet breakpoint below – like return 1440;
add_filter( ‘astra_mobile_breakpoint’, function() {
return 500;
});
Can anyone help, please? It got me stuck a lot while creating a website. TIA!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.