Archived topic
Want the Logo to overlap header (contained)
3 replies · Started by Bernd on May 3, 2019
Hello,
i try to let the logo overlap the header element (should conatin a image slider later) with this code:
.header-image {
position: absolute;
top: 10px;
left: 10px;
}
And keep it small on mobile with this:
@media (max-width: 768px) {
.site-logo img {
height: 100px;
}
}
So far, so good. But i cant get it "contained" with the navigation "inside-header". :(
What am I doing wrong?
Many thanks in advance!
Hi there,
I'm not too sure what you mean by contained? Maybe this CSS will do it?
.inside-header {
position: relative;
}
Let me know :)
Hi Tom,
you don't have to know the problem, I'd say. :)
Thanks again!
You're welcome :)