Skip to:
Content
Pages
Categories
Search
Top
Bottom

Resizing Forum Table Cell Widths to Fit Content


  • najum
    Participant

    @najum

    I am having trouble trying to resize my forums table cells widths.

    The “topics” and “posts” cells that only contain a number don’t need to be the same width as the “forum” and “freshness” cells that contain words and wrap to the next line.

    When I look at the table through firebug I just see “.article th, .article td” which is part of my sytle.css and not bbpress.

    Any ideas how I can make the cells widths change?

    Here is an example of 1 forum I am talking about http://lifeafterlondon.com/forums-2/

    Many thanks

Viewing 1 replies (of 1 total)

  • strangelife
    Participant

    @strangelife

    You can use the following css,

    th.bbp-forum-info {
    	text-align: left;
    	width: 85%;
    }
    th.bbp-forum-topic-count, td.bbp-forum-topic-count {
    	text-align: center;
    	width: 5%;
    }
    th.bbp-forum-reply-count, td.bbp-forum-reply-count {
    	text-align: center;
    	width: 5%;
    }
    th.bbp-forum-freshness, td.bbp-forum-freshness {
    	text-align: center;
    	width: 5%;
    }

    ~ Matt

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.