Breaking News

Add A Full Lenght Gadget Or Adsense Leaderboard Below Your Blog Header

At the time of writing i have a 728x90 AdSense leaderboard between the header and post area on the home page of the blog.Basically i have added a gadget that spans the entire with of the layout.The default settings for this template and for lots of custom templates do not allow you to place gadgets in this area.


If your in the same position you will be glad to know changing this setting is easy.I have opened up this area for an AdSense unit but once you have changed the code you can of course add any gadgets across the top of your blog.


Cross Column Gadgets

Gadgets Not Allowed - This area is called the Cross Column and the screenshot below shows there is no option to place gadgets in the cross column :


Gadgets Allowed - Once we change the code you will have a brand new 'add a gadget' area :


Placing gadgets in the cross column

Step 1. In your dashboard Click 'Layout' > 'Edit Html' > Tick the 'Expand Widget Templates' box

 
Step 2. In your template find the following code :
(Click CTRL and F for a search bar to find the code )
<b:section class='crosscol' id='crosscol' showaddelement='no'/>


Step 3. Change Showaddelement='no' to Showaddelement='yes' as shown below :
<b:section class='crosscol' id='crosscol' showaddelement='yes'/>

You can now save your template and return to the layout page where you will be greeted with the new 'add a gadget' option.

Allow Gadgets In All Available Areas

Break down the change you made - There may be other areas you can add gadgets to your layout that are blocked.The code i changed is 'showaddelement' which breaks into 'Show Add Element'.Search your template for every occurrence of 'showaddelement' and switch 'no' to 'yes'.



If you face any problem in this post please let me know your problem. To inform your problem you can leave a comment below. And if you like my post please click the Facebook like button or spread this post by clicking the Twitter, Facebook etc. icons below. Because, it will be a great support for me.

No comments