Support » Plugin: YOP Poll » Fancybox Compatibility

  • Resolved kaynenh



    If I embed the poll in a Fancybox modal, it loses its layout attributes until I click vote. After that, the poll looks correct whether I look at the results or the questions view. Is there a way to refresh the layout of the poll via javascript after page load or click?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YOP


    Hi kaynenh,

    Please provide a link to the page where you have the poll embedded.


    YOP Team




    I meant to update this topic. I fixed the issue with just a little css. For some reason, the li elements inside the yop-poll-answers get reset to width: 0 inside the fancybox. Here’s what I added to style.css to fix the issue:

    .yop-poll-answers > ul > li {width: 100% !important;}

    Thanks for following up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fancybox Compatibility’ is closed to new replies.