Hello friends i am back with a great blogger tutorial that is how to hide the whole sidebar from a certain page or all pages. As the heading suggests that how we can hide the sidebar contained of all widgets from all of the static pages on your blog.Note-Sidebar is a collection of all widgets arranged vertically in blogs. Generally blogger shows all the widgets on all pages but i have a code by using that you can hide the sidebar from the static pages. This code is used to hide sidebar in pages like Contact Us page or HTML Editor Pages. By hiding the whole sidebar from the static pages you can expand the post width to full size hence you will got full width space on your blog page. Now let's add this code to your Blog. but remember first see the demo of this.
How To Hide The SideBar From The Static Pages
Now Let's Add this syntax to your blog-
- Go to Blogger dashboard.
- Select Template option and Click Edit HTML.
- In the template code search for </b:skin> and paste following code below it .
<!-------- Hide Sidebar Syntax by HT4U ------------>
<b:if cond='data:blog.pageType == "static_page"'>
<style>
.main-inner .columns {
padding-left: 0px !important;
padding-right: 0px !important;
}
.main-inner .fauxcolumn-center-outer {
left: 0px !important;
right: 0px !important;
}
.main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
display: none !important;
}
</style>
</b:if>
- Now Save your template and see the magic , Now the sidebar will not appear in the static pages on your blog.
11 comments
Click here for commentswow ! i had used this trick to hide the main menu in post pages and another code in hiding the 2nd menu in homepage. Thanks a lot these codes are very helpful for me.
ReplyNice Post ... I am looking for it since last week
Reply@simankagara
Replyyes, you can use these tricks on hiding widgets on homepage and also on archive pages
@jayant rao
Replythanks for your feedback
It's not working to me. Please help me. https://daftaranimesaya.blogspot.com/ this is my blog
ReplyIt's not working to me.
ReplyHave you heard about programmed ATM card? email: (williamshackers@hotmail.com) or WhatsApp +27730051607 for enquiring on how to get the ATM programmed card.
ReplyWe have special cash loaded programmed ATM card of $5000, $10000, $15000, $20000 and any amount your choice you need for you to buy your dream car, house and to start up your own business. Our ATM card can be used to withdraw cash at any ATM or swipe, stores and POS. Our card has daily withdrawal limit depending card balance you order. Contact us via Email if you need a card email: (williamshackers@hotmail.com) or WhatsApp +27730051607.
I Want to use this medium in appreciating cyber golden hacker , after being ripped off my money,he helped me find my cheating lover he helped me hack her WHATSAPP, GMAIL and kik and i got to know that he was cheating on me, in less than 24 hours he helped me out with everything, cybergoldenhacker is trust worthy and affordable contact him on: cybergoldenhacker at gmail dot com
ReplyI Want to use this medium in appreciating cyber golden hacker , after being ripped off my money,he helped me find my cheating lover he helped me hack her WHATSAPP, GMAIL and kik and i got to know that he was cheating on me, in less than 24 hours he helped me out with everything, cybergoldenhacker is trust worthy and affordable contact him on: cybergoldenhacker at gmail dot com
ReplyIf you are in need of financial Help, don't hesitate to place order for deserve Programmed card that can withdraw any amount limit you want. Deserve Card are very transparent and easy to deal with. You can Purchase Deserve card that can withdraw up to $50,000 to $100,000 limit without being detected because of the programming of the card. I'm extremely grateful to them for being honest with their words and delivering the card to me. This is the third day of receiving the card and i have withdraw $9,500 from the Deserve Programmed Card. I tried purchasing the card previously from someone else, but it never arrived until i tried skylink technology for those in need of more money, you can also contact them. you can place order for the card Via whatsapp/telegram +1(213)785-1553 or their E-mail: skylinktechnes@yahoo.com
ReplyDo you need to increase your credit score?
ReplyDo you intend to upgrade your school grade?
Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
Do you need any information concerning any database.
Do you need to retrieve deleted files?
Do you need to clear your criminal records or DMV?
Do you want to remove any site or link from any blog?
you should contact this hacker, he is reliable and good at the hack jobs..
contact : cybergoldenhacker at gmail dot com
ConversionConversion EmoticonEmoticon