Center Fixed Header Menu Links

Here's the CSS for centering the links in the Divi theme's fixed header only (not the main header):

.et-fixed-header #et-top-navigation { 
float: none; 
position: relative; 
margin-left: 50%;   
padding-left: 0 !important; 
.et-fixed-header #top-menu-nav { 
margin-left: -50%;


Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.