CSS design changes for each category specified

Blogging can be customized at all, CSS is a way to customize the design with each category. (A condition that can print alphanumeric characters specific to each category.)

Want an article for each category! I was always with people. Thus, by placing the global menu, if you run a normal WEB configuration is especially more.

Well, when in fact renewed after each category so you can customize the design arm in the HTML I had, it had become just a hassle to create images and designs.

Only way Mobableype

MovableType only say, for example the following ways.

<MTIfIsDescendant Parent="Kategori名1">
What we want to display one Category Name
</ MTIfIsDescendant>
<MTIfIsDescendant Parent="Kategori名2">
Name what you want to display in two categories
</ MTIfIsDescendant>
Change the design for each category: Movable Type Primer

For each category, a way to change the contents of the physical output. However, this method is only available to MovableType. These outputs can be divided into whether other blogs is not known.

Generic way

So here, CSS Design by "overwrite" to introduce how to.

The category you wish to change the BODY tag, as follows: Insert the specified id.

<body class = "optional" id = "categ <$ MTCategoryID $>">

This, MobableType if "categ25", such as category ID numbers will be inserted according to the. (CSS in the specified class can not use starting ID numbers, id need to note that before the letter.)

After the way it is specified that if the usual

div # header (background ....)

If you like the following, which can be specified to override a specific category.

# categ25 # header (background ....)

This time, Suzaku expression, the following two headers I created a separate category.
Whaling issue,
Pachinko, crusade

blogrank.gif click the support!
Rank yesterday 87. At last two digits short, Thanks! Position today?

Evaluation of this article:

うーん…いまいち…ふつうですかなり良い素晴らしい (Not yet rated)
Loading ... Loading ...

Categories: CSS, Programming | Tags: | Bookmark this entry, includingNumber of bookmarks

Leave a comment