Jump to content

Placing navigation text under the site title and center align both

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution
On 10/30/2023 at 11:33 PM, lunakito said:

Hi! Yes, exactly like your image.

Add to Website > Website Tools (under Not Linked) > Custom CSS

@media screen and (min-width:900px) {
header#topBar {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

ul#nav {
    max-width: 100% !important;
    margin: 0 !important;
}

nav.main-nav.dropdown-hover {
    text-align: center !important;
    display: flex;
    justify-content: center;
}

.siteTitle {
    float: none !important;
    max-width: 100% !important;
    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

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.