• Appears its currently not possible to override the easy mail using a child theme, you instead need to add the css to the parent theme.

    Looking at the easymail code it appears the fix would be to use ‘stylesheet_directory’ instead of ‘template_directory’ on line 1291

    wp_enqueue_style ('alo-easymail', get_bloginfo('template_directory') .'/alo-easymail.css' );

    change to:

    wp_enqueue_style ('alo-easymail', get_bloginfo('stylesheet_directory') .'/alo-easymail.css' );

    http://wordpress.org/extend/plugins/alo-easymail/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author eventualo

    (@eventualo)

    Thanks a lot, obiweb. I’ll add the fix in next release.

    Thread Starter obiweb

    (@obiweb)

    No worries. Had a closer look and it appears you’ll also need to change the test that looks for the existence of the file. Let me know if you need any help.

    Plugin Author eventualo

    (@eventualo)

    You are right. After a quick search, the check should use STYLESHEETPATH instead of TEMPLATEPATH, so:

    if ( @file_exists ( STYLESHEETPATH.'/alo-easymail.css' ) ) {
      	wp_enqueue_style ('alo-easymail', get_bloginfo('stylesheet_directory') .'/alo-easymail.css' );
    ......

    Let me know if it works for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: ALO EasyMail Newsletter] Override CSS using child theme’ is closed to new replies.