Last active
August 29, 2015 14:09
-
-
Save pommiegranit/14c447142173a182235c to your computer and use it in GitHub Desktop.
Custom styles for PopUp Pro from WPMU Dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery('document').ready(function($){ | |
$('input[name=subscription-email]').attr('placeholder','Enter your email address...'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.has-popup .wdpu-msg { | |
-webkit-animation-name: bounceInDown; | |
animation-name: bounceInDown; | |
-webkit-animation-duration: 2s; | |
animation-duration: 2s; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_custom_popup_styles( $list ) { | |
$list[] = (object) array( | |
'url' => get_template_directory_uri() . '/popup-custom-styles-master/elegant/', | |
'dir' => get_template_directory() . '/popup-custom-styles-master/elegant/', | |
'name' => 'Elegant', | |
); | |
return $list; | |
} | |
add_filter( 'popup-styles', 'my_custom_popup_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment