diff --git a/assets/images/avatar-placeholder.png b/assets/images/avatar-placeholder.png new file mode 100644 index 00000000..38ce6952 Binary files /dev/null and b/assets/images/avatar-placeholder.png differ diff --git a/assets/opalestate.css b/assets/opalestate.css index b07af0a3..55f9bc54 100755 --- a/assets/opalestate.css +++ b/assets/opalestate.css @@ -1040,7 +1040,7 @@ Use it to make something cool, have fun, and share what you've learned with othe background-color: transparent; color: #2f73e9; } -.page-template-user-management header, .page-template-user-management footer, .page-template-user-management #colophon { +.page-template-user-management.logged-in header, .page-template-user-management.logged-in footer, .page-template-user-management.logged-in #colophon { display: none; } .page-template-user-management article header { diff --git a/assets/scss/opalestate/_page.scss b/assets/scss/opalestate/_page.scss index b9a7898c..5ba1df93 100755 --- a/assets/scss/opalestate/_page.scss +++ b/assets/scss/opalestate/_page.scss @@ -4,13 +4,16 @@ // no header and footer for user management page .page-template-user-management { - header, footer, #colophon { - display:none; + &.logged-in { + header, footer, #colophon { + display:none; + } } article header { display:block !important; } } + /// my-properties page .button-actions { position:absolute; diff --git a/inc/template-functions.php b/inc/template-functions.php index 7bc077d7..323974b4 100755 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -24,7 +24,7 @@ function opalestate_load_template_path( $tpl, $args = [], $layout = '' ) { } function opalestate_get_image_avatar_placehold() { - return OPALESTATE_PLUGIN_URL . 'assets/images/avatar-placeholder.jpg'; + return OPALESTATE_PLUGIN_URL . 'assets/images/avatar-placeholder.png'; } function opalestate_get_admin_view( $file ) {