C
C
Cyril2020-12-26 17:16:10
css
Cyril, 2020-12-26 17:16:10

Media is not working properly. What is the reason?

I laid out the site, set about adapting it, and immediately realized that something was going wrong. I use bootstrap grid, did the same as in the last tutorial project, below is the code, where for example I set the font-size for the title to 84px (was 60px)

@media (max-width: 1200px) {
  .header_title {
    font-size: 83px;
  }
}

But media is not applied if the width is less than 1200px, it is only applied if the width is less than 900px, I don’t understand what the problem is at all

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jazzman7, 2020-12-26
@jazzman7

maybe something is blocking, try

@media (max-width: 1200px) {
  .header_title {
    font-size: 83px!important;
  }
}

If it works, you can of course leave it, but it's better to look for something that overlaps

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question