There are many ways to center your navigation bar in Squarespace. One way is to use the ‘text-align’ property in your CSS code. For example, if you want to center a navigation bar, you would add the following code to your CSS file:
nav {
text-align: center;
}
Another way to center your navigation bar is to use the ‘margin’ property. For example, if you want to center a navigation bar, you would add the following code to your CSS file:
PRO TIP: If you are not familiar with HTML and CSS code, we recommend that you seek help from a Squarespace expert or our support team before making changes to your navigation bar. Incorrectly editing your code can result in unwanted changes to your site, and potentially render it unusable.
nav {
margin: 0 auto;
}
How Do I Center My Navigation Bar in Squarespace?
There are many ways to center your navigation bar in Squarespace. Another way is to use the ‘margin’ property.