Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
an article list in 3 colums: how do I do that??
For my site I want an article list, displaying a thumbnail and title for each article in the list. The thumbnail is linked to the article itself.
I succeeded in doing this for a list with each article beneath each other. (using the wet_article_thumb plugin). Like this:
thumb
title
article1
thumb
title
article2
thumb
title
article3
etc,
etc.
But what I want is a 3-column list like this:
thumb . . . . thumb . . . . . thumb
title . . . . . . title . . . . . . . title
article1 . . . article2 . . . . .article3
thumb . . . . thumb . . . . . thumb
title . . . . . . title . . . . . . . title
article1 . . . article2 . . . . .article3
etc, etc.
(Sorry for the dots, that should be white, but this editor is deleting multiple spaces one way or another)
How can I do this?
Help is appreciated very much; thnx in advance
Last edited by blueprint (2006-03-15 20:15:56)
Offline
#2 2006-03-15 21:31:15
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: an article list in 3 colums: how do I do that??
Either you use txp: article_custom with attributes limit and offset or you float your article div´s.
Last edited by alexandra (2006-03-15 21:31:34)
Offline
Re: an article list in 3 colums: how do I do that??
Yes, as Alex suggests, “floats” would do this for you.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: an article list in 3 colums: how do I do that??
thanks for the suggestions; the float property did the trick.
If found it too hard to do it with txp_article_costum and the limit / offset attributes; the problem is that one doesn’t know the number of articles in a section/category: articles will be added, deleted etc.
So the float property of the div tag is a simple and straightforward solution.
Offline