Skip to content

Commit 2174735

Browse files
[feat] 增加背景
1 parent 5b3eac1 commit 2174735

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Loading

wordpress/wp-content/themes/es-nuxt/setting/dashboard.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ function wpex_wp_welcome_panel() { ?>
3535
#wpwrap {
3636
position: relative;
3737
background-color: #cec8c2;
38+
background-image: url(<?php echo get_template_directory_uri().'/asset/imgs/dash_bg.jpg'; ?>);
39+
background-size: 2500px 1471px;
40+
background-position: center;
3841
}
3942
#wpwrap:before {
40-
content: '';
43+
/* content: '';
4144
left: calc(50% + 100px);
4245
top: 50%;
4346
transform: translate(-50%, -50%);
@@ -46,9 +49,8 @@ function wpex_wp_welcome_panel() { ?>
4649
border-radius: 50vw;
4750
position: absolute;
4851
background-color: #fff;
49-
filter: blur(20px);
52+
filter: blur(20px); */
5053
}
5154
</style>
52-
5355
<?php }
5456
add_action( 'welcome_panel', 'wpex_wp_welcome_panel' );

0 commit comments

Comments
 (0)