August 27, 2012

How To Create a Full Width Page and Remove Sidebar in Blogger

Do you think in blogger platform you can neither hide a Sidebar nor can create a full width page? Blogger is not a flexible platform though, with the help of XML and CSS we can remove the sidebar and can even increase the width without facing difficulties whatsoever. If you have observed our 404, Advertise Here and Search engine page, then you may sense a massive difference between these and normal pages. The main intention behind increasing the width and hiding sidebar on certain pages is to transform your blog into a gorgeous looking website. If you are thinking to stretch the width of your site by removing sidebar, then you have landed on right destination because today we will be learning How to Optimize the Width of BlogSpot blogs.

How To Remove Sidebar and Increase Width of Certain Pages:

The steps are straightforward and would hardly soak 10 minutes to complete so just do as follows.
  1. 1. Go to Blogger.com >> Add NEW Page/Post
  2. 2. Now select HTML TAB on Blogger Post Editor
  3. 3. Paste the following CSS and XML Code:
<style>
#sidebar-wrapper, #midsidebar-wrapper, .gapad2, .blog-pager, .post-header-line-1, .post-footer { display:none !important;} #main-wrapper { width:98%!important;} .post { width:98%!important; }
</style>
  1. 4. Replace width:98% according to your needs, you can even uses pixels instead of percentage i.e. 960px.
Additional Tips: If you want to exclude Titles from a certain page, then just paste the following code before </style> in above coding. Bots and crawlers will continue to fetch your Title, but human visitors will not view them because with the help of CSS we have concealed them.
.post-title, .post-labels, post-icons, post-author {display:none!important;}

  1. 5. Now Publish it and then visit your site to witness a perfect full width page without sidebar.

How Does the Whole Process Works:

Now after successfully increasing the width of your page, you would be curious to learn how the whole process works. Fundamentally, there is no magic behind it because the whole credit goes to Style sheet (CSS). If you have noticed in above CSS, we have used {display:none !important;} which is responsible for hiding the sidebar and etc. Moreover, you can even use display:none to hide any widget from any page or post but make sure you attach proper CLASS Ids to complete the process.

Where and Why You Should Use Full Width in Pages?

Before we could jump onto our tutorial, let us first quickly rap up, where we can utilize the full-width pages. Now you may have seen those WordPress websites which uses stretched in size, whenever they want to add an Infographics to their posts. In that same way, you can either use them in about us or advertise here pages, so that you can gain maximum attraction out of your every visitor.

From The Editor’s Desk:

If you have noticed, we have also customized our 404 Page to Full-width and soon will be revealing its secret. Our developers are busy to create some marvelous widgets for blogger that will be released once the work got finalized. Alhamdulillah we have achieved more than 2000 fans on Facebook, while more than 4000 twitter followers and the number is rapidly multiplying.
Special thanks to Mustafa Ahmed Zai for helping us. From the beginning, he has been our mentor and continues to help us whenever it is required. If have any difficulties during this tutorial then don’t hesitate to drop your comments. Till then peace blessings and happy stretching.

41 comments:

  1. Thanks very much i will use this trick in my blog

    ReplyDelete
  2. Awesome article brother. Keep up your hard work.

    ReplyDelete
  3. very nice explanation and waiting for widgets. You are helping us very well thanx bro. plz read my comment on last post and bro i have checked the images they have lines in my windows, plz help

    thetechshell.com

    ReplyDelete
  4. Nice Post about anthor page layout Style ...

    Thanks Syed ..

    ReplyDelete
  5. Brother I Am Using New Blogger Official Template So That Widget Is Not Working In My Blog...???

    ReplyDelete
    Replies
    1. Send Us your Template @ contact.mybloggerlab.com and we would find out the problem. Peace

      Delete
  6. Nice post bro, but it not working in my template
    check my custom search page
    Tech Blog

    Thanks

    ReplyDelete
    Replies
    1. Brother I Think the POST and SIDEBAR IDs are different on your Template. Send us your Template via contact.mybloggerlab.com and we will optimize the coding for your theme. Peace

      Delete
  7. Plz bro how many days i have to wait for solution of that problem plz reply, because i don,t want to use another template and redesign taht again plz reply.

    I think you understand how feels as i am in tention.

    TheTechShell

    I am very thankful to you every time you helps me.

    ReplyDelete
  8. Brother On This Email Address Template Doesn't Sending...???
    contact.mybloggerlab.com
    Bro I Think Something Is Wrong On That Email...!!!
    Please Check And Reply Peace...

    ReplyDelete
    Replies
    1. Dude Attach the XML Template to Mediafire.com then Send its Link in the Contact Us. Peace

      Delete
  9. Dude thats post is really awesome!
    But you still not prepared my Logo!
    Please send it to me &
    I need your help to customize my template!

    ReplyDelete
  10. The Blog URL Which you have provided is deleted.

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. @jatin Kharb try hiding individual gadgets from static pages, and then paste the above given code. i'm working on this right now, http://regnumfinancials.blogspot.com/

    ReplyDelete
  13. really awesome dude its really cool but i want to this with my 404 page so please do any help my blog is http://haseebnet.blogspot.com

    ReplyDelete
  14. Hi it;s not working on my blog... :(

    ReplyDelete
    Replies
    1. Can you Provide us the details what problems you are facing? so we can help you.

      Delete
  15. hello syed i was tried with all the all the google custom templates but no template is working with this code.
    please decode it?

    ReplyDelete
  16. Please help me. I have a blog and I want a page to remove the side bar. This is the page. I saw your article in the web and I was searching for an answer with no results. Please help me. This is a third party template:
    http://www.poemasalacarta.com/2013/01/contenido-gratuito.html

    ReplyDelete
    Replies
    1. hi,...
      I really like your article about hiding sidebar . It was not useful for me. My site is http://www.needonetouch.org/. Do you like to associate with me? We could share our knowledge to improve our blogs simultaneously. So kindly mail me about your opinion. I am waiting for your opinion
      one touch
      Akhil

      Delete
  17. I am Mariam used every single spell worker on the internet, spent untold amounts of money and discovered they are all fakes...i was the fool though; doing the same thing over and over again and expecting different results. In the end, I decided that I wanted a tarot reading to know what my future held for me; I contacted a woman who lives locally to me and she told me about a man named (Olalude abija); he does not advertise on the internet, has another job for income, has no set prices, makes no false promises and refuses to help anyone that cannot be helped and even helps
    for free sometimes, he will give you proof before taking money. He is a wonderful man and he was the only person who actually gave me real results. I really hope he doesn't mind me advertising his contact on the internet but I'm sure any help/ extra work will benefit him.contact him as oduakar1@live.com He travel sometimes.i cant give out his number cos he told me he don’t want to be disturbed by many people across the world..he said his email is okay and he’ will replied to any emails asap,love marriage,finance, job promotion ,lottery Voodoo,poker voodoo,golf Voodoo,Law & Court case Spells,money voodoo,weigh loss voodoo,any sicknesses voodoo,Trouble in marriage,HIV AIDS,Barrenness(need a child),good Luck voodoo,it's all he does Hope this helps everyone that is in a desperate situation as I once was; I know how it feels to hold onto something and never have a chance to move on because of the false promises and then to feel trapped in wanting something
    more!

    ReplyDelete
  18. he can you help me it doesnt work http://ferizaj1.blogspot.nl/ please check it out and let me know

    ReplyDelete
    Replies
    1. Use this CSS

      #rsidebar-wrapper { display: none; }
      #main-wrapper { width: 980px!important; }

      Delete
  19. Strange. All that code did was delete the footer for me. For some reason, I can't figure out how to delete the sidebar...

    ReplyDelete
    Replies
    1. What you are trying. There is no need to edit Footer?

      Delete
  20. Great Bro. This article helped me to make my site awesome

    ReplyDelete
  21. It seems not working on me dude..i used blogger.

    ReplyDelete
  22. i removed one side bar, but the other one is not removed:
    http://mntzzr.blogspot.com/p/quran.html

    ReplyDelete
    Replies
    1. Go to Blogger >> Pages >> Your Page >> Edit PAGE >> HTML TAB

      Paste this at the end of the code

      <style>
      #main-wrapper {
      width: 100%;
      }
      div#main2-wrapper {
      width: 100%;
      }
      div#sidebarleft-wrapper {
      display: none;
      }
      </style>

      Delete
  23. Hi it's working on me but the width is not full. Can you help me?
    http://kuyadijae.blogspot.com/p/forum.html

    ReplyDelete
  24. fxscordips.blogspot.in sir its not hiding my middle column ,i have 3 column site

    ReplyDelete
  25. I have a third party template, and I successfully removed the sidebar from a single page. But I can't seem to take the page to full width...

    ReplyDelete
  26. Hi Blogger lab,

    Can this issue be reversed though on the new blogger template contempo and how

    ReplyDelete

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.