Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-24 16:49:27

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

4 column article layout with offset

I’m trying to show articles in 4 columns (4×4 – I already have columns coded) with offset but obviously I don’t know how to do it.

Example :

Link

Please help. Thank you very much!

Last edited by fuls (2007-05-24 16:53:51)

Offline

#2 2007-05-24 17:05:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: 4 column article layout with offset


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-05-24 17:08:36

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: 4 column article layout with offset

colak wrote:

did you check http://www.glish.com/css/8.asp

I already have 4 column layout, I just can’t manage to show 4 articles in 4 columns (16 articles per page) with 4 articles limit/column. I tried with setting offset per column but somehow it messes all up.

I hope you understand me now:)

Thanks.

Last edited by fuls (2007-05-24 17:26:00)

Offline

#4 2007-05-24 18:13:00

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 4 column article layout with offset

Column 1: <txp:article limit="4" pageby="16" />
Column 2: <txp:article limit="4" pageby="16" offset="4" />
Column 3: <txp:article limit="4" pageby="16" offset="8" />
Column 4: <txp:article limit="4" pageby="16" offset="12" />

This should work.

Offline

#5 2007-05-24 19:02:10

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: 4 column article layout with offset

Els wrote:

Column 1: <txp:article limit="4" pageby="16" />
Column 2: <txp:article limit="4" pageby="16" offset="4" />
Column 3: <txp:article limit="4" pageby="16" offset="8" />
Column 4: <txp:article limit="4" pageby="16" offset="12" />

This should work.

Thank you very much!:)

Offline

Board footer

Powered by FluxBB