Forums

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

Home Forums CSS [Solved] – responsive question – logo moves when screen size is reduced

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #173704
    Bones_Jones
    Participant

    hi guys,

    i have a noob question – how do i make make the logo not move when the browser size is reduced? logo is supposed to be perfectly centered, but when it is resized to about 760px it moves up about 30-40px.

    and the menu also changes its position. it moves up slightly.

    link
    http://goo.gl/jZPTbK

    any idea why it is doing that?

    #173714
    nixnerd
    Participant

    Nice handle.

    We’re going to need a Codepen for this. I’m going to guess that part of the problem is the fact that the logo is wrapped in an h1 that spans the entire wrapper. Without being able to fiddle with the code, we’ll never know.

    #173719
    Paulie_D
    Member

    There’s a change in the padding on the logo-wrapper div from

    .logo-wrapper {
    padding-top: 55px;
    padding-bottom: 20px;
    }
    

    to this

    @media only screen and (max-width: 1179px)
    div.header-wrapper .logo-wrapper {
    float: none;
    padding: 30px 0px 30px;
    }
    
    #173746
    Bones_Jones
    Participant

    oooh i think that fixed it! thx!!! it looks ok now, right?

    #173749
    Paulie_D
    Member

    Looks like it.

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