- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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?
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.
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;
}
oooh i think that fixed it! thx!!! it looks ok now, right?
Looks like it.