• Resolved fransjansen

    (@fransjansen)


    Dear all,

    I am busy setting up a website including this great plugin. I made some adjustments via css and in general it looks like I want it to look. However I have an issue with the user predictions page eg https://ek2021pool.nl/user/?user=1

    Below the first bonus question the layout is broken, as you can see. Can someone help me to solve this, so it looks like the first part of the page?
    Thank you so much.

    The page I need help with: [log in to see the link]

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

    (@antoineh)

    All elements (match cards, linked questions and match type headings) need to be wrapped by a div with classes “matchinfo” and “new-layout”. After the first question it looks like the container is closed too soon.

    <div class="matchinfo new-layout">
    .. all cards ..
    </div>
    Thread Starter fransjansen

    (@fransjansen)

    Hi Antoine,

    I have no clue how to fix this. Could you support me there?

    I just installed your plugin out of the box and customized it by adding custom css in WordPress. I exported the Euro 2020 schedule from a previous install on zuiderburen.com/ekpool and imported it on my new website.
    When I delete the first bonus question (which was connected to the match The Netherlands vs Ukraine) the layout looks good untill the next bonus question. After that one it breaks again. So it looks like it is caused by the bonus questions.
    Even when I delete all custom css from WordPress customizer the first match related bonus question breaks the layout.

    Plugin Author AntoineH

    (@antoineh)

    Looks like you’ve found a bug. I managed to reproduce it on my test environment by changing some settings in my install. I will post a fix later today.

    Plugin Author AntoineH

    (@antoineh)

    I tried to restructure the code a bit and I think I solved the problem. Can you try to replace your /classes/class-football-pool-pool.php file with this one and see if that resolves the problem on your site?

    Thread Starter fransjansen

    (@fransjansen)

    Thanks Antonine!
    It is resolved now. Great support.

    Thread Starter fransjansen

    (@fransjansen)

    Het probleem was weer terug. Ik heb nogmaals jouw oplossing toegepast en het is weer opgelost. Kan het zijn dat door een update van de plugin (ik heb dat op automatisch staan) het probleem zich weer voordeed?

    Plugin Author AntoineH

    (@antoineh)

    Ja, dat kan. WordPress overschrijft alles bij een plugin update.
    Maar wel vreemd dat hij nu pas een update triggert. Versie 2.9.5 is toch al best een tijdje uit (6 weken).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Layout of user predictions page broken’ is closed to new replies.