How to Remove the Side Bars from Your Pages

If you notice on my pages I have eliminated the side bars on several of my pages.  This was extremely easy, I promise (Jude easy!).  In Blogger go into Posting –>Edit Page –> Edit HTML –> Place the following code in the box:
<b:if cond=”data:blog.pageType == &quot;static_page&quot;”>
<style>
.blog-pager, .footer, .post-footer, .feed-links, .sidebar { display:none !important;}
#main-wrapper {width: 95%; float:none; margin: 0 auto !important;}
</style>
</b:if>
You can then go back to Compose and finish your page.  Publish Page and you have a page with no side bars.
Now you are well on your way to have a “web page” opposed to a blog Winking smile
Advertisements

6 thoughts on “How to Remove the Side Bars from Your Pages

  1. I have nine pages listed horizontally at the bottom of my blog's "main image." There's a horizontal bar extending across the page on the left and right sides of the pages' bar. I want to remove those because they're so annoying. Do I post that code you give at the top of every one of my pages to get rid of the sidebars?Thanks for your help! 🙂

  2. Well, I added the 'To Remove Both Columns' code to one page and it removed the left verticle blog column with content and expanded the page. I was actually wanting to remove the horizonzal bars on the left and right of the page list.

  3. This will only remove the Widgets in your sidebars and the sidebars – it does not remove headers or footers. Expanding the blogging area to the full area of the page. Without seeing the actual page and what you would like to remove I am not sure what you are asking.The both code (HTML) is the right and left side code together. I use it all the time, if you missed part of the code it will only show the side where the full code. For example if I copied the full code to remove the right side and not for the left. Only the right side would be removed and the left would still be there.I hope this helps.Manda 🙂

  4. It's cool! I got it now. Your code is actually quite useful for page expansion because it does away with what I call "information claustrophobia" – content smushed into one narrow page like a post. lol Thnaks a lot! 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s