Jump to content

Pacific - Nav Bar centering issue with CSS

Recommended Posts

Site URL: http://www.terminallyinlove.com

Hello,

On my website www.terminallyinlove.com , I am using the CSS below to remove the title from the top bar navigation. The resulting issue is that the top bar nav is off-centered. I've attached a screenshot to illustrate. 

Is there any additional CSS I can use to fix the offset? I have very little programming knowledge unfortunately. 

The CSS I'm currently using is:

#siteTitle { display: none }

div.index.home {
margin-right: 0 !important;
margin-left: 0 !important;
}

Thanks for your help!

TIL Page example.jpg

Link to comment
  • Replies 12
  • Views 1.3k
  • Created
  • Last Reply

Put this is custom CSS may need to play a bit and change word left to center. Before you do that Open CSS in window, easier to see, scroll to bottom and paste the code. Leave the word left at first try, because the nav bar may already "think" it is centered. If it doesn't move or moves to far left change left to center. 

nav li {
   float: left;
}
nav {
   display: inline-block;
}
Link to comment
  • 1 year later...

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.