Jump to content

Site logo sliding off page

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.laineylee.com

Hello!
I recently applied the following custom css to my Flatiron template website to set a max width for the content (I didn't like how it looked when the site width got too large).

body {
    max-width: 2000px;
    margin: auto;
}

It worked beautifully, except now when the browser is very wide my logo is sliding off the page to the right and disappearing! Does anyone have a fix for this issue?

 

Thank you!

Link to comment
  • Replies 2
  • Views 236
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
On 5/29/2021 at 12:36 AM, Leeloo77 said:

Site URL: https://www.laineylee.com

Hello!
I recently applied the following custom css to my Flatiron template website to set a max width for the content (I didn't like how it looked when the site width got too large).

body {
    max-width: 2000px;
    margin: auto;
}

It worked beautifully, except now when the browser is very wide my logo is sliding off the page to the right and disappearing! Does anyone have a fix for this issue?

 

Thank you!

Add to Design > Custom CSS

/* Fix logo on larger screen */
#navigator header#topBar {
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.