Create a "No Sidebars" Page in the "Zeesynergie" Wordpress theme
I'm not a Wordpress expert. I'm not a programmer either, but since I needed to create a page with no sidebars in Wordpress, I did some research and found a way to remove the sidebar from the default theme I had installed on one of my websites. The theme I'm talking about is Zeesynergie. Not all the themes are exactly the same, but maybe after you read this tutorial, you may figure out how to change the any other particular theme you want to use on your own website.
Well, here are the steps you need to take to create a page with no sidebars in Zeesynergie's Wordpress theme:
First of all, install the Zeesynergie theme in your Wordpress site. To do this, just login into your Wordpress admin site. From there go:
Appearance => Themes
Click on the Install Themes tab and in the Search input area type Zeesynergie. Then click on Install and activate this theme.
Using and FTP page editor like Adobe Dreamweaver open the style.css file (Location: wp-content/themes/zeesynergie/style.css). Add somewhere on that file the following codes:
|
#no_sidebar { width: 920px; padding:10px 10px 0 10px; overflow: visible; float: center; } |
Duplicate the file page.php (wp-content/themes/zeesynergie/page.php) and name it page_no_sidebars.php.
We will need to edit this new page page_no_sidebars.php. Let's add the following code to the very top of it:
|
<?php /* |
Find and the remove the code:
| <?php get_sidebar(); ?> |
Find the code:
| <div id="content"> |
And replace it with:
| <div id ="no_sidebar"> |
Upload the files page_no_sidebars.php and style.css.
If you want to assign this no-sidebars format to a particular Wordpress page, from Wordpress admin, go:
Pages => All pages => the page you want to edit
Rollover the mouse on the page's name. You'll see the "Edit" link below it. Click on it. On the right side, under "Page Attributes" you'll see the "Templates" menu. Click on the arrow and select No-Sidebars. Update your page and you are done. The page has no sidebars anymore.




Comments
My pleasure and thanks for the kind comment :) I'm really glad this tutorial was of some help to you.
Romina
Many thanks for this, it has saved me a lot of hassle.
RSS feed for comments to this post