Jump to content

Align navigation links with site logo in site header?

Recommended Posts

Posted

Is there a way to move the navigation links vertically so they line up exactly with my site logo in the header?

davidjcavallo.com

See attached screenshot.

Thank you!

David1460798409_ScreenShot2023-02-04at7_22_14PM.thumb.png.ddb6fe31665494f8c1a4a6b308fb6025.png

Posted

Can you share your website URL? Thanks!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
.header-layout-nav-right .header-nav {
    text-align: right;
    margin-left: auto;
    padding-left: 1vw;
    margin-bottom: 18px;
}

 

Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me,

Email me here: - mandeepsquarespace@gmail.com
Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024
Behance: - https://www.behance.net/mandeepSquarespace

 

Best Hourly Rate: - $15 Per Hour

Posted
8 hours ago, DCavallo said:

It would be easier to align these if there wasn't padding built into your logo, especially at the top:

image.png.7b324d06915cbe2c03d7f17470caaab1.png

If  you can crop and re-upload your logo first, then all you need is this line of Custom CSS to align the items to the top of the header flex box:

.header-title-nav-wrapper {
    align-items: flex-start;
}

Hope that helps!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
11 hours ago, Mdhanjal said:
.header-layout-nav-right .header-nav {
    text-align: right;
    margin-left: auto;
    padding-left: 1vw;
    margin-bottom: 18px;
}

 

Thank you for your response. This doesn't seem to have fixed the issue, but I think my logo needs to be adjusted before CSS can help.

Posted
14 hours ago, DCavallo said:

my logo needs to be adjusted before CSS can help

That's right, adjust the logo, and then add:

.header-title-nav-wrapper {
    align-items: flex-start;
}

This code will align the header items (logo and navigation) to the top, but with the designed in padding on the logo, it won't appear aligned to the top.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

  • 1 year later...
Posted

Hi there,

am hoping this thread is still active...? I have an alignment with my logo, navigation and social icons that I'd like to fix so the baselines (bottom edge of text) for all match horizontally

https://gar-sunflower-adz6.squarespace.com/home

I tried the above codes with adjusting numbers but nothing altered.

Grateful for some advice pls

thanks!

Nicola

Screenshot 2024-08-30 at 16.07.36.png

Posted

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Hello there,

I have the same issue.

I raised the width of my logo that seemed to small for me.
And now all my navigation items looks way higher than the logo.
My logo seems to be alright in terms of padding though.

But I tried the different codes and it doesn't seem to work.

Here is the link to the website: 
https://www.soadestudio.com/

Thanks a lot for your help

Capture d’écran 2024-09-06 à 10.44.02.png

Posted
51 minutes ago, Delphinesoade said:

But I tried the different codes and it doesn't seem to work.

It looks pretty well aligned to me:

image.thumb.png.a7c65281fb2714df656f03f665aa350c.png

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
2 minutes ago, NicolaH said:

I have now added a password to the site – SPConsulting1

Try this:

.header-display-desktop {
  align-items: flex-end;
}
.header-title-nav-wrapper {
  align-items: flex-end;
}

 

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.