Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
older newer - styling the default
how do i style the older and newer links? i’ve tried putting a space then a “ | “ symbol between the two to separate them a little, but then if older is on it’s own you still see the divider. “older |” does anyone have any good examples?
Last edited by mrtunes (2008-07-16 20:38:27)
Offline
Offline
#3 2008-07-16 22:37:22
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: older newer - styling the default
You could also use showalways="1"
. Or style them something like this:
<txp:older><span style="float:left;">older</span></txp:older>
<txp:newer><span style="float:right;">newer</span></txp:newer>
Offline
#4 2008-07-17 00:11:32
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: older newer - styling the default
Isn’t this the perfect candidate for if_first_article / if_last_article? Until now I only used it in list mode, but Textbook states: It will display in both single article and article list modes.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#5 2008-07-17 05:16:37
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Offline
Re: older newer - styling the default
Els wrote:
You could also use
showalways="1"
. Or style them something like this:
<txp:older><span style="float:left;">older</span></txp:older>
<txp:newer><span style="float:right;">newer</span></txp:newer>
thanks for the replies everyone. this idea looks pretty good. when i try it out, it will likely replace the one i was doing where i had a million  ’s to space out the “newer” to the right side. and i can use images/arrow characters as well
Offline