When you add any of the optional elements into your secondary header navigation they will appear left aligned as in the top image below.
If you want to move the secondary menu social icons to the right in your navigation as in the lower image below, you can use a few lines of CSS in your Theme Options or child theme stylesheet.
How to right-align social icons
Add the following into your Divi Theme Options Custom CSS box, or into a child theme style sheet;
#top-header .et-social-icons { float:right !important; } #top-header #et-info { width: 100%; }
How to add secondary header elements (Phone, email, social icons)
By default, the secondary menu does not show until you choose to add the optional elements into it. To do this you will need to open your Theme Customizer and navigate to Theme Customizer > Header & Navigation > Header Elements. Here you can add your phone number and email and check or uncheck to add social media icons and show search icon.
- Show Social Icons – If you have defined social profiles (in Divi Theme Options), then you can choose to display these in your secondary header.
- Phone Number – Once you add your phone number in the theme customizer it will display in the secondary navigation bar.
- Email – Once you add your email in the theme customizer it will display in the secondary navigation bar.
I want to remove only one social icon from the secondary menu can you help me plz
its in the theme options, under general, where you can select which icons show
How can I increase the size of the icons?
try adding
#top-header .et-social-icon a {
font-size: 25px;
}
That worked great! Thanks so much!
Hi, I found a workaround to display the secondary header on mobile with the social icon. But the workaround makes the social icon bounce down to the next line. So you know how I can keep the email address and social icon on the same line? I know we are already using a workaround here, but I need help. lol My client is insisting.