The Divi default header can be configured with a secondary header which displays, among other things, a phone number and email address. If you use a custom header built in the theme builder, you won't be able to make use of this secondary header. Here's how you can recreate the phone / email portion in a module that can be placed in your theme builder header.
To do so, add a code module to the page and then paste the following into it:
1 <style> 2 .my-phone { 3 margin-right: 13px; 4 } 5 .my-phone:before { 6 font-family: ETmodules; 7 content: "\e090"; 8 position: relative; 9 top: 2px; 10 margin-right: 2px; 11 } 12 .my-email:before { 13 font-family: ETmodules; 14 content: "\e076"; 15 margin-right: 4px; 16 } 17 </style> 18 <a class="my-phone" href="tel:0412341234">04-1234-1234</a> 19 <a class="my-email" href="mailto:test@test.com">test@test.com</a>

0 Comments