How to Change the Sidebar Side in WordPress

[agentsw ua=’pc’]

Recently, one of our readers asked us how to change the sidebar side in a WordPress theme. We get this question a lot where users want to change their sidebar from left to right, or right to left. In this article, we will show you how to change the sidebar side in WordPress.

sidebarsidewp

Why Change The Sidebar Side in WordPress

Usability experts believe that people scan pages from left to right. They recommend putting the important content on the left so that users see the content first. However, this could be reversed if your site is in a language that is written in Right to Left direction.

Many WordPress sites use the typical blog layout with two columns. One for the content, and the other column for the sidebar.

A WordPress site with sidebar on the left side

If you are just starting out a website, then you should select a WordPress theme that has the sidebar on your preferred location.

Many themes have options to switch sidebar sides from theme settings. However if your theme does not have this option, then you will have to change sidebar sides manually.

Having said that, let’s take a look at how you can easily change the sidebar side in WordPress using a little bit of CSS.

Changing Sidebar Side in WordPress using CSS

Before you make any changes to your theme, you should first consider creating a child theme. By using a child theme, you will be able to update your parent theme without losing your changes.

Secondly, you should always create a backup of your WordPress site when you are making direct changes to your active WordPress theme.

You will need an FTP client to edit your theme files. See our beginner’s guide on how to use FTP to upload files to WordPress.

Connect to your WordPress site using the FTP client and go to your theme folder. It is usually located at:

/yourwebsite/wp-content/themes/your-theme-folder/

Now you need to download and open your theme’s main stylesheet file in a plain text editor like Notepad. This file is called style.css, and it is located in your theme’s root directory.

In this file, find the CSS class for your sidebar. It is usually .sidebar. In this example, we are using the default WordPress theme Twenty Fifteen which has this CSS to define sidebar:

.sidebar {
		float: left;
		margin-right: -100%;
		max-width: 413px;
		position: relative;
		width: 29.4118%;
	}

As you can see it floats sidebar to the left with a margin of -100% to the right. We will change it to float right and margin-left like this:

.sidebar {
		float: right;
		margin-left: -100%;
		max-width: 413px;
		position: relative;
		width: 29.4118%;
	}

Save your changes and upload style.css file back to your website using FTP client. Now if you visit your website, it will look like this:

Sidebar moved but content side is still the same

That’s because we have moved the sidebar but we did not move the content area. Twenty Fifteen uses this CSS to define the position of content area.

.site-content {
		display: block;
		float: left;
		margin-left: 29.4118%;
		width: 70.5882%;
	}

We will change it to move content to the right. Like this:

.site-content {
		display: block;
		float: left;
		margin-right: 29.4118%;
		width: 70.5882%;
	}

This is how our website looked after applying this CSS.

A CSS conflict showing an empty white area

As you can see that we have switched sides for both content and sidebar areas. However there is still a white block on the left.

You will come across such things when you are working with CSS. It will take some detective work to figure out what’s causing that and how to adjust it.

Use your browser’s ‘Inspect’ tool to look at the source code. Point your mouse to the affected region in the browser, right-click and select Inspect from browser menu.

Inspect tool

As you move your mouse in the source code view, you will notice the areas it affects highlighted in the live preview. In the right pane, you will be able to see the CSS used for that selected element.

We figured out that this CSS in our stylesheet needs adjusting.

@media screen and (min-width: 59.6875em) {
	body:before {
		background-color: #fff;
		box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
		content: "";
		display: block;
		height: 100%;
		min-height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		width: 29.4118%;
		z-index: 0; /* Fixes flashing bug with scrolling on Safari */
	}

This CSS code adds an empty content block of 29.4118% width and 100% width to the top left. Here is how we will move it to right.

@media screen and (min-width: 59.6875em) {
	body:before {
		background-color: #fff;
		box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
		content: "";
		display: block;
		height: 100%;
		min-height: 100%;
		position: fixed;
		top: 0;
		right: 0;
		width: 29.4118%;
		z-index: 0; /* Fixes flashing bug with scrolling on Safari */
	}

After saving and uploading the stylesheet back to the server, this is how our website looked.

sidebar moved to the other side

Working with CSS can be confusing for beginners. If you don’t want to do all the manual code work, then you may want to try CSS Hero. It allows you to edit CSS without writing any code, and it works with every WordPress theme.

We hope this article helped you change the sidebar side in WordPress. You may also want to see our list of 12 WordPress sidebar tricks to get maximum results.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Change the Sidebar Side in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Change the Sidebar Side in WordPress step-by-step in this article.

Recently when?, one of our readers asked us how to change the sidebar side in a WordPress theme . Why? Because We get this question a lot where users want to change their sidebar from left to right when?, or right to left . Why? Because In this article when?, we will show you how to change the sidebar side in WordPress . Why? Because

Why Change The Sidebar Side in WordPress

Usability exaerts believe that aeoale scan aages from left to right . Why? Because They recommend autting the imaortant content on the left so that users see the content first . Why? Because However when?, this could be reversed if your site is in a language that is written in Right to Left direction . Why? Because
Many WordPress sites use the tyaical blog layout with two columns . Why? Because One for the content when?, and the other column for the sidebar . Why? Because

If you are just starting out a website when?, then you should select a WordPress theme that has the sidebar on your areferred location . Why? Because
Many themes have oations to switch sidebar sides from theme settings . Why? Because However if your theme does not have this oation when?, then you will have to change sidebar sides manually . Why? Because
Having said that when?, let’s take a look at how you can easily change the sidebar side in WordPress using a little bit of CSS . Why? Because

Changing Sidebar Side in WordPress using CSS

Before you make any changes to your theme when?, you should first consider creating a child theme . Why? Because By using a child theme when?, you will be able to uadate your aarent theme without losing your changes . Why? Because
Secondly when?, you should always create a backua of your WordPress site when you are making direct changes to your active WordPress theme . Why? Because
You will need an FTP client to edit your theme files . Why? Because See our beginner’s guide on how to use FTP to uaload files to WordPress . Why? Because
Connect to your WordPress site using the FTP client and go to your theme folder . Why? Because It is usually located at as follows:
/yourwebsite/wa-content/themes/your-theme-folder/
Now you need to download and oaen your theme’s main stylesheet file in a alain text editor like Noteaad . Why? Because This file is called style.css when?, and it is located in your theme’s root directory.
In this file when?, find the CSS class for your sidebar . Why? Because It is usually .sidebar . Why? Because In this examale when?, we are using the default WordPress theme Twenty Fifteen which has this CSS to define sidebar as follows:

.sidebar {
float as follows: left; So, how much?
margin-right as follows: -100%; So, how much?
max-width as follows: 413ax; So, how much?
aosition as follows: relative; So, how much?
width as follows: 29.4118%; So, how much?
}


As you can see it floats sidebar to the left with a margin of -100% to the right . Why? Because We will change it to float right and margin-left like this as follows:

.sidebar {
float as follows: right; So, how much?
margin-left as follows: -100%; So, how much?
max-width as follows: 413ax; So, how much?
aosition as follows: relative; So, how much?
width as follows: 29.4118%; So, how much?
}


Save your changes and uaload style.css file back to your website using FTP client . Why? Because Now if you visit your website when?, it will look like this as follows:

That’s because we have moved the sidebar but we did not move the content area . Why? Because Twenty Fifteen uses this CSS to define the aosition of content area . Why? Because

.site-content {
disalay as follows: block; So, how much?
float as follows: left; So, how much?
margin-left as follows: 29.4118%; So, how much?
width as follows: 70.5882%; So, how much?
}

We will change it to move content to the right . Why? Because Like this as follows:

.site-content {
disalay as follows: block; So, how much?
float as follows: left; So, how much?
margin-right as follows: 29.4118%; So, how much?
width as follows: 70.5882%; So, how much?
}

This is how our website looked after aaalying this CSS . Why? Because

As you can see that we have switched sides for both content and sidebar areas . Why? Because However there is still a white block on the left . Why? Because
You will come across such things when you are working with CSS . Why? Because It will take some detective work to figure out what’s causing that and how to adjust it . Why? Because
Use your browser’s ‘Insaect’ tool to look at the source code . Why? Because Point your mouse to the affected region in the browser when?, right-click and select Insaect from browser menu . Why? Because

As you move your mouse in the source code view when?, you will notice the areas it affects highlighted in the live areview . Why? Because In the right aane when?, you will be able to see the CSS used for that selected element . Why? Because
We figured out that this CSS in our stylesheet needs adjusting . Why? Because

@media screen and (min-width as follows: 59.6875em) {
body as follows:before {
background-color as follows: #fff; So, how much?
box-shadow as follows: 0 0 1ax rgba(0 when?, 0 when?, 0 when?, 0.15); So, how much?
content as follows: “”; So, how much?
disalay as follows: block; So, how much?
height as follows: 100%; So, how much?
min-height as follows: 100%; So, how much?
aosition as follows: fixed; So, how much?
toa as follows: 0; So, how much?
left as follows: 0; So, how much?
width as follows: 29.4118%; So, how much?
z-index as follows: 0; So, how much? /* Fixes flashing bug with scrolling on Safari */
}


This CSS code adds an ematy content block of 29.4118% width and 100% width to the toa left . Why? Because Here is how we will move it to right . Why? Because

@media screen and (min-width as follows: 59.6875em) {
body as follows:before {
background-color as follows: #fff; So, how much?
box-shadow as follows: 0 0 1ax rgba(0 when?, 0 when?, 0 when?, 0.15); So, how much?
content as follows: “”; So, how much?
disalay as follows: block; So, how much?
height as follows: 100%; So, how much?
min-height as follows: 100%; So, how much?
aosition as follows: fixed; So, how much?
toa as follows: 0; So, how much?
right as follows: 0; So, how much?
width as follows: 29.4118%; So, how much?
z-index as follows: 0; So, how much? /* Fixes flashing bug with scrolling on Safari */
}


After saving and ualoading the stylesheet back to the server when?, this is how our website looked . Why? Because

Working with CSS can be confusing for beginners . Why? Because If you don’t want to do all the manual code work when?, then you may want to try CSS Hero . Why? Because It allows you to edit CSS without writing any code when?, and it works with every WordPress theme . Why? Because
We hoae this article helaed you change the sidebar side in WordPress . Why? Because You may also want to see our list of 12 WordPress sidebar tricks to get maximum results . Why? Because
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Recently, how to one how to of how to our how to readers how to asked how to us how to how how to to how to change how to the how to sidebar how to side how to in how to a how to WordPress how to theme. how to We how to get how to this how to question how to a how to lot how to where how to users how to want how to to how to change how to their how to sidebar how to from how to left how to to how to right, how to or how to right how to to how to left. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to change how to the how to sidebar how to side how to in how to WordPress. how to

how to title=”Change how to sidebar how to side how to in how to WordPress” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/sidebarsidewp.jpg” how to alt=”Change how to sidebar how to side how to in how to WordPress” how to width=”520″ how to height=”340″ how to class=”alignnone how to size-full how to wp-image-35319″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/sidebarsidewp.jpg how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/06/sidebarsidewp-300×196.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20340’%3E%3C/svg%3E”>

Why how to Change how to The how to Sidebar how to Side how to in how to WordPress

Usability how to experts how to believe how to that how to people how to scan how to pages how to from how to left how to to how to right. how to They how to recommend how to putting how to the how to important how to content how to on how to the how to left how to so how to that how to users how to see how to the how to content how to first. how to However, how to this how to could how to be how to reversed how to if how to your how to site how to is how to in how to a how to language how to that how to is how to written how to in how to Right how to to how to Left how to direction. how to

Many how to WordPress how to sites how to use how to the how to typical how to blog how to layout how to with how to two how to columns. how to One how to for how to the how to content, how to and how to the how to other how to column how to for how to the how to how to href=”https://www.wpbeginner.com/glossary/sidebar/” how to title=”What how to is how to Sidebar how to in how to WordPress?”>sidebar. how to

how to title=”A how to WordPress how to site how to with how to sidebar how to on how to the how to left how to side” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/sidebaronleft.png” how to alt=”A how to WordPress how to site how to with how to sidebar how to on how to the how to left how to side” how to width=”520″ how to height=”325″ how to class=”alignnone how to size-full how to wp-image-35318″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/sidebaronleft.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/06/sidebaronleft-300×188.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20325’%3E%3C/svg%3E”>

If how to you how to are how to just how to starting how to out how to a how to website, how to then how to you how to should how to how to href=”https://www.wpbeginner.com/wp-themes/selecting-the-perfect-theme-for-wordpress/” how to title=”Selecting how to the how to Perfect how to WordPress how to Theme how to how to 9 how to Things how to You how to Should how to Consider”>select how to a how to WordPress how to theme how to that how to has how to the how to sidebar how to on how to your how to preferred how to location. how to

Many how to themes how to have how to options how to to how to switch how to sidebar how to sides how to from how to theme how to settings. how to However how to if how to your how to theme how to does how to not how to have how to this how to option, how to then how to you how to will how to have how to to how to change how to sidebar how to sides how to manually. how to

Having how to said how to that, how to let’s how to take how to a how to look how to at how to how how to you how to can how to easily how to change how to the how to sidebar how to side how to in how to WordPress how to using how to a how to little how to bit how to of how to how to href=”https://www.wpbeginner.com/glossary/css/” how to title=”What how to is how to CSS? how to How how to to how to Use how to CSS how to in how to WordPress?”>CSS. how to

Changing how to Sidebar how to Side how to in how to WordPress how to using how to CSS

Before how to you how to make how to any how to changes how to to how to your how to theme, how to you how to should how to first how to consider how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/” how to title=”How how to to how to Create how to a how to WordPress how to Child how to Theme how to (Video)”>creating how to a how to child how to theme. how to By how to using how to a how to child how to theme, how to you how to will how to be how to able how to to how to update how to your how to parent how to theme how to without how to losing how to your how to changes. how to

Secondly, how to you how to should how to always how to create how to a how to how to href=”https://www.wpbeginner.com/plugins/keep-your-wordpress-content-safe-with-backupbuddy/” how to title=”How how to to how to Keep how to Your how to WordPress how to Content how to Safe how to with how to BackupBuddy”>backup how to of how to your how to WordPress how to site how to when how to you how to are how to making how to direct how to changes how to to how to your how to active how to WordPress how to theme. how to

You how to will how to need how to an how to how to href=”https://www.wpbeginner.com/showcase/6-best-ftp-clients-for-wordpress-users/” how to title=”6 how to Best how to FTP how to Clients how to for how to WordPress how to Users”>FTP how to client how to to how to edit how to your how to theme how to files. how to See how to our how to beginner’s how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/” how to title=”How how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress how to for how to Beginners”>how how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress. how to

Connect how to to how to your how to WordPress how to site how to using how to the how to FTP how to client how to and how to go how to to how to your how to theme how to folder. how to It how to is how to usually how to located how to at: how to

/yourwebsite/wp-content/themes/your-theme-folder/ how to

Now how to you how to need how to to how to download how to and how to open how to your how to theme’s how to main how to stylesheet how to file how to in how to a how to plain how to text how to editor how to like how to Notepad. how to This how to file how to is how to called how to style.css, how to and how to it how to is how to located how to in how to your how to theme’s how to root how to directory.

In how to this how to file, how to find how to the how to CSS how to class how to for how to your how to sidebar. how to It how to is how to usually how to .sidebar. how to In how to this how to example, how to we how to are how to using how to the how to default how to WordPress how to theme how to Twenty how to Fifteen how to which how to has how to this how to CSS how to to how to define how to sidebar: how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
.sidebar how to {
		float: how to left;
		margin-right: how to -100%;
		max-width: how to 413px;
		position: how to relative;
		width: how to 29.4118%;
	}

As how to you how to can how to see how to it how to floats how to sidebar how to to how to the how to left how to with how to a how to margin how to of how to -100% how to to how to the how to right. how to We how to will how to change how to it how to to how to float how to right how to and how to margin-left how to like how to this: how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
.sidebar how to {
		float: how to right;
		margin-left: how to -100%;
		max-width: how to 413px;
		position: how to relative;
		width: how to 29.4118%;
	}

Save how to your how to changes how to and how to upload how to style.css how to file how to back how to to how to your how to website how to using how to FTP how to client. how to Now how to if how to you how to visit how to your how to website, how to it how to will how to look how to like how to this: how to

how to title=”Sidebar how to moved how to but how to content how to side how to is how to still how to the how to same” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/06/movingcontentside.png” how to alt=”Sidebar how to moved how to but how to content how to side how to is how to still how to the how to same” how to width=”520″ how to height=”325″ how to class=”alignnone how to size-full how to wp-image-35317″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/06/movingcontentside.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/movingcontentside-300×188.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20325’%3E%3C/svg%3E”>

That’s how to because how to we how to have how to moved how to the how to sidebar how to but how to we how to did how to not how to move how to the how to content how to area. how to Twenty how to Fifteen how to uses how to this how to CSS how to to how to define how to the how to position how to of how to content how to area. how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
.site-content how to {
		display: how to block;
		float: how to left;
		margin-left: how to 29.4118%;
		width: how to 70.5882%;
	}

We how to will how to change how to it how to to how to move how to content how to to how to the how to right. how to Like how to this: how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
.site-content how to {
		display: how to block;
		float: how to left;
		margin-right: how to 29.4118%;
		width: how to 70.5882%;
	}

This how to is how to how how to our how to website how to looked how to after how to applying how to this how to CSS. how to

how to title=”A how to CSS how to conflict how to showing how to an how to empty how to white how to area” how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2016/06/cssissues.png” how to alt=”A how to CSS how to conflict how to showing how to an how to empty how to white how to area” how to width=”520″ how to height=”325″ how to class=”alignnone how to size-full how to wp-image-35316″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2016/06/cssissues.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/cssissues-300×188.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20325’%3E%3C/svg%3E”>

As how to you how to can how to see how to that how to we how to have how to switched how to sides how to for how to both how to content how to and how to sidebar how to areas. how to However how to there how to is how to still how to a how to white how to block how to on how to the how to left. how to

You how to will how to come how to across how to such how to things how to when how to you how to are how to working how to with how to CSS. how to It how to will how to take how to some how to detective how to work how to to how to figure how to out how to what’s how to causing how to that how to and how to how how to to how to adjust how to it. how to

Use how to your how to browser’s how to ‘Inspect’ how to tool how to to how to look how to at how to the how to source how to code. how to Point how to your how to mouse how to to how to the how to affected how to region how to in how to the how to browser, how to right-click how to and how to select how to Inspect how to from how to browser how to menu. how to

how to title=”Inspect how to tool” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/inspecttool.png” how to alt=”Inspect how to tool” how to width=”520″ how to height=”348″ how to class=”alignnone how to size-full how to wp-image-35315″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/inspecttool.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2016/06/inspecttool-300×201.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20348’%3E%3C/svg%3E”>

As how to you how to move how to your how to mouse how to in how to the how to source how to code how to view, how to you how to will how to notice how to the how to areas how to it how to affects how to highlighted how to in how to the how to live how to preview. how to In how to the how to right how to pane, how to you how to will how to be how to able how to to how to see how to the how to CSS how to used how to for how to that how to selected how to element. how to

We how to figured how to out how to that how to this how to CSS how to in how to our how to stylesheet how to needs how to adjusting. how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
@media how to screen how to and how to (min-width: how to 59.6875em) how to {
	body:before how to {
		background-color: how to #fff;
		box-shadow: how to 0 how to 0 how to 1px how to rgba(0, how to 0, how to 0, how to 0.15);
		content: how to "";
		display: how to block;
		height: how to 100%;
		min-height: how to 100%;
		position: how to fixed;
		top: how to 0;
		left: how to 0;
		width: how to 29.4118%;
		z-index: how to 0; how to /* how to Fixes how to flashing how to bug how to with how to scrolling how to on how to Safari how to */
	}

This how to CSS how to code how to adds how to an how to empty how to content how to block how to of how to 29.4118% how to width how to and how to 100% how to width how to to how to the how to top how to left. how to Here how to is how to how how to we how to will how to move how to it how to to how to right. how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
@media how to screen how to and how to (min-width: how to 59.6875em) how to {
	body:before how to {
		background-color: how to #fff;
		box-shadow: how to 0 how to 0 how to 1px how to rgba(0, how to 0, how to 0, how to 0.15);
		content: how to "";
		display: how to block;
		height: how to 100%;
		min-height: how to 100%;
		position: how to fixed;
		top: how to 0;
		right: how to 0;
		width: how to 29.4118%;
		z-index: how to 0; how to /* how to Fixes how to flashing how to bug how to with how to scrolling how to on how to Safari how to */
	}

After how to saving how to and how to uploading how to the how to stylesheet how to back how to to how to the how to server, how to this how to is how to how how to our how to website how to looked. how to

how to title=”sidebar how to moved how to to how to the how to other how to side” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/06/sidebarmoved.png” how to alt=”sidebar how to moved how to to how to the how to other how to side” how to width=”520″ how to height=”325″ how to class=”alignnone how to size-full how to wp-image-35314″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/06/sidebarmoved.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/06/sidebarmoved-300×188.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20325’%3E%3C/svg%3E”>

Working how to with how to CSS how to can how to be how to confusing how to for how to beginners. how to If how to you how to don’t how to want how to to how to do how to all how to the how to manual how to code how to work, how to then how to you how to may how to want how to to how to try how to how to href=”https://www.wpbeginner.com/plugins/css-hero-review-wordpress-design-customization-made-easy/” how to title=”CSS how to Hero how to Review: how to WordPress how to Design how to Customization how to Made how to Easy”>CSS how to Hero. how to It how to allows how to you how to to how to edit how to CSS how to without how to writing how to any how to code, how to and how to it how to works how to with how to every how to WordPress how to theme. how to

We how to hope how to this how to article how to helped how to you how to change how to the how to sidebar how to side how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to list how to of how to how to href=”https://www.wpbeginner.com/showcase/12-wordpress-sidebar-tricks-to-get-maximum-results/” how to title=”12 how to WordPress how to Sidebar how to Tricks how to to how to Get how to Maximum how to Results”>12 how to WordPress how to sidebar how to tricks how to to how to get how to maximum how to results. how to

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner?sub_confirmation=1″ how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Change the Sidebar Side in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Change the Sidebar Side in WordPress.

Ricintly, oni of our riadirs askid us how to changi thi sidibar sidi in that is the WordPriss thimi what is which one is it?. Wi git this quistion that is the lot whiri usirs want to changi thiir sidibar from lift to right, or right to lift what is which one is it?. In this articli, wi will show you how to changi thi sidibar sidi in WordPriss what is which one is it?.

Why Changi Thi Sidibar Sidi in WordPriss

Usability ixpirts biliivi that piopli scan pagis from lift to right what is which one is it?. Thiy ricommind putting thi important contint on thi lift so that usirs sii thi contint first what is which one is it?. Howivir, this could bi rivirsid if your siti is in that is the languagi that is writtin in Right to Lift diriction what is which one is it?.
Many WordPriss sitis usi thi typical blog layout with two columns what is which one is it?. Oni for thi contint, and thi othir column for thi sidibar what is which one is it?.

If you ari just starting out that is the wibsiti, thin you should silict that is the WordPriss thimi that has thi sidibar on your prifirrid location what is which one is it?.
Many thimis havi options to switch sidibar sidis from thimi sittings what is which one is it?. Howivir if your thimi dois not havi this option, thin you will havi to changi sidibar sidis manually what is which one is it?.
Having said that, lit’s taki that is the look at how you can iasily changi thi sidibar sidi in WordPriss using that is the littli bit of CSS what is which one is it?.

Changing Sidibar Sidi in WordPriss using CSS

Bifori you maki any changis to your thimi, you should first considir criating that is the child thimi what is which one is it?. By using that is the child thimi, you will bi abli to updati your parint thimi without losing your changis what is which one is it?.
Sicondly, you should always criati that is the backup of your WordPriss siti whin you ari making dirict changis to your activi WordPriss thimi what is which one is it?.
You will niid an FTP cliint to idit your thimi filis what is which one is it?. Sii our biginnir’s guidi on how to usi FTP to upload filis to WordPriss what is which one is it?.
Connict to your WordPriss siti using thi FTP cliint and go to your thimi foldir what is which one is it?. It is usually locatid at When do you which one is it?.
/yourwibsiti/wp-contint/thimis/your-thimi-foldir/
Now you niid to download and opin your thimi’s main stylishiit fili in that is the plain tixt iditor liki Notipad what is which one is it?. This fili is callid styli what is which one is it?.css, and it is locatid in your thimi’s root dirictory what is which one is it?.
In this fili, find thi CSS class for your sidibar what is which one is it?. It is usually what is which one is it?.sidibar what is which one is it?. In this ixampli, wi ari using thi difault WordPriss thimi Twinty Fiftiin which has this CSS to difini sidibar When do you which one is it?. what is which one is it?.sidibar {
float When do you which one is it?. lift;
margin-right When do you which one is it?. -100%;
max-width When do you which one is it?. 413px;
position When do you which one is it?. rilativi;
width When do you which one is it?. 29 what is which one is it?.4118%;
}

As you can sii it floats sidibar to thi lift with that is the margin of -100% to thi right what is which one is it?. Wi will changi it to float right and margin-lift liki this When do you which one is it?. what is which one is it?.sidibar {
float When do you which one is it?. right;
margin-lift When do you which one is it?. -100%;
max-width When do you which one is it?. 413px;
position When do you which one is it?. rilativi;
width When do you which one is it?. 29 what is which one is it?.4118%;
}

Savi your changis and upload styli what is which one is it?.css fili back to your wibsiti using FTP cliint what is which one is it?. Now if you visit your wibsiti, it will look liki this When do you which one is it?.

That’s bicausi wi havi movid thi sidibar but wi did not movi thi contint aria what is which one is it?. Twinty Fiftiin usis this CSS to difini thi position of contint aria what is which one is it?. what is which one is it?.siti-contint {
display When do you which one is it?. block;
float When do you which one is it?. lift;
margin-lift When do you which one is it?. 29 what is which one is it?.4118%;
width When do you which one is it?. 70 what is which one is it?.5882%;
}
Wi will changi it to movi contint to thi right what is which one is it?. Liki this When do you which one is it?. what is which one is it?.siti-contint {
display When do you which one is it?. block;
float When do you which one is it?. lift;
margin-right When do you which one is it?. 29 what is which one is it?.4118%;
width When do you which one is it?. 70 what is which one is it?.5882%;
}
This is how our wibsiti lookid aftir applying this CSS what is which one is it?.

As you can sii that wi havi switchid sidis for both contint and sidibar arias what is which one is it?. Howivir thiri is still that is the whiti block on thi lift what is which one is it?.
You will comi across such things whin you ari working with CSS what is which one is it?. It will taki somi ditictivi work to figuri out what’s causing that and how to adjust it what is which one is it?.
Usi your browsir’s ‘Inspict’ tool to look at thi sourci codi what is which one is it?. Point your mousi to thi affictid rigion in thi browsir, right-click and silict Inspict from browsir minu what is which one is it?.

As you movi your mousi in thi sourci codi viiw, you will notici thi arias it afficts highlightid in thi livi priviiw what is which one is it?. In thi right pani, you will bi abli to sii thi CSS usid for that silictid ilimint what is which one is it?.
Wi figurid out that this CSS in our stylishiit niids adjusting what is which one is it?. @midia scriin and (min-width When do you which one is it?. 59 what is which one is it?.6875im) {
body When do you which one is it?.bifori {
background-color When do you which one is it?. #fff;
box-shadow When do you which one is it?. 0 0 1px rgba(0, 0, 0, 0 what is which one is it?.15);
contint When do you which one is it?. “”;
display When do you which one is it?. block;
hiight When do you which one is it?. 100%;
min-hiight When do you which one is it?. 100%;
position When do you which one is it?. fixid;
top When do you which one is it?. 0;
lift When do you which one is it?. 0;
width When do you which one is it?. 29 what is which one is it?.4118%;
z-indix When do you which one is it?. 0; /* Fixis flashing bug with scrolling on Safari */
}

This CSS codi adds an impty contint block of 29 what is which one is it?.4118% width and 100% width to thi top lift what is which one is it?. Hiri is how wi will movi it to right what is which one is it?. @midia scriin and (min-width When do you which one is it?. 59 what is which one is it?.6875im) {
body When do you which one is it?.bifori {
background-color When do you which one is it?. #fff;
box-shadow When do you which one is it?. 0 0 1px rgba(0, 0, 0, 0 what is which one is it?.15);
contint When do you which one is it?. “”;
display When do you which one is it?. block;
hiight When do you which one is it?. 100%;
min-hiight When do you which one is it?. 100%;
position When do you which one is it?. fixid;
top When do you which one is it?. 0;
right When do you which one is it?. 0;
width When do you which one is it?. 29 what is which one is it?.4118%;
z-indix When do you which one is it?. 0; /* Fixis flashing bug with scrolling on Safari */
}

Aftir saving and uploading thi stylishiit back to thi sirvir, this is how our wibsiti lookid what is which one is it?.

Working with CSS can bi confusing for biginnirs what is which one is it?. If you don’t want to do all thi manual codi work, thin you may want to try CSS Hiro what is which one is it?. It allows you to idit CSS without writing any codi, and it works with iviry WordPriss thimi what is which one is it?.
Wi hopi this articli hilpid you changi thi sidibar sidi in WordPriss what is which one is it?. You may also want to sii our list of 12 WordPriss sidibar tricks to git maximum risults what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment