Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Very simple questions
Hi everyone. I am a total novice, but am trying to learn. I only knew html and some css before I started using textpattern. Maybe if I understood the answer to this simple question, it would help me figure out more of the many (very simple, I’m sure) problems I’m trying to solve.
How do I change the size of the article titles?
I can’t seem to figure out what tag( or class or page or form) this might be under.
THANKS IN ADVANCE :)
Last edited by ryancecilsmith (2010-02-21 03:20:29)
Offline
#2 2008-07-17 18:54:47
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Very simple questions
It depends on what you use in your default article form. I think the default install formats articles as <h3>
– style that as a start.
Edit: OK, I just checked and the first bit of the default form looks like this:
<txp:if_individual_article>
<h1 class="entry-title"><txp:permlink><txp:title /></txp:permlink></h1>
<txp:else />
<h3 class="entry-title"><txp:permlink><txp:title /></txp:permlink></h3>
</txp:if_individual_article>
So on an article listing it’s <h3>
but for individual ones <h1>
. Include the class in your CSS to specifically target article titles like so:
h1.entry-title { … }
h3.entry-title { … }
Last edited by masa (2008-07-17 19:03:50)
Offline
Re: Very simple questions
Ohhhhhh…. I see this in the “Forms” section under “default…” Okay, this makes sense. Thank you very much!
Part of my difficulty is visually parsing through the unfamiliar code for what I’m looking for. The larger difficulty is that I’m unsure of what to look for in the first place! I appreciate the nudge in the right direction.
Last edited by ryancecilsmith (2008-07-18 00:49:43)
Offline
Pages: 1