Jump to content

Center logo and navigation in Bedford

Recommended Posts

I have tried all the CSS I found in other threads, but none are working quite right. One came close but it turned my menu into a hamburger. I'm just starting a new site, so I haven't made many changes to the original yet. I just want the logo top center, and the menu under that, centered. Should be pretty easy. Thank you!

Link to comment
  • Replies 10
  • Views 2k
  • Created
  • Last Reply

@dgsloves Add to Home > Design > Custom CSS


/* Desktop - Tablet */
@media screen and (min-width:641px) {
/* Change display table to flex */
.header-inner {
   display: -webkit-flex;
   -webkit-flex-direction: column;
   display: flex;
   flex-direction: column;
}
/* Center Logo */
div#siteTitleWrapper {
   width: 100% !important;
}
h1#siteTitle {
   text-align: center;
   width: 100% !important;
}
/* Center Navigation */
div#headerNav {
   text-align: center !important;
}
}


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

@dgsloves Try this


@media screen and (min-width:641px) {
#header #siteTitleWrapper, #header #siteTitle {
   width: 100%;
   text-align: center;
}
#header #headerNav {
   text-align: center;
   width: 100%;
}
.header-inner {display: table !important;}
}


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

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.