Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2013-11-04 21:13:59

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: word wrap on category page ?

Not on Crestar, but

travellergame

Offline

#14 2013-11-04 22:10:00

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: word wrap on category page ?

Glad to see the style sheet we’re talking about :) On travellergame there’s only one empty, broken, remainder of two rules.

There’s Textile’s bc. at the beginning of the rule you’ve copied over from here, hence probably the initial problems in making it work. CSS is almost as little forgiving as coding when it comes to dots, commas, brackets etc.

Remove the last few lines, downward from and including bc. . What you need is the following:

.category-list .image,
.category-list .file  {
   display: none;
   }

.category-list td {
   -moz-white-space: nowrap;
   white-space: nowrap;
   display: block;
   }

(I’ve added the moz-prefixed line to make old FFs work.)

Last edited by uli (2013-11-04 22:13:43)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#15 2013-11-04 22:25:23

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: word wrap on category page ?

Ah, that puts the 4 columns, into one column.

Offline

Board footer

Powered by FluxBB