Skip to:

Width Column replies in Childtheme

  • heimozh


    Hi I’m using bbpress within a Childtheme.

    What I did was:

    1. add_theme_support( ‘bbpress’ ); in my functions.php

    2. put all template files from the plugin into my child theme folder

    3. added all bbpress.css in my child theme css

    now everything works well from scratch. just one problem.

    the table for the replies doesnt look nice.

    the column with td or th with .bbp-reply-author should be 120px as i figured it out from the stylesheet. the second column should be the rest to add it up until 100%.

    this works for the topic post but not for the replies. the replies column is only about 100px wide and doesnt fill up the row to the needed 100%.

    my theme css for tables include only the following:

    table { width:auto; border-collapse:collapse; margin-bottom:1.5em; border-top:1px #888 solid; border-bottom:1px #888 solid }

    table caption { text-transform: uppercase }

    table.full, .widget_calendar table { width:100% }

    table.fixed { table-layout:fixed }

    th,td { padding:0.5em }

    thead th { color:#000; border-bottom:1px #800 solid }

    tbody th { background:#e0e0e0; color:#333 }

    tbody th[scope=”row”], tbody th.sub { background:#f0f0f0 }

    tbody th { border-bottom:1px solid #fff; text-align:left }

    tbody td { border-bottom:1px solid #eee }

    tbody tr:hover th[scope=”row”],

    tbody tr:hover tbody th.sub { background:#f0e8e8 }

    tbody tr:hover td { background:#fff8f8 }

    So no more widths included. Do you know how i can figure out where the problem is?

    I tried to specify the column widths with <colgroup><col width=”25%” /><col width=”75%” /></colgroup> in the loop-replies.php file.

    Second i tried to style the widths of td and th cells with .bbp-reply-author and .bbp-reply-content classes.

    both didnt actually work. would be very glad to get any input you might have.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar