Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Center top logo


AnnaMargareta

Question

Hi, I'm doing a new website in Squarespace, trying to get the meny situation of "centered logo, menu on the right". I'm trying to use custom CSS and sometimes it works? But only in "edit CSS" mode? Right now it's not happening at all. Does anyone have a simple fix for this? Trying to center the logo on a design with the menu on the right.

 

The code:

 

.header-title-logo {
  display: flex;
  justify-content: center;
}
.header-title-logo img {
    width: auto;
    max-width: 100%;
    max-height: 90px;
      margin: auto;

}

 

 

This solution:

margin-left:150%;

 

seems to work but only in the editing-space? As soon as I save and exit it's no longer centered (but it is saved, and will center if I enter Custom CSS). 

 

 

Skärmavbild 2021-02-19 kl. 13.33.35.png

Skärmavbild 2021-02-19 kl. 13.44.38.png

Edited by AnnaMargareta
Added more context
Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...