mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 16:44:24 +08:00
1.0.4
This commit is contained in:
parent
eac20f82e2
commit
105cddc501
4 changed files with 38 additions and 3 deletions
|
@ -180,6 +180,14 @@ img,
|
|||
.post-thumbnail img { -webkit-border-radius: '.esc_attr( get_theme_mod('image-border-radius') ).'px; border-radius: '.esc_attr( get_theme_mod('image-border-radius') ).'px; }
|
||||
'."\n";
|
||||
}
|
||||
// header logo max-height
|
||||
if ( get_theme_mod('logo-max-height','60') != '60' ) {
|
||||
$styles .= '.site-title a img { max-height: '.esc_attr( get_theme_mod('logo-max-height') ).'px; }'."\n";
|
||||
}
|
||||
// comment count color
|
||||
if ( get_theme_mod('color-comment-count','') != '' ) {
|
||||
$styles .= '.post-comments { background-color: '.esc_attr( get_theme_mod('color-comment-count') ).'; }'."\n";
|
||||
}
|
||||
// header text color
|
||||
if ( get_theme_mod( 'header_textcolor' ) != '' ) {
|
||||
$styles .= '.site-title a, .site-description { color: #'.esc_attr( get_theme_mod( 'header_textcolor' ) ).'; }'."\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue