Next.js Discord

Discord Forum

CSS/SCSS Responsive not working in not-found.js

Bull Terrier posted this in #help-forum
Open in Discord
Bull TerrierOP
I'm actually using Next.js 13.4.2 in my project and can't find the way to apply responsive behavior in my not-found.js component/page. The other styles are applied, but the page doesn't response to the responsive styles that I would like to apply using Bootstrap classes and '@media' instructions in CSS/SCSS. By the way, there is a request that is always sent to the actual URL that gets an error because the URL doesn't exist in my project (because I'm testing my not-found.js page).

If anyone knows a solution it would be great. Thanks.

0 Replies