WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
CSS loads in footer, disrupts page load (5 posts)

  1. Tom Leger
    Member
    Posted 7 months ago #

    Great plugin! I am having an issue with this site with the poll in the sidebar as well as the polls listed on the internal poll page.

    It looks like one CSS file is loading in the footer rather that in the header, and I believe that this is what is causing the page formatting to change as the site loads. I might not be correct about that, though.

    The link to the file that is loading in the footer is: ..."wp-admin/admin-ajax.php?action=yop_poll_load_css&id=3&location=widget&unique_id=_yp5296622e53297&ver=4.6' "

    Is there anything I could do to adjust the plugin so that the style don't change as the site loads? Thanks for your help!

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

  2. YOP
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Tom,

    When you say that the page formatting changes as the site loads, are you referring to the fact that, as the page is loading, the answers (and the radio buttons) are displayed vertically then, when the page is loaded, they are displayed horizontally?

    If so, please tell us how you would like the answers to be displayed (horizontally or vertically).

    Best wishes,

    YOP Team

  3. Tom Leger
    Member
    Posted 7 months ago #

    Hi YOP team! Yes, the final loading format (horizontal) is how we'd like it to appear. Thanks for your quick response!

  4. YOP
    Member
    Plugin Author

    Posted 7 months ago #

    Hey Tom,

    In this case, as far as we can see, the site works properly. The CSS file is the last one to be loaded on the page so this is why you see a different styling while the page still loads.

    Regards,

    YOP Team

  5. Tom Leger
    Member
    Posted 7 months ago #

    Is there any way for the CSS to be loaded in the header instead of the footer, so that the page is not disrupted? What changes would I need to make to the plugin to do that?

    The other CSS files on the site all load in the header, which is why I am asking. Thank you for your help!

    Tom

Reply

You must log in to post.

About this Plugin

About this Topic

Tags