<?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>DIVI Primary Menu Archives - WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</title>
	<atom:link href="https://wpportfolio.com/category/primary-menu/feed/" rel="self" type="application/rss+xml" />
	<link>https://wpportfolio.com/category/primary-menu/</link>
	<description>Custom Divi Designs &#38; WordPress Solutions for Small Businesses</description>
	<lastBuildDate>Wed, 14 Jan 2026 05:16:41 +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>DIVI Primary Menu Archives - WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</title>
	<link>https://wpportfolio.com/category/primary-menu/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Keep the DIVI Menu Same Size Without Shrinking on Scroll</title>
		<link>https://wpportfolio.com/keep-the-divi-menu-same-size-without-shrinking-on-scroll/</link>
					<comments>https://wpportfolio.com/keep-the-divi-menu-same-size-without-shrinking-on-scroll/#comments</comments>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Sat, 19 Oct 2019 18:14:44 +0000</pubDate>
				<category><![CDATA[DIVI Primary Menu]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Fixed Menu]]></category>
		<category><![CDATA[Primary Menu]]></category>
		<category><![CDATA[Scroll]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118617</guid>

					<description><![CDATA[<p>In this tip we will learn how to keep the DIVI Menu same size without shrinking on scroll. We will adjust the menu height and text size in the settings.</p>
<p>The post <a href="https://wpportfolio.com/keep-the-divi-menu-same-size-without-shrinking-on-scroll/">Keep the DIVI Menu Same Size Without Shrinking 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_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>The DIVI Primary menu and logo shrinks in size when you scroll down the page. In DIVI when you scroll down, the fixed header settings come into effect. In this quick tip we will see how to prevent the shrinking of the DIVI primary menu and logo and keep it the same size on scroll. </p>
<p>You can make the Primary Menu and Fixed Menu (on scroll) height to exactly same so that your logo and menu items do not shrink. Lets see how to do that. </p>
<p>Here&#8217;s how the Primary menu looks with the default settings. Notice how when you scroll the the primary menu and logo shrink.</p>
<h2>Primary Menu Before Scrolling Down</h2>
<div id="attachment_118622" style="width: 1328px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-118622" class="wp-image-118622 size-full" title="DIVI Header/Primary Menu before Scroll" src="https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-before-scroll.jpg" alt="DIVI Header/Primary Menu before Scroll" width="1318" height="550" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-before-scroll.jpg 1318w, https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-before-scroll-1280x534.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-before-scroll-980x409.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-before-scroll-480x200.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) 1318px, 100vw" /><p id="caption-attachment-118622" class="wp-caption-text">DIVI Header/Primary Menu before Scroll</p></div>
<p>&nbsp;</p>
<h2>Primary Menu After Scrolling Down</h2>
<div id="attachment_118623" style="width: 1323px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-118623" class="wp-image-118623 size-full" title="DIVI Header/Primary Menu after Scroll" src="https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-after-scroll.jpg" alt="DIVI Header/Primary Menu after Scroll" width="1313" height="604" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-after-scroll.jpg 1313w, https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-after-scroll-1280x589.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-after-scroll-980x451.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/DIVI-Menu-after-scroll-480x221.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) 1313px, 100vw" /><p id="caption-attachment-118623" class="wp-caption-text">DIVI Header/Primary Menu after Scroll</p></div>
<p>&nbsp;</p>
<h2>Steps for keeping DIVI Menu same size on scroll</h2>
<p>Step 1) Find out what your primary menu height and the text size is is by navigating to </p>
<p>DIVI &#8211;&gt; Theme Customizer –-&gt; Header &amp; Navigation –-&gt; Primary Menu Bar &#8211;&gt; MENU HEIGHT</p>
<p>DIVI &#8211;&gt; Theme Customizer –-&gt; Header &amp; Navigation –-&gt; Primary Menu Bar &#8211;&gt; TEXT SIZE</p>
<p>In my case this a a value of 67 and 14 as shown below . </p>
<div id="attachment_118624" style="width: 1319px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118624" class="wp-image-118624 size-full" title="Primary Menu Height in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-Height-in-DIVI.jpg" alt="Primary Menu Height in DIVI" width="1309" height="522" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-Height-in-DIVI.jpg 1309w, https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-Height-in-DIVI-1280x510.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-Height-in-DIVI-980x391.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-Height-in-DIVI-480x191.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-118624" class="wp-caption-text">Primary Menu Height in DIVI</p></div>
<p>&nbsp;</p>
<p>Step 2 ) Make the Fixed Menu height and text size same as the number you have in the primary menu (in my case 67 and 14)</p>
<p>Navigate to </p>
<p>DIVI &#8211;&gt; Theme Customizer &#8211;&gt; Header &amp; Navigation &#8211;&gt; Fixed Navigation Settings &#8211;&gt; FIXED MENU HEIGHT</p>
<p>DIVI &#8211;&gt; Theme Customizer &#8211;&gt; Header &amp; Navigation &#8211;&gt; Fixed Navigation Settings &#8211;&gt; TEXT SIZE</p>
<p>Make the fixed menu height and the text size exactly same as the primary menu and now your logo and menu items won&#8217;t shrink on scrolling down.</p>
<div id="attachment_118625" style="width: 1313px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118625" class="wp-image-118625 size-full" title="Fixed Menu Height in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Fixed-Menu-Height-in-DIVI.jpg" alt="Fixed Menu Height in DIVI" width="1303" height="544" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Fixed-Menu-Height-in-DIVI.jpg 1303w, https://wpportfolio.com/wp-content/uploads/2019/10/Fixed-Menu-Height-in-DIVI-1280x534.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Fixed-Menu-Height-in-DIVI-980x409.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Fixed-Menu-Height-in-DIVI-480x200.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) 1303px, 100vw" /><p id="caption-attachment-118625" class="wp-caption-text">Fixed Menu Height in DIVI</p></div>
<p>Now, when you scroll both the menu will not shrink any more and both of them will have the same height and text size.</p>
<p>I hope you enjoyed this quick tip. 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>&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/hide-divi-top-header-secondary-menu-on-scroll/">Hide DIVI Top Header/Secondary Menu on Scroll</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/keep-the-divi-menu-same-size-without-shrinking-on-scroll/">Keep the DIVI Menu Same Size Without Shrinking 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 Background Image to the DIVI Primary Menu/Main Header</title>
		<link>https://wpportfolio.com/add-background-image-to-the-divi-primary-menu-main-header/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Sun, 06 Oct 2019 05:41:11 +0000</pubDate>
				<category><![CDATA[DIVI Primary Menu]]></category>
		<category><![CDATA[Background Image]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Primary Menu]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118473</guid>

					<description><![CDATA[<p>In this tutorial, we will add a background image to the Primary Menu, also know as the the main header in the DIVI theme using a little CSS.</p>
<p>The post <a href="https://wpportfolio.com/add-background-image-to-the-divi-primary-menu-main-header/">Add Background Image to the DIVI Primary Menu/Main 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_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>Today we will see how to add a background image to the DIVI primary menu also know as the main header. You can change the colors of the DIVI Primary Menu using the Theme Customizer Options, but cannot add an image 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 primary 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; Primary Menu Bar &#8211;&gt; BACKGROUND COLOR</p>
<p>I have chosen a color of WHITE for the text color. This can be selected by navigating to <br />DIVI &#8211;&gt; Theme Customizer –-&gt; Header &amp; Navigation –-&gt; Primary Menu Bar &#8211;&gt; TEXT COLOR</p>
<p>This is what my the main header looks like with the black background and white text setting for the primary menu. </p>
<p>&nbsp;</p>
<div id="attachment_118476" style="width: 1328px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118476" class="wp-image-118476 size-full" title="Background Color Primary Menu - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Primary-Menu.jpg" alt="Background Color Primary Menu - DIVI" width="1318" height="599" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Primary-Menu.jpg 1318w, https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Primary-Menu-1280x582.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Primary-Menu-980x445.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Background-Color-Primary-Menu-480x218.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) 1318px, 100vw" /><p id="caption-attachment-118476" class="wp-caption-text">Background Color Primary 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 white as my background image is dark in 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_118475" style="width: 1930px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118475" class="wp-image-118475 size-full" title="Primary Menu Background Image" src="https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background.jpg" alt="Primary Menu Background Image" width="1920" height="108" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background.jpg 1920w, https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background-1280x72.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background-980x55.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-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-118475" class="wp-caption-text">Primary Menu Background Image</p></div>
<p>The URL was <a href="https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background.jpg">https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background.jpg</a></p>
<h2> </h2>
<h2>CSS to add Background Image on DIVI Primary 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>/* Add a Background Image to the DIVI Primary Menu */<br />#main-header{<br />background: url(&#8220;https://wpportfolio.com/wp-content/uploads/2019/10/primarymenu-background.jpg&#8221;) !important;<br />background-repeat: no-repeat !important;<br />background-size: cover !important;<br />}</p>
<p>Make sure you replace the background URL to the url of your image. </p>
<p>Here is what the Primary menu looks like after applying the above CSS. </p>
<p>&nbsp;</p>
<div id="attachment_118477" style="width: 1360px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118477" class="wp-image-118477 size-full" title="Primary Menu with Background Image - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-with-Background-Image-DIVI.jpg" alt="Primary Menu with Background Image - DIVI" width="1350" height="577" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-with-Background-Image-DIVI.jpg 1350w, https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-with-Background-Image-DIVI-1280x547.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-with-Background-Image-DIVI-980x419.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Primary-Menu-with-Background-Image-DIVI-480x205.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) 1350px, 100vw" /><p id="caption-attachment-118477" class="wp-caption-text">Primary 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. Also for more such tips make sure you check out my <a href="https://wpportfolio.com/divi-blog/">DIVI TIPS</a> on my blog.</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_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/add-background-image-to-your-divi-mobile-menu/">Add Background image to 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>
</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/add-background-image-to-the-divi-primary-menu-main-header/">Add Background Image to the DIVI Primary Menu/Main 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>Change Color of Primary and Mobile Menu on Hover in DIVI</title>
		<link>https://wpportfolio.com/change-color-of-primary-and-mobile-menu-on-hover-in-divi/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Sun, 29 Sep 2019 09:55:32 +0000</pubDate>
				<category><![CDATA[DIVI Primary Menu]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Menu]]></category>
		<category><![CDATA[Mobile]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118307</guid>

					<description><![CDATA[<p>Let's use CSS to change the color of the DIVI primary menu and sub menu links on desktop and mobile, when you hover over them. </p>
<p>The post <a href="https://wpportfolio.com/change-color-of-primary-and-mobile-menu-on-hover-in-divi/">Change Color of Primary and Mobile Menu on Hover in DIVI</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>Change the color of the primary menu and sub menu links on desktop and mobile, when you hover over them. By default you can set the color of the Primary Menu items and only the active menu item using the DIVI options.</p>
<p>Its a good visual indicator for the user when you change the color of the menu, specially if you have long sub menus. </p>
<p>Let’s add some CSS to change the colors for desktop and mobile. To do this head over to your style.css in your child theme and paste the following CSS.  Alternatively you can also go to DIVI -&gt; Theme Options and paste the CSS in the Custom CSS box. <br />I have used an orange color (#ffa500) in my example CSS. Change it to the color best suitable for your website.</p>
<h2> </h2>
<h2>Add CSS to Change Hover Colors for your Primary Menu</h2>
<p>/* Change color on primary menu */<br />#top-menu-nav #top-menu a:hover,#mobile_menu_slide a:hover <br />{<br />    color: #ffa500!important;<br />    opacity:1 !important;<br />}</p>
<div id="attachment_118330" style="width: 1305px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118330" class="wp-image-118330 size-full" title="Change color of primary menu on hover - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-primary-menu-on-hover-1.jpg" alt="Change color of primary menu on hover - DIVI" width="1295" height="582" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-primary-menu-on-hover-1.jpg 1295w, https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-primary-menu-on-hover-1-1280x575.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-primary-menu-on-hover-1-980x440.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-primary-menu-on-hover-1-480x216.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) 1295px, 100vw" /><p id="caption-attachment-118330" class="wp-caption-text">Change color of primary menu on hover &#8211; DIVI</p></div>
<h2> </h2>
<h2>Add CSS to Change Hover Colors for your Mobile Menu</h2>
<p>/* Change color on Mobile Menu  */<br />.et_mobile_menu li a:hover, header#main-header.et-fixed-header ul li ul li a:hover<br />{<br /> color: #ffa500 !important;<br /> opacity:1 !important;<br />}</p>
<div id="attachment_118332" style="width: 423px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118332" class="wp-image-118332 size-full" title="Change color of mobile menu on hover - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-mobile-menu-on-hover3.jpg" alt="Change color of mobile menu on hover - DIVI" width="413" height="580" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-mobile-menu-on-hover3.jpg 413w, https://wpportfolio.com/wp-content/uploads/2019/09/Change-color-of-mobile-menu-on-hover3-214x300.jpg 214w" sizes="(max-width: 413px) 100vw, 413px" /><p id="caption-attachment-118332" class="wp-caption-text">Change color of mobile menu on hover &#8211; DIVI</p></div>
<p>&nbsp;</p>
<p>I hope this DIVI Tip was helpful and if you do use it on your site, leave me a comment. For more such useful tips on WordPress and DIVI, do 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 –</h2>
<ul>
<li><a href="https://wpportfolio.com/how-to-remove-the-drop-down-arrow-from-the-divi-primary-menu/">How to Remove the Drop Down Arrow from the DIVI Primary Menu</a></li>
<li><a href="https://wpportfolio.com/hamburger-menu-color/">How to Change Hamburger or Mobile Menu Color in Divi</a></li>
<li><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></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/change-color-of-primary-and-mobile-menu-on-hover-in-divi/">Change Color of Primary and Mobile Menu on Hover in DIVI</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>How to Remove the Drop Down Arrow from the DIVI Primary Menu</title>
		<link>https://wpportfolio.com/how-to-remove-the-drop-down-arrow-from-the-divi-primary-menu/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Sun, 01 Sep 2019 09:41:19 +0000</pubDate>
				<category><![CDATA[DIVI Primary Menu]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Drop Down]]></category>
		<category><![CDATA[Menu]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118109</guid>

					<description><![CDATA[<p>By default DIVI will add a drop down arrow to your primary menu when it has sub items. With a few lines of CSS, we can remove the arrow from the menu.</p>
<p>The post <a href="https://wpportfolio.com/how-to-remove-the-drop-down-arrow-from-the-divi-primary-menu/">How to Remove the Drop Down Arrow from the DIVI Primary Menu</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_9 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_9">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_9  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_9  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>There might be times you might want to remove the drop down arrow from divi&#8217;s primary menu bar. Let&#8217;s see how we can do this. By default when you have sub menu items in your primary menu, you will notice that there is a small arrow to the right of the parent menu. I think this is a good desirable feature for your menu as it is a good visual indicator for a user that there are sub-menu items under this main menu item.</p>
<p>Recently I was working on a website for a client, who wanted a clean look and wanted me to remove the drop down arrow from the primary menu.</p>
<p>The image below shows the arrow on the drop down menu.</p>
<div id="attachment_118112" style="width: 462px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118112" class="wp-image-118112 size-full" src="https://wpportfolio.com/wp-content/uploads/2019/09/Drop-Down-Arrow-Primary-Menu-DIVI.jpg" alt="Drop Down Arrow - Primary Menu DIVI" width="452" height="183" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Drop-Down-Arrow-Primary-Menu-DIVI.jpg 452w, https://wpportfolio.com/wp-content/uploads/2019/09/Drop-Down-Arrow-Primary-Menu-DIVI-300x121.jpg 300w" sizes="(max-width: 452px) 100vw, 452px" /><p id="caption-attachment-118112" class="wp-caption-text">Drop Down Menu Arrow in DIVI</p></div>
<h2> </h2>
<h2>Remove the Drop Down Menu with CSS</h2>
<p>With a little bit of CSS I was able to remove the arrow for my client. The sub menus are still visible when you hover over the main menu. While I like the drop down arrow, I removed it because that is what my client wanted.</p>
<p>Head over to your style.css in your child theme and paste the following CSS. Alternatively you can also go to DIVI -&gt; Theme Options and paste the css in the Custom CSS box.</p>
<p>/* Remove the down arrow from divi&#8217;s primary menu */<br />‪#top-menu .menu-item-has-children &gt; a:first-child:after{content: &#8221; ;}<br />#top-menu .menu-item-has-children {padding-right: 0px;}</p>
<p>&nbsp;</p>
<div id="attachment_118113" style="width: 422px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118113" class="wp-image-118113 size-full" src="https://wpportfolio.com/wp-content/uploads/2019/09/Drop-Down-Arrow-Removed-Primary-Menu-DIVI.jpg" alt="Drop Down Arrow Removed - Primary Menu DIVI" width="412" height="167" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Drop-Down-Arrow-Removed-Primary-Menu-DIVI.jpg 412w, https://wpportfolio.com/wp-content/uploads/2019/09/Drop-Down-Arrow-Removed-Primary-Menu-DIVI-300x122.jpg 300w" sizes="(max-width: 412px) 100vw, 412px" /><p id="caption-attachment-118113" class="wp-caption-text">Drop Down Arrow Removed</p></div>
<p>The CSS looks for all the top-menu items that have any children (sub-menu) and replaces the content (down arrow) with a blank space. The second line of CSS also removes any extra padding to the right of the menu which have sub-items.</p>
<p>The menu still functions normally, showing the sub menus on hover.</p>
<p>Hope this tip help you and if you have any questions feel free to leave 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_10">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_10  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_10  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/change-color-of-primary-and-mobile-menu-on-hover-in-divi/">Change Color of Primary and Mobile Menu on Hover in DIVI</a></li>
</ul></div>
			</div><div class="et_pb_module et_pb_comments_3 et_pb_comments_module et_pb_bg_layout_light">
				
				
				
				
				
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_11 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_11">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_11  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_11  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/how-to-remove-the-drop-down-arrow-from-the-divi-primary-menu/">How to Remove the Drop Down Arrow from the DIVI Primary Menu</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>
