<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Top Header Archives - WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</title>
	<atom:link href="https://wpportfolio.com/tag/top-header/feed/" rel="self" type="application/rss+xml" />
	<link>https://wpportfolio.com/tag/top-header/</link>
	<description>Custom Divi Designs &#38; WordPress Solutions for Small Businesses</description>
	<lastBuildDate>Wed, 14 Jan 2026 05:16:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://wpportfolio.com/wp-content/uploads/2019/04/cropped-WP-Portfolio-favicon-32x32.png</url>
	<title>Top Header Archives - WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</title>
	<link>https://wpportfolio.com/tag/top-header/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Add Background Image to the DIVI Secondary Menu/Top Header</title>
		<link>https://wpportfolio.com/add-background-image-to-the-divi-secondary-menu-top-header/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Tue, 08 Oct 2019 06:31:20 +0000</pubDate>
				<category><![CDATA[DIVI Secondary Menu]]></category>
		<category><![CDATA[Background Image]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Top Header]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118563</guid>

					<description><![CDATA[<p>In this tutorial, we will add a background image to the Secondary Menu, also know as the the top header in the DIVI theme using a little CSS.</p>
<p>The post <a href="https://wpportfolio.com/add-background-image-to-the-divi-secondary-menu-top-header/">Add Background Image to the DIVI Secondary Menu/Top Header</a> appeared first on <a href="https://wpportfolio.com">WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_0 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_0">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>In this post, we will see how to add a background image to the DIVI secondary menu area also know as the top header. You can change the colors of the DIVI Secondary Menu using the Theme Customizer Options, but cannot add an image as a background using the Theme Customizer.</p>
<h2> </h2>
<h2>Settings in the DIVI THEME CUSTOMIZER</h2>
<p>Before I change the background to an image, my background for the secondary menu was set to a black color.  This was set in the DIVI Customizer by going to <br />DIVI &#8211;&gt; Theme Customizer –-&gt; Header &amp; Navigation –-&gt; Secondary Menu Bar &#8211;&gt; BACKGROUND COLOR</p>
<p>I have chosen a color of Orange for the text color. This can be selected by navigating to <br />DIVI &#8211;&gt; Theme Customizer –-&gt; Header &amp; Navigation –-&gt; Secondary Menu Bar &#8211;&gt; TEXT COLOR</p>
<p>This is what my the top header/secondary menu looks like with the black background and orange text setting for the secondary menu.</p>
<p>&nbsp;</p>
<div id="attachment_118568" style="width: 1320px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-118568" class="wp-image-118568 size-full" title="Background Color Secondary Menu - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Secondary-Menu-DIVI.jpg" alt="Background Color Secondary Menu - DIVI" width="1310" height="658" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Secondary-Menu-DIVI.jpg 1310w, https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Secondary-Menu-DIVI-1280x643.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Secondary-Menu-DIVI-980x492.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Secondary-Menu-DIVI-480x241.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1310px, 100vw" /><p id="caption-attachment-118568" class="wp-caption-text">Background Color Secondary Menu &#8211; DIVI</p></div>
<h2> </h2>
<h2>Things To Do Before You Add the CSS</h2>
<p>Choose the color for your text, so that it contrasts well with the background image that you are going to be using. Use a dark color text if the background image is light in color. I have chosen orange as my text color for this example. Make sure you adjust the colors for the social icons to match your background image.</p>
<p>The social icons color cannot be changed from the DIVI Theme Customizer. You can check out my post : <a href="https://wpportfolio.com/change-the-color-for-email-phone-and-social-media-icons-in-divi/">Change the color for email, phone and social media icons in DIVI</a> to change the color of the social icons with a few lines of CSS.</p>
<p>Next, make sure you upload the image you want for your background in your media library. I have used an attribution free picture from the site pixabay. I have also sized the image to a 1920px by 108px using Photoshop. </p>
<p>Once the image is uploaded to the media library, find the URL of the image. You will need that in the CSS that we write. </p>
<p>My background image looks like this</p>
<div id="attachment_118569" style="width: 1930px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-118569" class="wp-image-118569 size-full" title="Secondary Menu Background Image" src="https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background.jpg" alt="Secondary Menu Background Image" width="1920" height="108" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background.jpg 1920w, https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background-1280x72.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background-980x55.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background-480x27.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw" /><p id="caption-attachment-118569" class="wp-caption-text">Secondary Menu Background Image</p></div>
<p>The URL was <a href="https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background.jpg">https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background.jpg</a></p>
<h2> </h2>
<h2>CSS to add Background Image on DIVI Secondary Menu </h2>
<p>To add the CSS, head over to your style.css in your child theme and paste the following CSS. <br />Alternatively you can also go to DIVI -&gt; Theme Options and paste the CSS in the Custom CSS box.</p>
<p>/* CSS to Add Background Image to the DIVI Secondary Menu */<br />#top-header{<br />background:url(https://wpportfolio.com/wp-content/uploads/2019/10/secondarymenu-background.jpg)<br />no-repeat center;<br />background-size: cover;<br />}</p>
<p>Make sure you replace the background URL to the url of your image.</p>
<p>Here is what the Secondary menu looks like after applying the above CSS.</p>
<div id="attachment_118571" style="width: 1359px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118571" class="wp-image-118571 size-full" title="Secondary Menu with Background Image - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-with-Background-Image-DIVI.jpg" alt="Secondary Menu with Background Image - DIVI" width="1349" height="619" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-with-Background-Image-DIVI.jpg 1349w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-with-Background-Image-DIVI-1280x587.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-with-Background-Image-DIVI-980x450.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-with-Background-Image-DIVI-480x220.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1349px, 100vw" /><p id="caption-attachment-118571" class="wp-caption-text">Secondary Menu with Background Image &#8211; DIVI</p></div>
<p>&nbsp;</p>
<p>I hope you like this tip and if you do use it on your website, do leave me a comment. For more DIVI TIPS and TRICKS make sure you visit my <a href="https://wpportfolio.com/divi-blog/">DIVI BLOG</a>. <br />If you like to hire me for designing or editing your DIVI website, send me a message on my <a href="https://wpportfolio.com/contact-divi-freelancer/">contact page</a>.</p>
<p>Picture courtesy &#8211; Pixabay.<br />Image used for background.: https://pixabay.com/illustrations/banner-header-logo-header-1631295/</p>
<p>&nbsp;</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_1">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_1  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h2>Related Posts –</h2>
<ul>
<li><a href="https://wpportfolio.com/add-background-image-to-your-divi-mobile-menu/">Background Image on your DIVI Mobile Menu</a></li>
<li><a href="https://wpportfolio.com/add-background-image-to-the-divi-footer-bottom-bar/">Add Background Image to the DIVI Footer/Bottom Bar</a></li>
<li><a href="https://wpportfolio.com/add-background-image-to-the-divi-primary-menu-main-header/">Background Image on the DIVI Primary Menu/Main Header</a></li>
</ul></div>
			</div><div class="et_pb_module et_pb_comments_0 et_pb_comments_module et_pb_bg_layout_light">
				
				
				
				
				
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_2 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_2">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_2  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p><em>I would love to hear about how I can help you with your business website. I have a Masters in Computer Science from Pace University, New York. Having worked in the software industry for many years, I am now freelancing and have specialized in using the<a href="https://www.elegantthemes.com/gallery/divi/" target="_blank" rel="noopener noreferrer"> DIVI theme</a> from Elegant Themes, since the past eight years. Do have a look at my <a href="https://wpportfolio.com/portfolio/">portfolio</a> to view my other completed projects. Feel free to <a href="https://wpportfolio.com/contact-divi-freelancer/">contact me</a> and I will get back to you immediately.</em></p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://wpportfolio.com/add-background-image-to-the-divi-secondary-menu-top-header/">Add Background Image to the DIVI Secondary Menu/Top Header</a> appeared first on <a href="https://wpportfolio.com">WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hide DIVI Top Header/Secondary Menu on Scroll</title>
		<link>https://wpportfolio.com/hide-divi-top-header-secondary-menu-on-scroll/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Wed, 02 Oct 2019 09:43:46 +0000</pubDate>
				<category><![CDATA[DIVI Top Header]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Top Header]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118389</guid>

					<description><![CDATA[<p>The secondary menu / top header stays fixed on the scroll in DIVI.  In this tutorial we will use CSS to hide the top header on scroll. This tip will apply only to desktop devices, as by default, the secondary menu will not be fixed on mobiles. </p>
<p>The post <a href="https://wpportfolio.com/hide-divi-top-header-secondary-menu-on-scroll/">Hide DIVI Top Header/Secondary Menu on Scroll</a> appeared first on <a href="https://wpportfolio.com">WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_3 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_3">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_3  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>The secondary menu / top header stays fixed on the scroll in DIVI. However, there might be times you want to hide it on scroll so that there is a little more real estate on the website. In this tutorial we will use CSS to hide the top header on scroll. This tip will apply only to desktop devices, as by default, the secondary menu will not be fixed on mobiles. </p>
<p>The top header will be visible only if you have an email or phone number or social icons enabled in the DIVI Theme customizer. If you have none of those then, by default you will not see the top header. The top header will also be visible if you have assigned a menu as a &#8220;Secondary Menu&#8221; in the Appearance &#8211;&gt; Menus area of your theme as shown below. </p>
<div id="attachment_118394" style="width: 673px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118394" class="wp-image-118394 size-full" title="Secondary Menu Assigned in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-assigned.jpg" alt="Secondary Menu assigned" width="663" height="552" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-assigned.jpg 663w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-assigned-480x400.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 663px, 100vw" /><p id="caption-attachment-118394" class="wp-caption-text">Secondary Menu Assigned in DIVI</p></div>
<p>&nbsp;</p>
<div id="attachment_118390" style="width: 1319px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118390" class="wp-image-118390 size-full" title="Secondary Menu / Top Header in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-in-DIVI.jpg" alt="Secondary Menu / Top Header in DIVI" width="1309" height="618" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-in-DIVI.jpg 1309w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-in-DIVI-1280x604.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-in-DIVI-980x463.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-in-DIVI-480x227.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1309px, 100vw" /><p id="caption-attachment-118390" class="wp-caption-text">Secondary Menu / Top Header in DIVI</p></div>
<h2> </h2>
<h2>CSS to Hide the Top Header on Scroll</h2>
<p>/* Hide top header &#8211; secondary menu on scroll */<br />#top-header {<br />overflow:hidden;<br />max-height:50px;<br />transition:max-height .3s ease;<br />}<br />#top-header.et-fixed-header {<br />max-height:0;<br />}<br />#main-header {<br />transition:top .3s ease;<br />}<br />#main-header.et-fixed-header {<br />top:0!important;<br />}<br />.admin-bar #main-header.et-fixed-header {<br />top:32px!important;<br />}</p>
<p>Explanation: The #top-header will target the secondary menu bar and set the height to 0. The #main-header will target the primary menu bar. The last piece of CSS will target the primary menu when you are logged in to your wordpress dashboard (hence the .admin-bar).</p>
<p>Now when you scroll on the desktop you will only see the primary menu and the top header will be hidden as shown below. </p>
<div id="attachment_118391" style="width: 1300px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118391" class="wp-image-118391 size-full" title="Hide Top Header on Scroll in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-hidden-on-scroll-DIVI.jpg" alt="Hide Top Header on Scroll in DIVI" width="1290" height="563" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-hidden-on-scroll-DIVI.jpg 1290w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-hidden-on-scroll-DIVI-1280x559.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-hidden-on-scroll-DIVI-980x428.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Secondary-Menu-hidden-on-scroll-DIVI-480x209.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1290px, 100vw" /><p id="caption-attachment-118391" class="wp-caption-text">Hide Top Header on Scroll in DIVI</p></div>
<p>&nbsp;</p>
<p>I hope this CSS helps you in customizing your DIVI site. If you do use it on your site, do leave me a comment. For more such tips on WordPress and DIVI, check out my <a href="https://wpportfolio.com/divi-blog/">DIVI Blog</a>. </p>
<p>&nbsp;</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_4">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_4  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h2>Related Posts –</h2>
<ul>
<li><a href="https://wpportfolio.com/how-to-align-the-divi-secondary-menu-to-left-or-center/">How to align the DIVI Secondary Menu to left or center</a></li>
</ul></div>
			</div><div class="et_pb_module et_pb_comments_1 et_pb_comments_module et_pb_bg_layout_light">
				
				
				
				
				
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_5 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_5">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_5  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p><em>I would love to hear about how I can help you with your business website. I have a Masters in Computer Science from Pace University, New York. Having worked in the software industry for many years, I am now freelancing and have specialized in using the<a href="https://www.elegantthemes.com/gallery/divi/" target="_blank" rel="noopener noreferrer"> DIVI theme</a> from Elegant Themes, since the past eight years. Do have a look at my <a href="https://wpportfolio.com/portfolio/">portfolio</a> to view my other completed projects. Feel free to <a href="https://wpportfolio.com/contact-divi-freelancer/">contact me</a> and I will get back to you immediately.</em></p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://wpportfolio.com/hide-divi-top-header-secondary-menu-on-scroll/">Hide DIVI Top Header/Secondary Menu on Scroll</a> appeared first on <a href="https://wpportfolio.com">WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Add Extra Text on your DIVI Top Header Before the Phone Number</title>
		<link>https://wpportfolio.com/add-extra-text-on-your-divi-top-header-before-the-phone-number/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Tue, 10 Sep 2019 17:48:51 +0000</pubDate>
				<category><![CDATA[DIVI Top Header]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Top Header]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118214</guid>

					<description><![CDATA[<p>The Top header in DIVI sits right above the primary menu bar. Let's add some extra text to the top header using jQuery. We will add the text just before the phone number.</p>
<p>The post <a href="https://wpportfolio.com/add-extra-text-on-your-divi-top-header-before-the-phone-number/">Add Extra Text on your DIVI Top Header Before the Phone Number</a> appeared first on <a href="https://wpportfolio.com">WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_6 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_6">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_6  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Lets add some extra text to the top header in DIVI. DIVI allows you add the phone number and Email using the theme customizer options in the top header. The Top header in DIVI is the one which sits above the primary menu bar. The secondary menu also shows up inside the top header. The image below shows the primary menu, secondary menu and the top header.</p>
<p>There is also an option for displaying your social media icons in the customizer. When the option to Show social media is checked in the header element in the DIVI Theme Customizer, the social icons also get displayed on the top header too.</p>
<div id="attachment_118219" style="width: 1034px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118219" class="wp-image-118219 size-large" src="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-and-Primary-Menu-in-DIVI-1024x404.jpg" alt="Secondary Menu and Primary Menu in DIVI" width="1024" height="404" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-and-Primary-Menu-in-DIVI-1024x404.jpg 1024w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-and-Primary-Menu-in-DIVI-300x118.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-and-Primary-Menu-in-DIVI-768x303.jpg 768w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-and-Primary-Menu-in-DIVI-1080x426.jpg 1080w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-and-Primary-Menu-in-DIVI.jpg 1345w" sizes="(max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-118219" class="wp-caption-text">Primary and Secondary Menu in DIVI</p></div>
<h2>Prepend Text to the Top Header using jQuery</h2>
<p>For this example I am going to add &#8220;Best DIVI Freelancer for your website!&#8221;. To do this we have to add a little bit of jQuery.</p>
<p>To add the jQuery, go to DIVI- Theme Options &#8211; Integration Tab and look for &#8220;Add code to the &lt; head &gt; of your blog&#8221; as shown below. Add the following jQuery in that box.</p>
<div id="attachment_118220" style="width: 1034px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118220" class="wp-image-118220 size-large" src="https://wpportfolio.com/wp-content/uploads/2019/09/Add-jQuery-to-Integration-Tab-DIVI-1024x494.jpg" alt="Add jQuery to Integration Tab DIVI" width="1024" height="494" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Add-jQuery-to-Integration-Tab-DIVI-1024x494.jpg 1024w, https://wpportfolio.com/wp-content/uploads/2019/09/Add-jQuery-to-Integration-Tab-DIVI-300x145.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Add-jQuery-to-Integration-Tab-DIVI-768x370.jpg 768w, https://wpportfolio.com/wp-content/uploads/2019/09/Add-jQuery-to-Integration-Tab-DIVI-1080x521.jpg 1080w, https://wpportfolio.com/wp-content/uploads/2019/09/Add-jQuery-to-Integration-Tab-DIVI.jpg 1130w" sizes="(max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-118220" class="wp-caption-text">Add jQuery to Integration Tab DIVI</p></div>
<p>&nbsp;</p>
<p>[sourcecode language=&#8221;javascript&#8221;]<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
jQuery(function($){<br />
if (!$(&#8216;#et-info&#8217;).length) {<br />
$(&#8216;#top-header .container&#8217;).prepend(&#8216;&lt;div id=&quot;et-info&quot;&gt;&lt;/div&gt;&#8217;);<br />
}<br />
$(&#8216;#et-info&#8217;).prepend(&#8216;&lt;span style=&quot;margin:0 10px&quot;&gt;Best DIVI Freelancer for your website!&lt;/span&gt;&#8217;);<br />
});<br />
&lt;/script&gt;<br />
[/sourcecode]</p>
<p>&nbsp;</p>
<p>This will show your extra text on the top header, before the phone number as shown below.</p>
<div id="attachment_118221" style="width: 1034px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118221" class="wp-image-118221 size-large" src="https://wpportfolio.com/wp-content/uploads/2019/09/Extra-text-Secondary-Menu-Divi-1024x419.jpg" alt="Extra text - Top Header Divi" width="1024" height="419" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Extra-text-Secondary-Menu-Divi-1024x419.jpg 1024w, https://wpportfolio.com/wp-content/uploads/2019/09/Extra-text-Secondary-Menu-Divi-300x123.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Extra-text-Secondary-Menu-Divi-768x314.jpg 768w, https://wpportfolio.com/wp-content/uploads/2019/09/Extra-text-Secondary-Menu-Divi-1080x442.jpg 1080w, https://wpportfolio.com/wp-content/uploads/2019/09/Extra-text-Secondary-Menu-Divi.jpg 1346w" sizes="(max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-118221" class="wp-caption-text">Extra text &#8211; Top Header Divi</p></div>
<h2>Lets Make this Text Clickable</h2>
<p>Sometime you want the text to be clickable, if you were linking it to another page like a contact page. If you want to make the new text that you added Clickable then add the following jQuery. This will create an anchor link for your new extra text.</p>
<p>[sourcecode language=&#8221;javascript&#8221;]<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
jQuery(function($){<br />
if (!$(&#8216;#et-info&#8217;).length) {<br />
$(&#8216;#top-header .container&#8217;).prepend(&#8216;&lt;div id=&quot;et-info&quot;&gt;&lt;/div&gt;&#8217;);<br />
}<br />
$(&#8216;#et-info&#8217;).prepend(&#8216;&lt;span style=&quot;margin:0 10px&quot;&gt;&lt;a href=&quot;https://wpportfolio.com/contact-divi-freelancer/&quot;&gt; Best DIVI Freelancer for your website! &lt;/a&gt;&lt;/span&gt;&#8217;);<br />
});&lt;/script&gt;<br />
[/sourcecode]</p>
<p>&nbsp;</p>
<p>I hope this is helpful and you get a chance to use it on your site. Do leave me a comment if you use this tip on your DIVI website. For more such tips on WordPress and DIVI, check out my <a href="https://wpportfolio.com/divi-blog/">DIVI Blog</a>.</p>
<p>&nbsp;</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_7">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_7  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_7  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h2>Related Posts &#8211; </h2>
<ul>
<li><a href="https://wpportfolio.com/how-to-align-the-divi-secondary-menu-to-left-or-center/">How to Align the DIVI Secondary Menu to Left or Center</a></li>
<li><a href="https://wpportfolio.com/turn-header-phone-number-into-clickable-link-in-divi/">Turn Header Phone Number into Clickable Link in DIVI</a></li>
</ul></div>
			</div><div class="et_pb_module et_pb_comments_2 et_pb_comments_module et_pb_bg_layout_light">
				
				
				
				
				
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_8 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_8">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_8  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p><em>I would love to hear about how I can help you with your business website. I have a Masters in Computer Science from Pace University, New York. Having worked in the software industry for many years, I am now freelancing and have specialized in using the<a href="https://www.elegantthemes.com/gallery/divi/" target="_blank" rel="noopener noreferrer"> DIVI theme</a> from Elegant Themes, since the past eight years. Do have a look at my <a href="https://wpportfolio.com/portfolio/">portfolio</a> to view my other completed projects. Feel free to <a href="https://wpportfolio.com/contact-divi-freelancer/">contact me</a> and I will get back to you immediately.</em></p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://wpportfolio.com/add-extra-text-on-your-divi-top-header-before-the-phone-number/">Add Extra Text on your DIVI Top Header Before the Phone Number</a> appeared first on <a href="https://wpportfolio.com">WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
