Support » Plugin: YOP Poll » Editing widget width

  • Resolved Faresaldo.com

    (@faresaldocom)


    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 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!

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

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

    (@yourownprogrammer)

    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% {
    width:200px;

    simply modify the width and save the template.

    Best wishes,

    YOP Team

    Thread Starter Faresaldo.com

    (@faresaldocom)

    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).

    Plugin Author YOP

    (@yourownprogrammer)

    Hi,

    Go to the archive page and replace

    [yop_poll_archive]

    with

    div class=”poll-entry” style=”width:450px;”>
    [yop_poll_archive]
    <br style=”clear: both;” />
    <div>

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

    .yop-poll-container {
    float:left;
    }

    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=”….”]

    Regards,

    YOP Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Editing widget width’ is closed to new replies.