Jump to content

center logo (horizontal and vertical) on cover page

Recommended Posts

Site URL: https://thealmonte.com

Hey everyone,

I find my logo awkward on top of the page:

https://thealmonte.com

What I want to do is to vertically (and horizontally) center the logo. 

 

I Have managed to get it to centre for a split second by adding it to custom css using this code. but then it changes back. Can anyone help me with where to put the code or what code to use?

 

Quote

[data-compound-type="logo"] {
 position: absolute;
  top: 50%;
  left: 50%;
 transform: translate(-50%, -50%);

 

Link to comment
37 minutes ago, IgnatiaBelle said:

Site URL: https://thealmonte.com

 

Hey everyone,

I find my logo awkward on top of the page:

https://thealmonte.com

What I want to do is to vertically (and horizontally) center the logo. 

 

I Have managed to get it to centre for a split second by adding it to custom css using this code. but then it changes back. Can anyone help me with where to put the code or what code to use?

 

 

Could you try this

[data-compound-type="logo"] {
 position: fixed !important;
  top: 50%;
  left: 50%;
 transform: translate(-50%, -50%);
}

image.thumb.png.f6f053abde2c44c16bcbe4100c13dfb5.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
5 minutes ago, IgnatiaBelle said:

would I be adding that to Design> custom css or Page Settings -> Advanced -> Code Injection

 

thank you!

Design->Custom css

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.