WordPress.org

Support

Support » Plugins and Hacks » YOP Poll » [Resolved] Fancybox Compatibility

[Resolved] Fancybox Compatibility

  • Hey,

    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?

    Thanks!

    http://wordpress.org/plugins/yop-poll/

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

    @yourownprogrammer

    Hi kaynenh,

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

    Regards,

    YOP Team

    Hey!

    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 ‘[Resolved] Fancybox Compatibility’ is closed to new replies.
Skip to toolbar