YOP Poll
[resolved] Editing widget width (4 posts)

  1. Faresaldo.com
    Posted 3 years ago #

    Hello.. I'm sorry to raise this issue again.. but having read most threads discussing this issue, I still couldn't figure out how to change the poll's width.. I'm more concerned about the widget though.. and I know I should be editing some CSS file.. but could you please tell me where exactly is this CSS file.. its directory location.. its name.. and whether editing is done via the backend administration panel.. or via http://FTP... sorry if I'm asking too much.. but I looked everywhere and still couldn't find where to edit the widget width.. thank you!


  2. YOP
    Plugin Author

    Posted 3 years ago #

    Hey Faresaldo.com,

    In the main menu, go to "Templates", drag your mouse over the template you want to change and click on Edit.

    Scroll down to the CSS section and where you have

    #yop-poll-container-%POLL-ID% {

    simply modify the width and save the template.

    Best wishes,

    YOP Team

  3. Faresaldo.com
    Posted 3 years ago #

    Many thanks for your patience! it's a great plugin and with the width finally edited it's now more than perfect.. now would it be too much to ask how to have the archive page display two polls per row instead of the current vertical list while still keeping all available polls displayed? (i.e. without having to manually add polls to the list).

  4. YOP
    Plugin Author

    Posted 3 years ago #


    Go to the archive page and replace



    div class="poll-entry" style="width:450px;">
    <br style="clear: both;" />

    Next, edit the template you use for your poll and in the CSS section, add:

    .yop-poll-container {

    and save.

    If you use other templates as well, make sure you add the CSS code above on each one or you can use the same template for all of your polls.

    These modifications might affect how the polls are displayed on other pages so when you want to add a new poll, use:

    [yop_poll id="...."]
    <br style="clear: both;" />

    instead of just [yop_poll id="...."]


    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.