WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] How to Center Widget in Sidebar (5 posts)

  1. anefarious1
    Member
    Posted 8 months ago #

    Can you tell me how to <center> a widget poll that's placed in a sidebar? Since there is no text option for html I can't do it. Thanks

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

  2. YOP
    Member
    Plugin Author

    Posted 8 months ago #

    Hi anefarious1,

    Please send a link to the page that includes the poll and tell us exactly how you'd like it to be displayed.

    Regards,

    YOP Team

  3. anefarious1
    Member
    Posted 8 months ago #

    Just in general. If I view the YOP widget poll from a desktop it is centered in the sidebar because it takes up the entire sidebar.

    However, when I view it in mobile the sidebar is below the content and spans the entire width of the site. For that reason the poll is aligned to the left instead. I'd like for it to be centered on both versions of the site.

  4. YOP
    Member
    Plugin Author

    Posted 8 months ago #

    Hey anefarious1,

    You can do that by changing the CSS code for that template.

    Edit the template you used for your poll, go to the CSS section, make any necessary changes and save it.

    Best wishes,

    YOP Team

  5. anefarious1
    Member
    Posted 8 months ago #

    Yeah I should have thought of that. I need to edit the theme's css since there is no place in the widget to center it with html. Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic