Jump to content

Move text in navbar up

Recommended Posts

Hey guys,

I don't know if it's my fault or the theme's fault, but the text inside the navbar is not perfectly vertically centered. The links and the logo seem to have a slight offset to the bottom.


I have searched the web for quite some time regarding this, but I a a CSS rookie couldn't find a way to only target the contents of the navbar, but not the navbar itself.

Can you guys help me moving the elements in the navbar up a few pixels on the whole website?

Thanks in advance!

Cheers, Lasse


Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

I spotted on URL in the shared image. I see the problem, but when inspecting it the misalignment goes away, see video:


This makes me think that there is is some conflicting code that is making the "padding" at the top larger, but the correct code is there and not working all of the time.

Where did you get the code for this effect?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

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.