Support » Plugin: YOP Poll » #yop-poll-container-error CSS

  • Resolved CorinaD

    (@corinad)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hi CorinaD,

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

    Regards,

    YOP Team

Viewing 1 replies (of 1 total)
  • The topic ‘#yop-poll-container-error CSS’ is closed to new replies.