Viewing 1 replies (of 1 total)
  • I’m not having that issue with the login_css() function on my site, it is correctly loading my custom theme (and also the included ones). The css and js files need to be in the plugin directory, not your theme/template

    Create a variable called $style that replaces %s with your theme name, so THEME.css
    $style = sprintf('%s.css', $this->options['theme']);

    Enqueue the style in your theme (because it is in double quotes, /css/THEME.css included, if it were single quotes it would be /css/$style)
    wp_enqueue_style('simplemodal-login', $this->pluginurl . "css/$style", false, $this->version, 'screen');

    I don’t see any references to TEMPLATEPATH or get_template_directory_uri() :/

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: SimpleModal Login] Issues with overridding CSS from theme [BUG]’ is closed to new replies.