WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Faresaldo.com
    Member
    Posted 1 year 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!

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

  2. YOP
    Member
    Plugin Author

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

    simply modify the width and save the template.

    Best wishes,

    YOP Team

  3. Faresaldo.com
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.