How To Manually Edit Blog Styles for Windows Live Writer

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.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

  • Pingback: Beyond » Windows Live Writer

  • http://crsouza.blogspot.com Cesar

    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.

  • Pingback: Where Does Live Writer Store Themes

  • Justin

    Thx for the post

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

  • http://www.jumpmanual.com/cb?cb=jacobwh jacob

    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?

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: