diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css
index 02e5ee7617..0ae6a85d5f 100644
--- a/src/wp-admin/css/themes.css
+++ b/src/wp-admin/css/themes.css
@@ -1137,11 +1137,12 @@ body.show-upload-theme .upload-theme + .wp-filter + .theme-browser {
}
p.no-themes {
+ clear: both;
color: #999;
font-size: 18px;
font-style: normal;
margin: 0;
- padding: 0;
+ padding: 100px 0 0;
text-align: center;
display: none;
}
diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js
index f445082d41..83c67a2f29 100644
--- a/src/wp-admin/js/theme.js
+++ b/src/wp-admin/js/theme.js
@@ -79,7 +79,8 @@ themes.view.Appearance = wp.Backbone.View.extend({
// Render and append
this.view.render();
- this.$el.empty().append( this.view.el ).addClass('rendered');
+ this.$el.find( '.themes' ).remove();
+ this.$el.append( this.view.el ).addClass( 'rendered' );
this.$el.append( '
' );
},
diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
index d42091d676..0443ba854e 100644
--- a/src/wp-admin/theme-install.php
+++ b/src/wp-admin/theme-install.php
@@ -166,10 +166,10 @@ include(ABSPATH . 'wp-admin/admin-header.php');
-