Tuesday, 2 June 2020

How to add gadget or adsense above your blogger header

     This simple tutorial is for bloggers who are using a template or theme that does not have the "Add Gadget" option in the header section when viewed from you Dashboard > Layout. The absence of this option can affected your plan of extending your blog design to the header section. It can also prevent you from adding or displaying Adsense in your header, above your header banner too. For the Wordpress users, I am sorry this tutorial is not for you but for bloggers using the Google Blogger platform. Please guys, before we move to how to edit your template to enable this feature, please and please, do not not forget to BACKUP your template before we proceed. This is to avoid any possible mistake from affecting your blog. Although this template edit is safe and easy, but one still needs to play safe. You know what I mean.

     HOW TO ENABLE "ADD GADGET" IN YOUR HEADER 
To enable this feature, please follow below steps carefully. Before editing yoyour theme, below is how your template might possibly look:

After login to Blogger:

1.) Go to Template > Edit

2.) Within your template code, click any part of the code and from your keyboard, hold Ctrl and F together to pop-up search box. In this search box, search for  showaddelement='no'>  in your theme.

You will find line of code that will look like this: <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='YOUR BLOG TITLE(Header)' type='Header'/>
 

Hint: you can also use your template-editor search tool to look for a key phrase like "id='Header1'

3.) From the searched line of code, change maxwidgets='1' to maxwidgets='2' and showaddelement='no' change this to showaddelement='yes'

4.) Save your edited theme and click your LAYOUT to view your header.


=> I will appreciate a comment to know if it worked for you. ENJOY the new look!

=> Join our community of 50,000+ ecstatic readers.
Get latest weekly updates on health tips, seo, personal finance, blogging tips, how to make money online, etc.

Previous Post
Next Post

post written by:

2 comments:

  1. Hey Owenayuk ,



    Great post with effective steps to enable Add Gadget on the blogger header. It is my first time commenting on your blog post and i must say that you have done a fantastic work and suggested helpful tips to enable add gadget on the blogger header.




    Your each of the suggested steps to enable add gadget feature are clear, easy to understand and follow, whereas following these steps will be helpful for several users.



    Truly helpful post and thanks for sharing.

    ReplyDelete
    Replies
    1. I am glad this seems easy and clear to you. You are welcome. And thanks for the comment.

      Delete