Forums

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

Home Forums CSS [Solved] Media Queries not changing Navigation margin

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

    Stumped on this one. I’m trying to make a media query change the navigation’s ‘right-margin’ to 250px when the screen size is 1364px but nothing happens. I’m not sure what else to try or what could be wrong with what I’m doing.

    Link to site: http://tinyurl.com/n7fkhpy

    #163196
    Paulie_D
    Member

    What have you tried?

    It should be simple enough

    @media only screen and (min-width : 1360px) {
        nav {
        margin-right: 250px;
        }
    }
    

    UNLESS this is overridden somewhere. It looks like the default is 350px in line 155 of your CSS file

    nav{
        display: block;
        margin-right:350px;
         float: right;
        text-align:center;
    }
    
    #163331
    Paulie_D
    Member
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.