Skip to main content

How to edit Blog Template in Blogger domain of Blogspot

Image result for how to edit blog in blogger



How to open Blogger's template editor, for dynamic template blogs

If your blog has a dynamic template, then use the see-all-posts icon for the blog to get into it the blog-options screen for the blog that you want to edit.


When you are in the see-all-posts mode, the the address bar in your browser is like this:

http://www.blogger.com/blogger.g?blogID=5381944372768369653#allposts/postNum=0

Copy your blogID number - that is, the digits between blogID= and #allposts (it's bold in the example above)

Go go

http://www.blogger.com/html?blogID=NNNNNNNNNNNNNNNNNNN
where you have replacd NNN... with your blogID


Note:  the last time I tried this, it automatically opened in the old interface's template editor.   As always, make sure you take a backup copy of the template - see instructions below before changing this.


How to open Blogger's template editor, for non-dynamic templates

  • Go to the Design tab
  • Click Edit HTML
  • Note:  this step has now been removed - however I've left it here for now, because I suspect that it may come back in future:
    Click Proceed


Once you have your template open in the template editor, the next challenge is making changes successfully - and being in a position to recover if your changes were not successful.


How to edit your template

Make a backup copy of your current template

It's tempting to skip this if you're only making a small change. I even skip it myself sometimes. And it's not needed if this is the first time you've ever customised your template - because you can recover from problems by just reinstalling the standard template.

But if you would be upset to lose any template changes you made earlier, or if the change you are making now is not minor, then I strongly recommend making a copy before you start, just in case.  To do this

  • Click the Backup / Restore button near the top right of the dashboard (as shown below)
  • Click the Download Full Template button, and then wait while the file downloads.
  • After the download has finished, find the place where your computer puts downloaded files.
  • Find the file that was just created,
  • Rename it to something sensible
     (eg MyBlog template backup before change 31 Jan 2012.xml)
  • Move the file to somewhere safe: usually somewhere on your computer is fine - or you make like to upload it to somewhere like Google Docs, to be absolutely certain that it won't get lost.





Make the change to your template

  • Check whether the change you are making needs the Expand Widgets checkbox off or on, and put it to the right state.
    (If the article telling you want to change doesn't mention it, then assume it should be off.)
  • Find the code you need to change:

    See this article from Southern Speakers if you're not sure how to use the find-feature that Blogger have now built into the template editor.

    Note:   many of the "how to" articles say to make sure that the Expand Widgets checkbox off or on.   This checkbox has now been removed from Blogger's template editor.    If the instructions you are following says to leave it "off", then you should just be able to follow it as is.    However if you are told to turn it on, then you need to find the correct part of the code by searching for the widget-id or section name, and then "unfold" that to see the complete code.   
  • Make the change (this article doesn't go into the principles of template design, there are plenty of other articles and websites about that: I'm assuming that you know what you need to do).
  • Click the Preview button:

If Blogger can make sense of the change you made, then a new window or tab opens, showing a view that looks like your blog's homepage. It's not a real copy of your blog (the links won't work, the spacing might not be quite the same, and it will have the word "Preview" diagonally in the top left corner).


Do a quick check that the screen looks right - for some changes you even be able to tell if the change has been successful just from this preview screen.

However:  If the new window/tab shows an error message like

Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly. <br/> XML error message: The element type "div" must be terminated by the matching end-tag "</div>".Error 500
or
Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly. <br/> XML error message: Element type "b:widget" must be followed by either attribute specifications, ">" or "/>".
then Blogger has not been able to understand the change you made. Sometimes the error message gives a clue about what's wrong, although it can be misleading.   Check that you made the change correctly - fix any errors and click Preview again.  If it still doesn't work, ask for help from the place that suggested the change you are making.

Once you are happy that the preview screen looks OK, click the Save or Save template button.


How to test your template change

Some template changes can be checked very easily, sometimes from the preview screen.

But if your change isn't visible on the front screen, you must check it after you have applied it. What to verify depends on your template type, what the change was, and what other features (eg the page-gadget as a menu, the archive widget, ) your blog uses. You need to decide what to test, based on all of these.

At least, I alwways click on and check on these things when I've made a major template change:

  1. the home page
  2. the items in the menu bar
  3. a label value
  4. an archive widget entry
  5. custom-search-engine results
  6. comments

And if I'm being particularly reader-focussed, I'll also check these things in more than one browser:   usually in the current version of Internet Explorer, Firefox and Chrome.


Fixing Problems

If you find that the template change has caused problems, then ou have have a choice to make:
Can you and your readers live with the problems on your blog for "a while", while you look for other solutions? 
Or 
Do you need to remove the change right now, so visitors can use your blog as it was while you solve the issues.

There is no right answer to this question:   It's a personal decision, based on the blog, and your readers. 

But if you do need to remove the template change, here's how to do it:

  • Click the Backup / Restore button near the top right of the dashboard
  • Click Choose File and find the file that you downloaded earlier
  • Click Upload.


It is best to restore your template before you have changed any gadgets.  If you get a message about widgets being missing, then it means that the gadgets associated with your blog are not the ones referred to in the template.   If this happens, you need to decide whether to deep or delete any "orphaned" ones, and may need to check their settings again.


Making complicated changes

If you your template may need a lot of "surgery" while you figure out how to make a change, then it may be a good idea to build a private test-blog to do the work in, and only copy the contents into your "real" blog template when you are certain that you've got it correct (or correct-enough).


CREDIT TO Blogger hint and tips blog

Comments

Post a Comment

Popular posts from this blog

latest 2026 Information Technology specialist Jobs

 Job Title. IT Specialist Company. AXIA Location. Dar es salaam Tanzania Job Type.  Full time About the job AXIA is a human capital consultancy firm based in Tanzania, specializing in talent acquisition, training, and enhancing employee engagement. Focused on delivering tailored human resource solutions, AXIA partners with organizations to strengthen their workforce and promote growth. With a strong presence in the Tanzanian market, AXIA is committed to delivering exceptional service and fostering long-term organizational success.  Our client, a leading technology solutions provider, is seeking a skilled and motivated IT Specialist to join their dynamic team. With a focus on delivering innovative and cutting-edge solutions, our client serves a diverse range of industries, including healthcare, finance, hospitality, education, real estate, and manufacturing. As a IT Specialist, you will play a key role in providing on-site technical support, ensuring the effici...

custom compliance team job Lead Tanzania

 Job Title. Custom compliance team Company Dar es salaam Location Dar es salaam Tanzania Job Type full time About the job Reporting to the Supply Manager, the overall purpose of the Customs compliance Team lead role is to manage relationships with TRA, enusure efficient BOND utilization and validation through timely transaction with the Tanzania Customs Integrated System (TANCIS) from master generation in Dar to T1 validation at the borders, and ensure timely master generation, effective drawdown and zero balancing. Key Responsibilities -Verifying sub T1 against product movement as per Tancis and SAP report by 9:00 am. -Circulating the bond report to communicate bond balance available for utilization and product balances under uplift before it expires to the relevant parties (daily bond report to be sent by 10am) -Advising Clearing Officer Customs on master balances and master generation and reconciliation -Ensuring masters are accurately allocated to trucks as they loa...

𝗨𝗿𝗴𝗲𝗻𝘁 𝗢𝗽𝗽𝗼𝗿𝘁𝘂𝗻𝗶𝘁𝘆: 𝗡𝗮𝘁𝗶𝗼𝗻𝗮𝗹 𝗥𝗲𝘀𝗲𝗮𝗿𝗰𝗵𝗲𝗿 – 𝗧𝗮𝗻𝘇𝗮𝗻𝗶𝗮 (𝗛𝘆𝗯𝗿𝗶𝗱/𝗙𝗶𝗲𝗹𝗱-𝗕𝗮𝘀𝗲𝗱)

Job Title. National Researche Location Mbulu,Manyara Arusha Tanzania Company Vashi Impact group Job Type full time 📢📢 𝗨𝗿𝗴𝗲𝗻𝘁 𝗢𝗽𝗽𝗼𝗿𝘁𝘂𝗻𝗶𝘁𝘆: 𝗡𝗮𝘁𝗶𝗼𝗻𝗮𝗹 𝗥𝗲𝘀𝗲𝗮𝗿𝗰𝗵𝗲𝗿 – 𝗧𝗮𝗻𝘇𝗮𝗻𝗶𝗮 (𝗛𝘆𝗯𝗿𝗶𝗱/𝗙𝗶𝗲𝗹𝗱-𝗕𝗮𝘀𝗲𝗱) 🌍 Vashi Impact Group (VIG) is seeking an experienced National Researcher from Tanzania to support feasibility studies, baselines, evaluations, and evidence-generation work. We are looking for a Tanzania-based national professional with strong contextual understanding, research expertise, and a commitment to gender equality, social justice, and ethical, community-led research. 💼 𝗞𝗲𝘆 𝗥𝗲𝘀𝗽𝗼𝗻𝘀𝗶𝗯𝗶𝗹𝗶𝘁𝗶𝗲𝘀: ▪️ Lead and support feasibility studies, baseline/midline/endline assessments, and evaluations ▪️ Coordinate and conduct field-based and remote data collection (surveys, FGDs, KIIs) ▪️ Support the development, digitisation, and pre-testing of research tools (quantitative & qualitative) ▪️ Conduct literature ...