Jump to content

Logo over announcement bar and header

Go to solution Solved by inside_the_square,

Recommended Posts

  • Solution

@AppealedApple totally! I hopped into your CSS and updated some of the code you had in there to make this magic happen. Feel free to adjust the top:-2rem to the size that suits you best! 

How this works: we had to move the announcement bar down to z-index:0, then apply a position absolute to the image so we could give it a z-index and move it up the x-axis with a negative top value.

Hope this info helps and best of luck with your project!

header#header {
    box-shadow: 3px 4px 8px rgba(54,49,94,.5)
}

footer#footer {
    box-shadow: 3px 4px 8px rgba(54,49,94,.5)
}

#announcement-bar-text-inner-id p {
    font-size: 16px !important;
    text-align: right !important
}

.sqs-announcement-bar-close {
    display: none !important
}
.sqs-announcement-bar-dropzone{
z-index:0!important
}

.header-title-logo,.header-title-logo a {
    overflow: visible !important;
    margin-bottom: -50px;
}

.header-title-logo img {
    max-height: 90px !important;
    position:absolute;
    top:-2rem;
    z-index:999!important
}

.header-title-logo img,.header-title-logo a {
    max-height: 150px !important
}

 

🤓 Creator of InsideTheSquare.co
SQUARESPACE CIRCLE LEADER SQUARESPACE EXPERT SQUARESPACE EMPLOYEE EDUCATOR CERTIFIED CUSTOM CODE EXPERT

🗺️ New to Squarespace? Get your free roadmap: insidethesquare.co/roadmap
🙋‍♀️ New to CSS? Learn the basics for free: insidethesquare.co/learn
️ Ready to go pro? Get my custom code collection: insidethesquare.co/css

 

BeccaHarpain.gif.236d6ddd88c7d637645b762799f501a8.gif

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.