A Useful Template Coding Trick For Blogger

by tpw
4 replies
  • WEB DESIGN
  • |
I was wanting to add a new gadget to one of my blogger blogs, so I opened up the Templates - Edit HTML window and started browsing the template file.

While in there, I noted a string of text that reads:

<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='no'>

I changed the showaddelement to yes, thus so:

<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='yes'>

In doing so, I was able to add new gadgets to the main body of the page, where it appears on every page of the blog.

You can view the final output here:

Byte-Sized Marketing Tips
#blogger #blogs #coding #template #templates #trick #tricks
  • Profile picture of the author Phil Brown
    TPW Thank you that is very useful I have been wanting to do this and could not figure it out.
    Phil Brown
    {{ DiscussionBoard.errors[391039].message }}
  • Profile picture of the author gracefulonline
    Yep. There's also another one that allows you to Add A Gadget underneath your header, great for leaderboard Adsense:

    <div id='crosscol-wrapper' style='text-align:center'>
    <b:section class='crosscol' id='crosscol' showaddelement='yes'/>
    </div>

    - Davis.
    {{ DiscussionBoard.errors[404798].message }}
  • Profile picture of the author viceneky
    thanks for sharing.... very usefulll
    {{ DiscussionBoard.errors[3930679].message }}

Trending Topics