diff --git a/options.php b/options.php index bee81a6..d68d873 100644 --- a/options.php +++ b/options.php @@ -182,7 +182,7 @@ function optionsframework_options() 'name' => __('Favicon', 'sakura'), 'desc' => __('It is the small logo on the browser tab, fill in the url', 'sakura'), /*就是浏览器标签栏上那个小 logo,填写url*/ 'id' => 'favicon_link', - 'std' => '/wp-content/themes/Sakura/images/favicon.ico', + 'std' => get_template_directory_uri().'/images/favicon.ico', 'type' => 'text'); $options[] = array( diff --git a/style.css b/style.css index 0286418..2da8539 100644 --- a/style.css +++ b/style.css @@ -1325,7 +1325,8 @@ a:hover { border-radius: 50%; padding: 2px; border: 1px solid #DADADA; - position: relative + position: relative; + object-fit: cover } .feature :hover .overlay i {