Support » Plugin: Football Pool » Statistic of all users bonus question answers

  • Resolved charlie999

    (@charlie999)


    Hi
    I want to disable the “View all members bonus question statistics” from a user statistic page, because it breaks my themes layout.

    I have searched this with Firebug to increase the width, but with no luck.
    Can someone help on how to disable this, or solve the width, because it looks like this See Here

    Thanks

    https://wordpress.org/plugins/football-pool/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AntoineH

    (@antoineh)

    Try adding these CSS lines to fix the table width:

    table.prediction-table-questions.statistics { width: 100%; table-layout: fixed; }
    table.prediction-table-questions.statistics td:nth-child(2) { word-wrap: break-word; }

    Thanks, that did the trick.
    What does the td:nth-child(2) mean? Is there a child(1) too and does that mean it makes a wordwrap in the first stage too on bonus statistics? I mean on one users statistic?

    Plugin Author AntoineH

    (@antoineh)

    nth-child is a CSS pseudo-selector: http://css-tricks.com/how-nth-child-works/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Statistic of all users bonus question answers’ is closed to new replies.