Jump to content

Left-align header navigation with center of page

Go to solution Solved by tuanphan,

Recommended Posts

  • Keenan changed the title to Left-align header navigation with center of page
  • Solution
On 3/17/2023 at 5:13 AM, Keenan said:

Thanks Tuanphan.

Sorry if it wasn't clear, but I would like the start of the navigation "Work" to align with the centre of the page. See image attached. Are you able to provide me code for this?

Thanks in advance.

Screenshot 2023-03-17 at 11.11.31 AM.png

Remove above code & use this new code

div.header-title {
    width: 50% !important;
}
.header-nav {
    text-align: left !important;
    padding-left: 0 !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.