Adding Custom Styles for a Single Entry in Movable Type

| No Comments

The first three lines of this entry’s content is:

<style type="text/css">
#entry-55 ul li { color: blue; }
</style>

Are the items in this unordered list blue?

  • blue
  • blue
  • blue

If so, I’ve added custom styles to this single entry.

  1. Create your entry
  2. Save it as draft
  3. Look in the url of your browser to find the id which is a unique identifier for the entry (careful not to use blog_id as that is a unique id for the blog)

    http://www.chezbeau.com/cgi-bin/mt/mt.cgi?__mode=view&_type=entry&id=55&blog_id=2&saved_changes=1
    
  4. Enter the id into your css

  5. Change Status to Published
  6. Save your entry

All this assumes you are using the default templates from MT, if not you’ll have to add <$mt:EntryID$> to a container wrapping each entry in your templates.

Leave a comment

About this Entry

This page contains a single entry by Beau Smith published on April 14, 2008 1:50 PM.

Default Upload Destination in Movable Type was the previous entry in this blog.

Movable Type Bleeding Edge Updates Via Subversion is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en