Jump to content

trying to equally separate my logo / navigation links / social buttons & center those items as a whole

Go to solution Solved by Ziggy,

Recommended Posts

Website URL?

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

You could first change the header layout to center the navigation. Are you wanting each element to be spread out and have the same spacing?

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

I've been able to go in multiple times and try to piece together code from other peoples examples of code for getting the navigation bar on one line. But there is always a small issue in spacing.

 

.header-actions.header-actions--right {
  width: 10%;
}
/* Nav one line */
.header-title-nav-wrapper {
    flex: 1 0 90%;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 1 1 100%;
}

 

This was the last code I attempted.

Link to comment
28 minutes ago, lapanimation said:

This was the last code I attempted.

It looks like you're on the right path.

I would suggest this addition:

.header-layout-nav-center .header-title {
    width: 10%;
    flex: 1 1 10%;
}

and to delete this:

30 minutes ago, lapanimation said:

.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 1 1 100%;
}

If you can implement this and then let me know we can make any other adjustments.

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Add this:

.header-title-logo {
    max-width: 20vw;
}
@media screen and (min-width: 768px) {
  .header-nav-item {
    font-size: 1.25vw;
  }
}

and replace this:

.header-layout-nav-center .header-title {
    width: 10%;
    flex: 1 1 10%;
}

With this:

.header-layout-nav-center .header-title {
    width: 20%;
    flex: 1 1 20%;
    max-width: 20vw;
}

 

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • Solution
13 minutes ago, lapanimation said:

Would there be a reason I am not able to change the size of my mobile logo size?

Yes! The header title logo max-width would be better inside a media query:

@media only screen and (min-width:768px) {
  .header-title-logo {
     max-width: 20vw;
  }
}

Can you mark my post as the solution to your post and give a thumbs up? 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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

See yellow highlight, that needs to be in a media query:

image.png.75928fb04f11ed19605a2a4fa946bc66.png

So delete that, and replace with this:

1 hour ago, Ziggy said:
@media only screen and (min-width:768px) {
  .header-title-logo {
     max-width: 20vw;
  }
}

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (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.