<?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>Alignment Archives - WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</title>
	<atom:link href="https://wpportfolio.com/tag/alignment/feed/" rel="self" type="application/rss+xml" />
	<link>https://wpportfolio.com/tag/alignment/</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>Alignment Archives - WPPortfolio &ndash; Expert Divi Freelancer &amp; WordPress Web Design</title>
	<link>https://wpportfolio.com/tag/alignment/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Center Align Text on Mobile View when using DIVI</title>
		<link>https://wpportfolio.com/center-align-text-on-mobile-view-when-using-divi/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Sat, 01 Feb 2020 08:58:00 +0000</pubDate>
				<category><![CDATA[DIVI Text Module]]></category>
		<category><![CDATA[Alignment]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Text Module]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118673</guid>

					<description><![CDATA[<p>Your text is left aligned on the desktop and you want it centered only on the mobile? In this DIVI tip we will learn how to center the text on mobile using CSS.</p>
<p>The post <a href="https://wpportfolio.com/center-align-text-on-mobile-view-when-using-divi/">Center Align Text on Mobile View when using 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_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><strong>UPDATE (5 March 2022) :</strong> This tutorial was written a while back when DIVI did not have a built in Option to center aligning text differently on desktop, tablet and mobile.<br />With the new version, if your text is left aligned and you want to align it center on mobile, all you have to do is to go to the Text Module Settings &#8211;&gt; Design Tab and under Text Alignment &#8211; Choose Mobile and click on the Center align as shown in the image below. You could choose any combination for eg. Center on Desktop and left aligned on tablet and mobile if you want. </p>
<p><img fetchpriority="high" decoding="async" src="https://wpportfolio.com/wp-content/uploads/2022/03/Center-Align-Text-on-Mobile-DIVI-Options-251x300.jpg" width="251" height="300" alt="Center Align Text on Mobile DIVI Options" class="wp-image-118981 alignnone size-medium" style="display: block; margin-left: auto; margin-right: auto;" /></p>
<p>The following tutorial applies to only very old versions of DIVI.</p>
<p>Sometimes we want to align text to the center only on mobile. DIVI gives you options for aligning your text in the settings. The alignment that you choose will be same for desktop and mobile. But if you wanted your text alignment to be centered only on tablet and mobile, you can add a class to your text module and we will write some CSS to target the text module to change alignment on mobile.</p>
<p>&nbsp;</p>
<div id="attachment_118915" style="width: 1182px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-118915" class="wp-image-118915 size-full" title="Left Aligned Header and Text on Desktop" src="https://wpportfolio.com/wp-content/uploads/2019/11/Left-Aligned-Header-and-Text-on-Desktop.jpg" alt="Left Aligned Header and Text on Desktop" width="1172" height="615" srcset="https://wpportfolio.com/wp-content/uploads/2019/11/Left-Aligned-Header-and-Text-on-Desktop.jpg 1172w, https://wpportfolio.com/wp-content/uploads/2019/11/Left-Aligned-Header-and-Text-on-Desktop-980x514.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/11/Left-Aligned-Header-and-Text-on-Desktop-480x252.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1172px, 100vw" /><p id="caption-attachment-118915" class="wp-caption-text">Left Aligned Header and Text on Desktop in DIVI</p></div>
<p>&nbsp;</p>
<p>Lets assign a class to the text module in DIVI. To do so, we will open the text module settings in the DIVI Visual Builder as shown below.</p>
<p>&nbsp;</p>
<div id="attachment_118916" style="width: 918px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118916" class="wp-image-118916 size-full" title="Module Settings in DIVI Visual Builder" src="https://wpportfolio.com/wp-content/uploads/2019/11/Module-Settings-in-DIVI-Visual-Builder.jpg" alt="Module Settings in DIVI Visual Builder" width="908" height="618" srcset="https://wpportfolio.com/wp-content/uploads/2019/11/Module-Settings-in-DIVI-Visual-Builder.jpg 908w, https://wpportfolio.com/wp-content/uploads/2019/11/Module-Settings-in-DIVI-Visual-Builder-480x327.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 908px, 100vw" /><p id="caption-attachment-118916" class="wp-caption-text">Open Module Settings in DIVI Visual Builder</p></div>
<p>&nbsp;</p>
<p>Next we will head over the Advanced Tab -&gt; CSS Class and assign a class called center-text-on-mobile as shown below.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-118917 size-full" src="https://wpportfolio.com/wp-content/uploads/2019/11/Assign-a-Class-to-your-text-module.jpg" alt="Assign a CSS Class to your DIVI Text Module" width="380" height="519" srcset="https://wpportfolio.com/wp-content/uploads/2019/11/Assign-a-Class-to-your-text-module.jpg 380w, https://wpportfolio.com/wp-content/uploads/2019/11/Assign-a-Class-to-your-text-module-220x300.jpg 220w" sizes="(max-width: 380px) 100vw, 380px" /></p>
<p>&nbsp;</p>
<p>Save  changes to your text module and lets add our CSS to center the text on tablets and mobile.</p>
<h2>CSS to Center align the text on DIVI Contact Form</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>/* Center align text only on tablet and mobile */<br />@media (max-width:980px) {<br />.center-text-on-mobile .et_pb_text_inner,<br />.center-text-on-mobile .heading<br />{<br />text-align: center!important;<br />}<br />}</p>
<p>We are writing a media query here, to target only devices that are less than 980px. You can reduce the max-width:980px in the CSS above to 767px, if you want the text centered only on mobile (and not on tablet).</p>
<p>Now when you view your page on mobile the text should be centered as shown below.</p>
<p>&nbsp;</p>
<div id="attachment_118921" style="width: 430px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118921" class="wp-image-118921 size-full" title="Center Aligned Text on Mobile" src="https://wpportfolio.com/wp-content/uploads/2019/11/Center-Aligned-text-on-mobile.jpg" alt="Center Aligned Text on Mobile" width="420" height="542" srcset="https://wpportfolio.com/wp-content/uploads/2019/11/Center-Aligned-text-on-mobile.jpg 420w, https://wpportfolio.com/wp-content/uploads/2019/11/Center-Aligned-text-on-mobile-232x300.jpg 232w, https://wpportfolio.com/wp-content/uploads/2019/11/Center-Aligned-text-on-mobile-400x516.jpg 400w" sizes="(max-width: 420px) 100vw, 420px" /><p id="caption-attachment-118921" class="wp-caption-text">Center Aligned Text on Mobile</p></div>
<p>&nbsp;</p>
<p>I hope you enjoyed this quick tip. For more DIVI TIPS and TRICKS do 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/center-the-divi-footer-menu-and-bottom-bar-contents/">Center the DIVI Footer Menu and Bottom Bar Contents</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/center-align-text-on-mobile-view-when-using-divi/">Center Align Text on Mobile View when using 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>Center the Submit Button on the DIVI Contact Form</title>
		<link>https://wpportfolio.com/center-the-submit-button-on-the-divi-contact-form/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Mon, 28 Oct 2019 06:36:07 +0000</pubDate>
				<category><![CDATA[DIVI Contact Form]]></category>
		<category><![CDATA[Alignment]]></category>
		<category><![CDATA[Contact Form]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Flex]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118649</guid>

					<description><![CDATA[<p>In this tip we will learn how to center the submit button on the DIVI contact form. By default the submit button is right aligned on the DIVI contact form.</p>
<p>The post <a href="https://wpportfolio.com/center-the-submit-button-on-the-divi-contact-form/">Center the Submit Button on the DIVI Contact Form</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>In this tip we will center the submit button on the DIVI contact form. By default the submit button is right aligned on the contact form in DIVI. We will use the CSS Flexible Box Layout for making it center aligned.</p>
<p>When you add a Contact Form using DIVI, the submit button is aligned to the right as shown below.</p>
<p><img loading="lazy" decoding="async" class="wp-image-118654 size-full" style="font-weight: bold;" title="Right Aligned Submit Button - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Right-Aligned-Submit-Button.jpg" alt="Right Aligned Submit Button - DIVI" width="1191" height="597" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Right-Aligned-Submit-Button.jpg 1191w, https://wpportfolio.com/wp-content/uploads/2019/10/Right-Aligned-Submit-Button-980x491.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Right-Aligned-Submit-Button-480x241.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1191px, 100vw" /></p>
<p>Right Aligned Submit Button &#8211; DIVI</p>
<p>&nbsp;</p>
<h2>CSS to Center align the Submit Button on DIVI Contact Form</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>/* Align the submit button on contact form &#8211; center */<br />.et_contact_bottom_container{<br />display: flex;<br />align-items: center;<br />justify-content: center;<br />width: 100% !important;<br />}</p>
<p>Once you add the CSS, the submit button would be aligned to the center as shown below.</p>
<p><img loading="lazy" decoding="async" class="wp-image-118656 size-full" style="font-weight: bold;" title="Center Aligned Submit Button - DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Center-Aligned-Submit-Button.jpg" alt="Center Aligned Submit Button - DIVI" width="1216" height="612" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Center-Aligned-Submit-Button.jpg 1216w, https://wpportfolio.com/wp-content/uploads/2019/10/Center-Aligned-Submit-Button-980x493.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Center-Aligned-Submit-Button-480x242.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1216px, 100vw" /></p>
<p>Center Aligned Submit Button &#8211; DIVI</p>
<h2> </h2>
<p>&nbsp;</p>
<h2>CSS to Left Align the Submit Button on DIVI Contact Form</h2>
<p>You can also align the button to the left, by changing the CSS to the following</p>
<p>.et_contact_bottom_container{<br />display: flex;<br />justify-content: flex-start;<br />width: 100% !important;<br />}</p>
<p>I hope this tip was helpful for you. 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_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/center-the-divi-footer-menu-and-bottom-bar-contents/">Center the DIVI Footer Menu and Bottom Bar Contents</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/center-the-submit-button-on-the-divi-contact-form/">Center the Submit Button on the DIVI Contact Form</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>Center the DIVI  Footer Menu and Bottom Bar Contents</title>
		<link>https://wpportfolio.com/center-the-divi-footer-menu-and-bottom-bar-contents/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Mon, 07 Oct 2019 06:45:49 +0000</pubDate>
				<category><![CDATA[DIVI Footer and Bottom Bar]]></category>
		<category><![CDATA[Alignment]]></category>
		<category><![CDATA[Bottom Bar]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Footer]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118513</guid>

					<description><![CDATA[<p>This tutorial will help you to center align both the Footer Menu and the contents of the DIVI Bottom Bar in your DIVI theme.</p>
<p>The post <a href="https://wpportfolio.com/center-the-divi-footer-menu-and-bottom-bar-contents/">Center the DIVI  Footer Menu and Bottom Bar Contents</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>In today&#8217;s tip we will see, how we can center align both the Footer Menu and the contents of the DIVI Bottom Bar. The footer menu will only be visible if you have assigned a menu in the display location of &#8220;Footer Menu&#8221; in your WordPress dashboard . This is done by navigating to Appearance &#8211;&gt; Menus as shown below.</p>
<p>&nbsp;</p>
<div id="attachment_118514" style="width: 846px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118514" class="wp-image-118514 size-full" title="Assign Footer Menu in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-in-DIVI.jpg" alt="Assign Footer Menu in DIVI" width="836" height="601" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-in-DIVI.jpg 836w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-in-DIVI-480x345.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 836px, 100vw" /><p id="caption-attachment-118514" class="wp-caption-text">Assign Footer Menu in DIVI</p></div>
<p>&nbsp;</p>
<p>Once you have your footer menu assigned, you can change the background and text color by navigating to<br />DIVI &#8211;&gt; Theme Customizer –-&gt; Footer –-&gt; Footer Menu</p>
<p><strong>Editing the Bottom Bar : </strong></p>
<p>You can add credits to the bottom bar like copyright info, company name etc by navigating to<br />DIVI &#8211;&gt; Theme Customizer –-&gt; Footer –-&gt; Bottom Bar &#8211;&gt; EDIT FOOTER CREDITS</p>
<p>You can also adjust the color for your social icons here.</p>
<p>&nbsp;</p>
<div id="attachment_118516" style="width: 302px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118516" class="wp-image-118516 size-full" title="Footer Content in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Content-in-DIVI.jpg" alt="Footer Content in DIVI" width="292" height="413" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Content-in-DIVI.jpg 292w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Content-in-DIVI-212x300.jpg 212w" sizes="(max-width: 292px) 100vw, 292px" /><p id="caption-attachment-118516" class="wp-caption-text">Footer Content in DIVI</p></div>
<p>&nbsp;</p>
<p>My Footer menu and bottom bar looks like the following without the CSS.</p>
<p>&nbsp;</p>
<div id="attachment_118517" style="width: 1318px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118517" class="wp-image-118517 size-full" title="Footer Menu and Bottom Bar in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-Bar-in-DIVI.jpg" alt="Footer Menu and Bottom Bar in DIVI" width="1308" height="582" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-Bar-in-DIVI.jpg 1308w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-Bar-in-DIVI-1280x570.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-Bar-in-DIVI-980x436.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-Bar-in-DIVI-480x214.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) 1308px, 100vw" /><p id="caption-attachment-118517" class="wp-caption-text">Footer Menu and Bottom Bar in DIVI</p></div>
<p>&nbsp;</p>
<h2>Center the Footer Menu and Bottom Bar Contents in DIVI using CSS</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>/* Center the Footer Menu in DIVI */<br />.bottom-nav {<br />float: none!important;<br />text-align: center!important;<br />}</p>
<p>/* Center the Bottom Bar in DIVI */<br />#footer-info {<br />width: 100%;<br />margin:0 auto;<br />text-align: center!important;<br />}</p>
<p>/* Adjust the margin of the social links DIVI */<br />@media only screen and (min-width: 980px) {<br />#footer-bottom .et-social-icons { margin-bottom:-28px;<br />}<br />}</p>
<p>Once you have applied the CSS the footer menu and the bottom bar content should be both center aligned as shown below.</p>
<p>&nbsp;</p>
<div id="attachment_118551" style="width: 1355px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118551" class="wp-image-118551 size-full" title="Footer Menu and Bottom Bar centered in DIVI" src="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-bar-centered-in-DIVI-Theme.jpg" alt="Footer Menu and Bottom Bar centered in DIVI" width="1345" height="574" srcset="https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-bar-centered-in-DIVI-Theme.jpg 1345w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-bar-centered-in-DIVI-Theme-1280x546.jpg 1280w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-bar-centered-in-DIVI-Theme-980x418.jpg 980w, https://wpportfolio.com/wp-content/uploads/2019/10/Footer-Menu-and-Bottom-bar-centered-in-DIVI-Theme-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) 1345px, 100vw" /><p id="caption-attachment-118551" class="wp-caption-text">Footer Menu and Bottom Bar centered in DIVI</p></div>
<p>&nbsp;</p>
<p>I hope you enjoyed this quick tip and were able to center your Footer and Bottom Bar in your DIVI Theme. If you do not have a Footer Menu then only use the relevant CSS. For More DIVI TIPS and TRICKS make sure you visit my <a href="https://wpportfolio.com/divi-blog/">DIVI BLOG</a>. 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_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/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/how-to-remove-the-bottom-bar-footer-from-divi/">How to Remove the Bottom Bar/Footer from DIVI</a></li>
<li><a href="https://wpportfolio.com/remove-social-icons-from-bottom-bar-footer-on-mobile-in-divi/">Remove Social Icons from Bottom Bar/Footer on Mobile 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/center-the-divi-footer-menu-and-bottom-bar-contents/">Center the DIVI  Footer Menu and Bottom Bar Contents</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 Align the DIVI Secondary Menu to Left or Center</title>
		<link>https://wpportfolio.com/how-to-align-the-divi-secondary-menu-to-left-or-center/</link>
		
		<dc:creator><![CDATA[Girish Dadlani]]></dc:creator>
		<pubDate>Mon, 02 Sep 2019 05:53:50 +0000</pubDate>
				<category><![CDATA[DIVI Secondary Menu]]></category>
		<category><![CDATA[Alignment]]></category>
		<category><![CDATA[Divi]]></category>
		<category><![CDATA[Menu]]></category>
		<guid isPermaLink="false">https://wpportfolio.com/?p=118135</guid>

					<description><![CDATA[<p>Aligning the DIVI Secondary menu to left or center is easy with a few lines of CSS. When you create secondary menu it is by default aligned to the right.</p>
<p>The post <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> 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>Aligning the DIVI Secondary menu to left or center is easy with a few lines of CSS. When you create a new menu in DIVI you can assign the default location for the menu to be the Primary, Secondary or Footer menu. Today&#8217;s tip is for aligning the Secondary menu.</p>
<p>Make sure you have a existing secondary menu ( which appears on top of the Primary menu ). In the image below I have created a new menu called &#8220;Secondary Menu&#8221; and have set the display location on the bottom to be the Secondary Menu.</p>
<div id="attachment_118138" style="width: 856px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118138" class="wp-image-118138 size-full" src="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-location-in-DIVI.jpg" alt="Secondary Menu location in DIVI" width="846" height="508" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-location-in-DIVI.jpg 846w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-location-in-DIVI-300x180.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-location-in-DIVI-768x461.jpg 768w" sizes="(max-width: 846px) 100vw, 846px" /><p id="caption-attachment-118138" class="wp-caption-text">Secondary Menu display location in DIVI</p></div>
<p>&nbsp;</p>
<p>The image below shows the Secondary and Primary menu. As you can see, by default the secondary menu is aligned to the right.</p>
<div id="attachment_118140" style="width: 1034px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118140" class="wp-image-118140 size-large" src="https://wpportfolio.com/wp-content/uploads/2019/09/Primary-and-Secondary-Menu-1024x498.jpg" alt="Location of Primary and Secondary menu in DIVI" width="1024" height="498" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Primary-and-Secondary-Menu-1024x498.jpg 1024w, https://wpportfolio.com/wp-content/uploads/2019/09/Primary-and-Secondary-Menu-300x146.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Primary-and-Secondary-Menu-768x373.jpg 768w, https://wpportfolio.com/wp-content/uploads/2019/09/Primary-and-Secondary-Menu-1080x525.jpg 1080w, https://wpportfolio.com/wp-content/uploads/2019/09/Primary-and-Secondary-Menu.jpg 1208w" sizes="(max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-118140" class="wp-caption-text">Location of Primary and Secondary menu in DIVI</p></div>
<p>&nbsp;</p>
<p>We will now add the CSS for alignment of the secondary menu. 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>
<h2>Secondary Menu Aligned to the Left</h2>
<p>Add the following css to align the secondary menu to the left.</p>
<p>/* Secondary menu to the left */<br />#et-secondary-menu {<br />float: none;<br />}</p>
<div id="attachment_118143" style="width: 1034px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118143" class="wp-image-118143 size-large" src="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-left-in-DIVI-1024x482.jpg" alt="Secondary Menu to the left in DIVI" width="1024" height="482" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-left-in-DIVI-1024x482.jpg 1024w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-left-in-DIVI-300x141.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-left-in-DIVI-768x361.jpg 768w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-left-in-DIVI-1080x508.jpg 1080w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-left-in-DIVI.jpg 1209w" sizes="(max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-118143" class="wp-caption-text">Secondary Menu to the left in DIVI</p></div>
<h2> </h2>
<h2>Secondary Menu Aligned to the Center</h2>
<p>Add the following CSS to align the secondary menu to the center.</p>
<p>/* Secondary menu to the center */<br />#et-secondary-menu {<br />float: none;<br />text-align: center;<br />}</p>
<p>&nbsp;</p>
<div id="attachment_118149" style="width: 1034px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-118149" class="wp-image-118149 size-large" src="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-center-in-DIVI-1024x486.jpg" alt="Secondary Menu to the center in DIVI" width="1024" height="486" srcset="https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-center-in-DIVI-1024x486.jpg 1024w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-center-in-DIVI-300x142.jpg 300w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-center-in-DIVI-768x365.jpg 768w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-center-in-DIVI-1080x513.jpg 1080w, https://wpportfolio.com/wp-content/uploads/2019/09/Secondary-Menu-to-the-center-in-DIVI.jpg 1184w" sizes="(max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-118149" class="wp-caption-text">Secondary Menu to the center in DIVI</p></div>
<p>&nbsp;</p>
<p>I hope this tip helps you to quickly align your secondary menu in DIVI using CSS. You can browse through my other useful tips for DIVI and WordPress on 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 –</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>
<li><a href="https://wpportfolio.com/center-the-divi-footer-menu-and-bottom-bar-contents/">Center the DIVI Footer Menu and Bottom Bar Contents</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-align-the-divi-secondary-menu-to-left-or-center/">How to Align the DIVI Secondary Menu to Left or Center</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>
