Answer the question
In order to leave comments, you need to log in
Bootstrap responsive design not working, what to do?
Good afternoon.
Faced the following problem.
Site on symfony
Designed by Bootstrap
The template turned out to be rubbery and works correctly. when you change the width of the browser, everything shrinks and the columns crawl as they should.
But there is one thing but ..... On the phone (Smartphone androyd), the categorical does not want to switch to a compressed version for this resolution. Namely, it displays the full version as if you were just watching from a regular computer.
I tried using this method
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/bootstrap-theme.min.css') }}">
Answer the question
In order to leave comments, you need to log in
I solved the problem! It turns out that everything was done right from the beginning! but for some reason the cache was not cleared after the command through the terminal, as a result, I demolished the cache folder manually and immediately everything worked and the settings were applied PROBLEM SOLVED. the cache was very insidious
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question