Center Fixed Header Menu Links

This post may contain referral links which may earn a commission for this site

Here's the CSS for centering the links in the 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%;
}

Hundreds of new features for Divi
in one easy-to-use plugin

0 Comments

Submit a Comment

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