WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] How to change font-family and font size. (5 posts)

  1. att
    Member
    Posted 1 year ago #

    Hello,

    I've tried to change the font-family and the font size of the polls, by editing inc/admin.php and css files, but there is no effect.

    How to change font-family and font size, please?

    Regards.

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

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hi att,

    From the main menu go to Templates and edit the template you used for your Poll. In the CSS section add

    #yop-poll-container-%POLL-ID% {
    font-family: [...];
    }

    and replace [...] with the font family you want.
    For example, if you want to change it to Arial, you will have to add

    #yop-poll-container-%POLL-ID% {
    font-family: sans-serif;
    }

    You can check the link below for some inspiration:

    http://www.w3.org/Style/Examples/007/fonts.en.html

    To change the font size you have to look in the CSS section and every time you see font-size:x; replace it with the value you want.

    If you need more help please get back to us with a link and mention the changes you want to make and we will assist.

    Best wishes,

    YOP Team

  3. att
    Member
    Posted 1 year ago #

    Thank you very much for your kind and very clear explanation.
    I'll try it again (I've just read your reply).
    Sincerely.

  4. att
    Member
    Posted 1 year ago #

    Hello YourOwnProgrammer,

    - I followed your advice and it works perfectly.
    Many thanks.
    - By the way, is there a way to add questions to a poll?

    Best Regards.

  5. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey att,

    You can have only one question per poll.
    If you want to ask more than one question, you have to create a poll for each one.

    Regards,

    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.