How To Manually Edit Blog Styles for Windows Live Writer

Posted Jul 20, 2008 | by David Risley | 5 Comments  

Picture 5 OK, this is a bit of a technical post, but one which will come in handy for somebody down the road. Windows Live Writer is, so far, the best blog client I have found for either Mac or Windows. If you are running Windows and are a blogger, I highly recommend you download Live Writer. It is a freebie.

One of the things Live Writer will do is detect your blog’s style and then allow you to write your blog post in true WYSIWYG – as it would look on your site. The program will submit a test post to your blog, detect and download the theme, then automatically remove the test post.

Nice, except that Live Writer doesn’t always get it right. Several times, I have had it detect the theme and the end result is a crappy representation of my blog. For example, when used to detect the theme of PCMECH itself, it has me typing a blog post into one of the small sidebar tables on the right of this site.

So, sometimes you just have to manually edit the theme for Live Writer so that it is right. And actually it isn’t that hard to do.

Edit the Custom Blog Theme

In C:/Documents and Settings/[USERNAME]/Windows Live Writer/blogtemplates/, you will find folders for any blogs you have set up with WLW. Now, the folder names are incredibly cryptic. So, you may need to go into each, manually open up the index.html file in Notepad and view the source to see which blog goes to what. Or, you can have WLW manually update the style again, then look for the most recent “last updated” timestamp on the folder name.

Picture 4

In the appropriate folder, you’ll see an index.html file. The index file may have a number appended to it. Again, you’ll need to look at the source to see which is which. Any supporting files for your theme (such as stylesheets) will be stored in a sub-folder, again with a cryptic folder name. Look at the source of the index.html file to see which sub-folder it is using for stylesheets.

To make changes, you first need to close Live Writer if it is running. From here, you can manually edit the index file using any HTML editor you choose. In my case, I had to manually correct the file so that it was using the proper DIV layers so as to make my editing interface look correct when typing a blog post.

To see if the changes you make are correct, reopen Live Writer and create a new post. You will be able to tell immediately if it looks right.

Edit The Default Theme

Live Writer does have it’s own default theme for editing. The files for the default them are in:

C:\program files\windows live\writer\template

You will see a default HTML file and a corresponding stylesheet that you can edit to your heart’s content.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Posted In: Featured, Software

If you like this, you might also like...

  • 5 FREE Solutions Guides
  • Weekly Newsletter (6 Years Running)
  • Special Deals & Announcements
  • Subscribe FREE

5 Responses to “How To Manually Edit Blog Styles for Windows Live Writer”

  1. Reply to this comment
  2. Cesar

    09. Feb, 2009

    First, I’d like to say thanks for the info. I was experiencing the same problems with the last version of WLW and it really helped me. However, I think the right path to the blog templates is “C:/Documents and Settings/[USERNAME]/Application Data/Windows Live Writer/blogtemplates/”. I think you forgot the “Application Data” in the middle, or it has changed in the recent versions.

    Reply to this comment
  3. [...] first took a quick search on google, where I found How to Manually Edit Blog Styles for Windows Live Writer.  The problem is the article was written for Windows XP and I’m using Windows 7.  It [...]

    Reply to this comment
  4. Justin

    18. Nov, 2009

    Thx for the post

    Windows 7 location: C:\Users\\AppData\Roaming\Windows Live Writer\blogtemplates\

    Reply to this comment
  5. jacob

    19. Jan, 2010

    This is what I have been looking for! I can’t seem to get this to work with wordpress….

    I have one problem. Live Writer never creates the folder for certain sites, so I can’t edit or create and link them to the proper accounts.

    Can you help me or do I just need to change the “default theme” each time?

    Reply to this comment

Leave a Reply

Let PCMech Be Your Hookup To What's HOT In Computers And Technology

  • Plain-English Guides and Resources
  • Our Top Picks for Free Software
  • A Special Gift From PCMech
  • Weekly Newsletter (6 Years Running!)

PCMech Poll

Would you get a Mac if expense was not an issue?

View Results

Loading ... Loading ...