[Plugin: SimpleModal Login] Issues with overridding CSS from theme [BUG]
-
First there is a bug – in your function login_css – it searches my template directory for simplemodal-login-{$style} but the following enqueue loads {$style}, rather than the right file name simplemodal-login-{style} (where $style should default.css or osx.css)
In addition, the stylesheet name needs a slash in front of them as STYLESHEETPATH doesn’t include a trailingslash (nor does get_stylesheet_directory_uri function)
Second, I would recommend that you change the values of TEMPLATEPATH and get_template_directory_uri() to STYLESHEEETPATH and get_stylesheet_directory_uri() – to accomodate child themes.
Otherwise great plugin and looks great in my project
The topic ‘[Plugin: SimpleModal Login] Issues with overridding CSS from theme [BUG]’ is closed to new replies.