Jump to content

Split Navigation and Title Link

Recommended Posts

Site URL: https://www.drewdepinto.com

Hi all,

I used custom css to split my navigation on either side of my header, but the site title no longer links back to the home page (and the centering seems to be a bit off). Here is the css I used, any help would be appreciated!

 

/*Secondary Navigation */
.header-display-desktop .header-title {
  height: 4vw !important;
  display: flex;
  align-items: center !important;
  justify-content: center;
}
.header-display-desktop .header-nav {
  position: absolute;
  top: 0;
  margin-top: 0 !important;
  height: 4vw !important;
  display: flex;
  align-items: center !important;
  justify-content: center;
}

.header-display-desktop .header-nav-item:nth-of-type(2) {
  margin-right: 30vw !important;
}

Link to comment
  • Replies 4
  • Views 324
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

15 hours ago, drewdp said:

This worked for the title, but now the navigation buttons don't work! I appreciate your help.

Use this new code

.header-display-desktop .header-title {
    flex: 0 0 30% !important;
    position: relative;
    z-index: 99999;
}

 

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.