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.

image.png.40172ce5e54fbbf31d78bd1ed6314cd7.png

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:

https://www.loom.com/share/b6abe1eb84f047e48aacf1a98a54d40f

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 useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
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.