Jump to content

HELP - Header on desktop and mobile and aspect ratio

Go to solution Solved by Ziggy,

Recommended Posts

Posted

hello,

I am launching my website ASAP but there are just 2 problems I am facing I can't solve.

  1. header navigation is not on one line, it keeps going into 2 lines. I tried a code that fixed this but removed it because it then made the mobile header not centered. If you can help please help me! 🙂
  2. I created the website on my huge display screen and it looks good. However, when I open it on my smaller screen (standard laptop) the aspect ratio looks too 'zoomed' in. For example, when the page is on 100% zoom it looks bad but when it is 90% zoom it is perfect - please help!!!!! 🙂

Thanks,

Kate

Posted

Could you share the password?

I'm sure the header navigation is adjustable, but not sure how without looking at it.

Not sure what you want on the laptop screen but with some specifics I can probably help.

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 (edited)

hello @Ziggythanks a lot! I just messaged you the password privately

 

I want it to look like the right proportions on any desktop/ipad/iphone but I think I figured it out yesterday with a bit of change. let me know if you do have any advice though!

Edited by kate_sheridan
Posted

Okay, let's start by adding this Custom CSS to change the proportions of the header elements:

// Header element proportions
.header-layout-branding-center-nav-center .header-actions--left {
    flex: 0 1 15%;
    max-width: 15%;
}
.header-layout-branding-center-nav-center .header-actions--right {
    flex: 0 1 15%;
    max-width: 15%;
}
.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    flex: 0 0 70%;
}

 

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

It appears to be working great when I look at your website, even when I emulate a very small desktop screen:

image.thumb.png.60635307fdb23cdaae34289f1aa474b9.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?

  • Solution
Posted

That code should only be targeting the desktop header elements, but we can make sure by adding a media query. Replace the previous CSS with this:

// Header element proportions
@media only screen and (min-width:768px) {
  .header-layout-branding-center-nav-center .header-actions--left {
    flex: 0 1 15%;
    max-width: 15%;
  }
  .header-layout-branding-center-nav-center .header-actions--right {
    flex: 0 1 15%;
    max-width: 15%;
  }
  .header-layout-branding-center-nav-center .header-title-nav-wrapper {
    flex: 0 0 70%;
  }
}

 

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

You may want to reassess the footer layout since the newsletter block on tablet is causing an overflow, it needs more columns:

image.thumb.png.f021f7bc1dcae0a5c327459dbba66be2.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
6 minutes ago, kate_sheridan said:

please can you check if the change I made work? thank you!!!

That works much better, nice one!

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

Thanks for marking my post as the solution and giving it a like! Much appreciated!

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.