Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-17 21:44:46

EddieG5
Member
From: Georgia
Registered: 2004-03-03
Posts: 96

<br> tag in my article heading

I want to break the title of my article … I’ve tried putting in a break tag (ex. This is <br> my heading), but it shows the break tag.

Any ideas on how I can accomplish this?

(edited to show html tag. -Els)

Last edited by els (2006-05-17 22:48:06)

Offline

#2 2006-05-17 22:00:07

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: <br> tag in my article heading

You can use CSS. Assuming your article title is in an h2 (<h2><txp:title /></h2>).

<code>
h2 {
margin-bottom: 20px; /*or shorthand: margin: 0 0 20px; */
}
</code>

Offline

#3 2006-05-17 22:04:58

EddieG5
Member
From: Georgia
Registered: 2004-03-03
Posts: 96

Re: <br> tag in my article heading

Thanks JM, but what I’m meant to say was that for a particular post, I’d like to put a break tag into the title of that specific post. In other words, under the ‘Write’ tab, when I put in the title of the post, I’d need to break that title up.

Does that make sense?

Offline

#4 2006-06-08 17:57:14

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: <br> tag in my article heading

EddieG5,
Any luck with this? I’m trying to do the same thing. I don’t want to use CSS the change the size for all titles, I’d just like to be able to control were some titles break. Ideally if the title input was a text area with 2-3 rows I’d be all set. I tried rss_admin_resize but it didn’t fix it…and it interfered with the hak_tinyMCE WYSIWYG editor plug-in.

Any suggestions would be appreciated

Offline

Board footer

Powered by FluxBB