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

  1. CorinaD
    Posted 1 year 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


    #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


  2. YOP
    Plugin Author

    Posted 1 year ago #

    Hi CorinaD,

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


    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic