Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Avoid menu breaking

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #144656
    farzadina
    Participant

    Here is what I don’t want to happen, in my responsive design:
    http://imgs.ir/imgs/201307/break.png
    And want to page scroll.
    _It’s possible to have a codePen if need._

    #144834
    Lucas4s
    Participant

    Hi,
    You could try using media-queries ( https://css-tricks.com/css-media-queries/ ) to decrease the size of the elements you’re using for the navigation, so it’ll fit the screen.

    @media screen and (max-width: 700px) {
      nav ul li a {
        width: ;
        height: ;
      }
    }
    

    Sorry if this doesn’t help, navigation bars are had to make responsive.

    #145483
    farzadina
    Participant

    Thanks guy, but using min-width solved my problem.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.