How To Edit The Windows Live Writer Default Template

An article was written here on this a long time ago. This is the updated version.

Windows Live Writer is arguably the best blogging app on the planet, so much so that even Mac users consider it the best over any similar app available for the OS X platform. Yes, it’s that good.

One of the annoyances with WLW however is that the default template, in a word, sucks. Hyperlinks are an annoying green and the default font used (Trebuchet MS or Calibri) is annoying to many.

The way to change this is to manually edit the CSS file for the default template.

Location of the default template CSS file

Whether on Windows XP, Vista or 7, the location currently is always the same – even if the new 2011 version:

[Host Drive]:\Program Files\Windows Live\Writer\Template

The file defaultstyle.css is the one you want to edit.

Editing the default template

I find the easiest way to go about this is to simply rename the file to defaultstyle.css-old, create a new defaultstyle.css and have it contain the following:

body,blockquote,table,td,tr,ul,li,ol,p {
font-family: sans-serif;
font-size: 10pt;
}

h3 {
font-size: 12pt;
}

.title {
font-family: sans-serif;
font-size: 14pt;
}

This will give you a basic editing template using Arial, the default sans-serif font in Windows. You can obviously specify any font you wish, so if you wanted to change to Georgia or Verdana, go ahead.

To switch to the default template at any time, use the keystroke CTRL+F11. You may have to do it twice for it to take effect.

If you want an exact copy of your blog’s template within WLW, copy over your CSS rules from your blog to defaultstyle.css – however be aware you must use full URLs for any image links or linked CSS files.

It’s also important to note that you should backup the defaultstyle.css you make, because upon any upgrade to Windows Live Writer the installer will overwrite with the default ugly default template again.

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

Discuss This Article (Without Facebook)

One comment

  1. Good information!
    Additionally, Windows Live Writer doesn’t always detect the themes correctly, and its terribly irritating to come across this issue.

    But you SHOULD still be able to use Windows Live Writer with those themes; you just need to make some manual adjustments. I’ve an article that are some options for Windows Live Writer users to try to help them with their theme issues.

    http://www.lehsys.com/2010/02/windows-live-writer-creating-a-custom-template/

    Someone should actually create a Windows Live Writer template creator, for when people don’t want to use a theme [but who would that be?].

    Until next time,
    LEHenryJr

Leave a Reply

PCMech Insider Cover Images - Subscribe To Get Your Copies!
Learn More
Every week, hundreds of tech enthusiasts, computer owners
and geeks read The Insider, the digital magazine of PCMech.

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: