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%;
}
Related Post: Adding CSS to the Divi Theme
0 Comments