Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-03-21 06:20:27

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

[SOLVED] Some trouble with <txp:if_excerpt />

I’ve added <txp:if_excerpt /> to a blog home (to prevent visualization of the titles of some articles lacking of excerpt), but when the articles from the default category are displayed, this happen some centimeters below the top of the page; not the same occurs when are displayed articles from a category in the side-menu.

Added label to title.
– Uli –

Last edited by uli (2017-03-21 13:30:27)

Offline

#2 2017-03-21 06:27:10

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: [SOLVED] Some trouble with <txp:if_excerpt />

Solved,

only removing: break=“br” from the container element-tag:

<txp:article_custom category=’<txp:category />’ sort=“Posted desc” class=“news” limit=“10” wraptag=“div” break=“br”>

</ txp:article_custom>

Offline

Board footer

Powered by FluxBB