Jump to content

Navigation items flicker from left to right/aren't centered only on Safari

Recommended Posts

I'm using the following code to split my 6 navigation items to have 3 on either side of a centered and inline logo. It looks good on Chrome desktop, but on Safari desktop the 6 items flicker/jump randomly as a group from side to side and aren't quite centered. 

My site is live and public at carabuenatequila.com, and you can navigate to any page to see it happen (I also attached a screen recording).

 

@media only screen and (min-width: 1030px){ 
.header-nav {
 position: absolute;
 margin-top:0!important;
 top: 2rem; 
}
}

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

.header-nav {
 position: absolute;
 margin-top:0!important;
 top: 2rem;
 z-index:1!important;

 

safari video.mov

Edited by sekxb6
Link to comment
  • Replies 5
  • Views 349
  • Created
  • Last Reply

Top Posters In This Topic

@tuanphan That partially worked -- see attached.

Issues:

+ How can I bring in both sides closer to logo? Everything I adjusted just moved the right side's spacing.
+ Font size on right isn't matching left - I do have code to have a custom font size as follows:

 

.header-nav *, nav.header-menu-nav-list * {
    font-family: 'MARK PRO';
  font-size: 18px
}

 

Thanks!

Screenshot 2024-08-27 at 1.28.24 PM.png

Link to comment
9 hours ago, sekxb6 said:

@tuanphan That partially worked -- see attached.

Issues:

+ How can I bring in both sides closer to logo? Everything I adjusted just moved the right side's spacing.
+ Font size on right isn't matching left - I do have code to have a custom font size as follows:

 

.header-nav *, nav.header-menu-nav-list * {
    font-family: 'MARK PRO';
  font-size: 18px
}

 

Thanks!

Screenshot 2024-08-27 at 1.28.24 PM.png

#1. Closer logo

Can you share site url?

#2. With size, use this CSS code to set size on right side

.header-display-desktop .header-actions.header-actions--right * {
	font-size: 18px !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.