WordPress.org

Forums

YOP Poll
[resolved] #yop-poll-container-error CSS (2 posts)

  1. CorinaD
    Member
    Posted 12 months ago #

    Hi I've set up the poll fine and happy with most of what it does.

    I'm editing the CSS in yop-poll-model.php to try to change the FORMATTING of the error message "custom field <blah> is required". I've successfully changed the text itself.

    As I'm using Green v1 template I wanted to make the error message show up clearer (red text on green background is too hard to read).

    So I replaced every instance of:

    #yop-poll-container-error-%POLL-ID% {\r\n font-size:12px;\r\n font-style:italic;\r\n color:red;\r\n text-transform:lowercase;\r\n}\r\n\r\n

    with:

    #yop-poll-container-error-%POLL-ID% {\r\n font-size:14px;\r\n color:white;\r\n background-color:red;\r\n}\r\n\r\n

    and hard refreshed the page (cleared cache) but it's still not showing the new styling.

    Any thoughts please? Thanks

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

  2. YOP
    Member
    Plugin Author

    Posted 12 months ago #

    Hi CorinaD,

    For these changes to take effect you have to deactivate then reactivate the plugin.

    Regards,

    YOP Team

Reply

You must log in to post.

About this Plugin

About this Topic