• Resolved kfroese

    (@kfroese)


    So far the plugin is working excellent! Thank you for your efforts on this.

    One minor problem I have though – on the “past predictions” page, the little pie chart icon (which takes you to all users predictions for that match) overlaps the points awarded to the match. Is there a simple way to tweak that? I’m using the Twenty Seventeen theme unmodified.

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

    (@antoineh)

    You can inspect the code with Chrome’s developer tools and tweak the right padding of the cell to ‘push’ the value to the left.

    e.g.

    table.matchinfo td:nth-child(10) {
        padding-right: 1em;
    }
    Thread Starter kfroese

    (@kfroese)

    I’m having troubles finding that piece of code. Is it possible you could direct me to the PHP or CSS file I should modify on the server?

    Thanks.

    Plugin Author AntoineH

    (@antoineh)

    You shouldn’t modify any code on the server 🙂
    The code I gave above is something you should add to the Additional/Extra CSS field of your theme (Appearance » Customize) or use a plugin like Scripts ‘n Styles to add this CSS.

    If the code does not work, you’ll have to adjust it to the html source or make it more specific. This CSS worked on my install and adds a padding to the 10th td of a table row.

    Thread Starter kfroese

    (@kfroese)

    I get it now. Worked perfectly!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Pie chart overlapping points’ is closed to new replies.