Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-08 18:37:27

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: textpattern.com template?

Things must have changed since I installed Textpattern a few months ago—the textpattern.com style was included by default.

Here’s a copy of the unmodified template that came with my install:

<blockquote><code>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>
<head> <meta http-equiv=“content-type” content=“text/html; charset=utf-8” /> <link rel=“stylesheet” href=”<txp:css />” type=“text/css” /> <title><txp:page_title /></title>
</head>
<body>
<div id=“container”>

<!— head —>
<div id=“head”>
<h1><txp:link_to_home><txp:sitename /></txp:link_to_home></h1>

</div>

<!— left —>
<div id=“left”>

<txp:linkslist wraptag=“p” />

</div>

<!— right —>
<div id=“right”>

<txp:search_input label=“Search” wraptag=“p” /> <txp:popup type=“c” label=“Browse” wraptag=“p” /> <p><txp:feed_link label=“RSS” /> / <txp:feed_link label=“Atom” flavor=“atom” /></p>

</div>

<!— center —>
<div id=“center”>

<txp:article />
<txp:if_individual_article>
<p>
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next>
</p>
</txp:if_individual_article>
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>
</div>

<!— footer —>
<div id=“foot”>&nbsp;</div>

</div>

</body>
</html>
</code></blockquote>

And the stylesheet:

<blockquote><code>
body
{ background-color: #fff;
}

p, blockquote, li, h3
{ font-family: Verdana, “Lucida Grande”, Tahoma, Helvetica; font-size: 11px; line-height: 18px; text-align: left; padding-left: 10px; padding-right: 10px;
}

blockquote
{ margin-left: 20px; margin-right: 0px;
}

#right p, #left p
{ line-height: 15px; font-size: 10px;
}

#left p
{ text-align: right;
}

#head
{ text-align: center; height: 100px;
}

#container
{ width: 760px; \width: 770px; w\idth: 760px; margin: 10px; margin-left: auto; margin-right: auto; padding: 10px;
}

#left
{ float: left; width: 150px; \width: 150px; w\idth: 150px; margin-right: 5px; padding-top: 100px;
}

#center
{ margin-left: 155px; margin-right: 155px; padding-top: 30px; border-left: 1px solid grey; border-right: 1px solid grey;
}

#right
{ float: right; width: 150px; \width: 150px; w\idth: 150px; margin-left: 5px; padding-top: 100px;
}

#foot
{ clear: both; margin-top: 5px; text-align: center;
}

a
{ color: black; text-decoration: none; border-bottom: 1px black solid;
}

#right a, #left a
{ border: 0px; color: #C00;
}

h3
{ font-weight: normal;
}

h3 a
{ border: 0px; font-weight: normal; font-family: Georgia, Times, Serif; font-size: 14px;
}

.caps
{ letter-spacing: 0.1em; font-size: 10px;
}
</code></blockquote>

If it helps, the left column will be empty be default unless there are links in your links list.

Offline

#2 2005-10-08 20:00:38

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: textpattern.com template?

> “…the default was different.”
> “Things must have changed…”

They haven’t. They are identical.

Offline

Board footer

Powered by FluxBB