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
  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.