How to change media breakpoint in Storefront
-
Hello everybody,
I’m using a child theme for Storefront. The theme has a media breakpoint at 781px wide screen, but it’s way too tight in my opinion. Just to let you understand, using my Samsung A71 in landscape mode the system serves me the desktop menu.
I am trying to change the media breakpoint at 991px, but I find difficult to do it. I tryed to override the CSS trought my child theme style.css, but I didn’t manage to do it. Finally I edited the main theme style.css, changing the media min-width to 991 and it works, but I will lose the change once the theme will upgrade.
The only solution I found reading articles online is to edit SASS and recompile the theme, but I’m not able to do that. Is there a way to obtain the result editing my child theme’s CSS or function.php?
Thanks in advance.
- The topic ‘How to change media breakpoint in Storefront’ is closed to new replies.