WordPress.org

Forums

Football Pool
[resolved] Edit the width of statistics page (for 100%) (4 posts)

  1. latinosamorir
    Member
    Posted 1 year ago #

    Hello.

    I'd like to make the width of the charts 100% of the div.

    I know they're hard coded in the statics page but via a function ... any idea how to pass 100% instead of a pixel value?

    Thanks

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

  2. AntoineH
    Member
    Plugin Author

    Posted 1 year ago #

    You would also have to change the function render_base_HTML in the Football_Pool_Charts class. Because that function renders the supplied with as a px-value.

    p.s. Development version already has this option. You can use that code as an example, or wait for the new version.

  3. latinosamorir
    Member
    Posted 1 year ago #

    Thank you!

    Much better and responsive!

  4. AntoineH
    Member
    Plugin Author

    Posted 1 year ago #

    Yep, I agree. That's why I decided to change it. The next version will be responsive by default (on new installs).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Football Pool
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.