[Plugin: Vertical Response Newsletter Widget] Almost all CSS hard-coded (2 posts)

  1. jasdonle
    Posted 5 years ago #

    Just thought I'd mention this. I love this plugin for the functionality it provides, but was frustrated to see that the author hard-coded 90% of the styling into the plugin itself, using inline CSS.

    I suppose this would be the best thing to do if your audience was mostly people who didn't know how to code. Perhaps include two versions of the PHP file -- one mostly hard-coded, the other completely vanilla -- and include a way to toggle between the two in the admin.


  2. Zack Katz
    Posted 5 years ago #

    @jasdonle - I created the widget with the option to turn off the hard coded CSS styles. If you choose "No" on the "Show Widget Style" option, the CSS styles will not be added inline.

Topic Closed

This topic has been closed to new replies.

About this Topic