Jump to content

How to change logo position

Recommended Posts

  • Replies 5
  • Views 542
  • Created
  • Last Reply

Helping will be way easier if you could share the link? The below code should help center your logo be centered in the screen. Need your website link to see if it is possible to center your logo in between the left side of the screen and burger icon.

@media screen and (min-width:100px) and (max-width: 799px){
.header-title-logo {
	display:block !important;
	margin-left:auto;
	margin-right:auto;
}
}

 

Link to comment
10 minutes ago, khs123 said:

Try this:


/*centralise logo for mobile*/
@media screen and (max-width:767px) {
.header-title-logo {
    text-align: center;
    margin-left: 50px;
}
}

 

Great job! but a small correction. Try this:

@media screen and (max-width:767px) {
.header-mobile-logo {
    text-align: center;
    margin-left: 50px;
}
}


 

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.