Jump to content

Adding Marin/Padding for Header bar to be aligne with body.

Recommended Posts

 

Hi all. 

As you can see on the picture bellow the logo is nicely aligned with the body of the grid. 

image.thumb.png.b17bfa96126af93c2f04408b55d1f62a.png

 

As soon as the page is widened, it shifts as you can see on the image bellow. Any way of making the logo and menu always aligned with body of page ? Keeping in mind that in the "style Styles section, i would like to keep a "Site Margin of 2vw". 

image.thumb.png.6d457552118ee22dc38dc1b06e61ccea.png

 

Thanks. 

 

Screenshot 2022-12-08 170215.png

Edited by makeartnotwar
Link to comment
  • Replies 6
  • Views 367
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Can you share your website?

You might want to try setting the header to inset rather than full.

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?

Link to comment

Try this Custom CSS:

@media only screen and (min-width:1860px) {
  .tweak-portfolio-grid-overlay-width-inset .portfolio-grid-overlay {
    padding-left: 0vw !important;
    padding-right: 0vw !important;
  }
}
@media only screen and (max-width:1800px) {
  .tweak-portfolio-grid-overlay-width-inset .portfolio-grid-overlay {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
}

 

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?

Link to comment
3 minutes ago, Ziggy said:

Try this Custom CSS:

@media only screen and (min-width:1860px) {
  .tweak-portfolio-grid-overlay-width-inset .portfolio-grid-overlay {
    padding-left: 0vw !important;
    padding-right: 0vw !important;
  }
}
@media only screen and (max-width:1800px) {
  .tweak-portfolio-grid-overlay-width-inset .portfolio-grid-overlay {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
}

 

You're  a legend. 
Could you provide with same solution for mobile version ? Pretty please. 
Thanks 🙂 !

Link to comment

No problem! But I can't see your website any more, password?

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?

Link to comment
  • 2 weeks later...

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.