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

    (@antoineh)

    hi Patrick,

    1. The container has a max-width. You can override this via CSS.
    2. Check again when you have changed the maximum width via your own CSS.
    3. I can see that the string is already translated (see translation here), but someone from the French translation team needs to approve it. I can’t do this myself. The FAQ has a section on translations with extra info.

    Hope this helps.

    Thread Starter Patrick

    (@pat69)

    I don’t see where to change the width. I tried changing the width from 700px to 1200px in this file, pool.css in wp-content/plugins/football-pool/assets but nothing changes…

    For the translation, I searched for the terms to be translated with Loco Translate, but they were not found.

    • This reply was modified 2 years, 9 months ago by Patrick.
    Plugin Author AntoineH

    (@antoineh)

    It is better to add your own CSS in a child theme, or in the Additional CSS field under Appearance 》 Customize (if that is still available), or via a plugin like ‘Scripts and styles’. And make sure your rule has a higher specificity than the one from the plugin.

    I use the standard translation process of WordPress. I don’t know what Loco Translate is or does. Easiest solution is to reach out to the French translation team and to request that the translations are approved, or have them promote you to a project translation editor so you can evaluate and approve the translations for the French language.

    Thread Starter Patrick

    (@pat69)

    I found where to change the language of “question value”. It’s in the file : class-football-pool-pool.php in line 1563

    Plugin Author AntoineH

    (@antoineh)

    please note that when you change files in the plugin, that your changes will be overwritten on every plugin update.

    Thread Starter Patrick

    (@pat69)

    Hello,
    Yes, absolutely.

    For display, I don’t know where to edit. What’s amazing is that when I select “Mobile-friendly layout” in the layout options, it displays correctly, across the entire width of the page.

    Plugin Author AntoineH

    (@antoineh)

    The mobile-friendly layout uses a flex layout (CSS) that behaves different than the classic layout that is still in an old-fashioned table structure. If you want the table layout to take the full width, then you need to set its max-width to 100%:

    /* Full width in classic layout */
    table.matchinfo.classic-layout { max-width: 100%; }
    Thread Starter Patrick

    (@pat69)

    Hello Antoine,
    Strangely, since yesterday morning the predictions page is displayed correctly, over the entire width, without me having done anything.

    On the other hand, I try to modify the width of the box (5em instead of 3em) where we enter the scores, as well as the alignment of the text (center instead of right). I have modified the values ​​below in the following file: wp-content/plugins/football-pool/assets/pool.css but the modification is not taken into account. I do not understand why.

    .fp-prediction-form input.prediction {
    width: 3em;
    text-align: right;
    }

    I only have this box width problem on Firefox, on Microsoft Edge it displays correctly.

    However, I cleared the cache.

    • This reply was modified 2 years, 9 months ago by Patrick.
    • This reply was modified 2 years, 9 months ago by Patrick.
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Page width’ is closed to new replies.