Hide widget on specific pages in blogger blog

Hiding Blogger widget on a specific page :
By default all widgets installed on your Blogger will appear on every page of your Blogger blog. I.e when you click on Contact Us page of your Blogger blog, your blog sidebar widgets also appear. You can hide widgets from specific pages your Blogger blog. If you don't want to display particular widget/gadget on specific page in your blog , then just hide widget from that page.

How to hide widget/gadget on specific pages in Blogger blog : 

It simple to hide a widget on specific page or posts of your Blogger. With conditional tags we can hide/show widget/gadget on specific page in Blogger blogs. You can easily follow this method. Below I'm showing how to hide translate widget on a specific page of your Blogger blog. You can use this method to hide any widget on your Blogger.

Follow below steps to hide widget on specific pages in your Blogger blog

Step 1 : Go to Blogger Dashboard

Step 2 : Click on Template

Step 3 : Click on Edit HTML

Step 4 : Search gadget code , suppose if you want to hide translate widget
then 
search below code 

<b:widget id='Translate1' locked='false' title='Translate' type='Translate'>
<b:includable id='main'>

add below code just after  <b:includable id='main'>  line,

<b:if cond='data:blog.url = = "your page url"'>
<style>
#Text2{
display: none;
}
</style>
</b:if>

Note : Don't forget to replace your page url with your page url address

Step 5 : Click on Save template.

Like this you can hide any widget on specific page of your Blogger blog.

1 comment: