Jump to content

Align logo with button (vertically) in top navigation

Recommended Posts

Posted

Hi! On this site https://wea-smartalpaca.squarespace.com/ I'm trying to get the logo at the same height as the button. 

I'm not very familiar with code and already using the following custom CSS, to make the nav bar more narrow.

.header-announcement-bar-wrapper {
    padding: 0vw 2vw!important;
}

(I'm mentioning that because I've searched for the solution first, found two code suggestions that seemed to work for other people, and they're not doing anything for me so I assume the codes are interfering with each other). 

Even before I added that code though, the logo was always displaying higher than the button. It looks fine on mobile (otherwise my solution would have been to add some space at the top of the logo image). 

Can someone help?

  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

There is space under logo, so other code didn't work (I guess so)

image.thumb.png.a610f240894f9ab55e387dc2f88e6bcf.png

Don't remove any code in your current code. Add this to Custom CSS to remove space

.header-nav {
    display: none !important;
}

div.header-announcement-bar-wrapper {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

image.thumb.png.97202212872f8f2bc578f66ed69a0528.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.