WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
[resolved] Statistic of all users bonus question answers (4 posts)

  1. charlie999
    Member
    Posted 1 month ago #

    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/

  2. AntoineH
    Member
    Plugin Author

    Posted 1 month ago #

    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; }
  3. charlie999
    Member
    Posted 1 month ago #

    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?

  4. AntoineH
    Member
    Plugin Author

    Posted 1 month ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.