How To Remove Left Sidebar of Twenty Fourteen

In this tutorial, we are going to remove the left sidebar of Twenty Fourteen.

But first, what you will need is creating the child theme, click here, if you don’t have one yet.

Although this default theme is extremely great for mobile devices because it’s made to be mobile responsive.

However, I personally, don’t really like the left sidebar which is glued on the left side of my screen in Desktop view.

The look of the original left sidebar of Twenty Fourteen

Twenty Fourteen child with Left Sidebar and not yet centered.

Twenty Fourteen child with Left Sidebar and not yet centered.

Below is the look of the site with no left sidebar, and center aligned to page, after doing these steps

Remove Left Sidebar Twenty Fourteen

Removed Left Sidebar – Twenty Fourteen

The process will be a little bit longer, as shown also in the video tutorial, but if you don’t have time for it, then just copy the code below, for functions.php and the style.css.

Alternatively, you can modify it fast and easily with the plugin, called, Twenty Fourteen extended (Update 22 July 2014 – the plugin is apparently removed from WordPress plugin directory).

I did also try this awesome plugin, however I find one small drawback which is to me, personally important. When I view the page source, the long css code is added to my header area, which I personally prefer it to be clean. So it is a personal preference.

Related: Twenty Fourteen Child Theme


Also in the video, I mentioned, the other way, is you can install the plugin, copy and paste the added css file after modification, and add it manually to your child theme style.css file. And then deactivate the plugin.

So it is up to you, let’s move on the way how I remove Twenty Fourteen left sidebar.

Steps to remove the left sidebar of Twenty Fourteen child theme.

1. Go to and read this removing sidebar codex. If you want faster way, copy the functions.php and style.css code below.

2. Inside your child theme folder, create a new file, name it, functions.php (if you followed my tutorial, then you only have style.css there). And add this code there, and save.

Note: if you already have some codes in your functions.php, add it before php closing tag ?>.

3. Then inside your style.css, add the code below and save. (you can delete the background color modification, I forgot to mention it in the video :)

Your site will have no left sidebar, and it’s aligned to the center of the page.

Share the knowledge
Share on Google+0Tweet about this on Twitter3Share on Facebook1Pin on Pinterest0Share on Reddit0Email this to someonePrint this page

Comments

  1. Gruffalos says

    Hi, this is great and very helpful. One thing I don’t like about the extended plugin is that you can’t use the default page template if you remove the left sidebar, you have to use the full width page template which means no right sidebar widgets.
    However I would like to be able to remove the left sidebar only on some pages and posts, not site-wide. Are you able to tell me either how to do this or what I should search for to find the answer?

  2. Gruffalos says

    Actually I just thought of a way to do it-make a new page template that has the right sidebar, but remove the left sidebar.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">