mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-26 10:54:03 +08:00
1.0.3
This commit is contained in:
parent
4e80cae56e
commit
3225714dfa
5 changed files with 35 additions and 7 deletions
|
@ -147,6 +147,19 @@ a,
|
|||
|
||||
'."\n";
|
||||
}
|
||||
// header color
|
||||
if ( get_theme_mod('color-header','#000000') != '#000000' ) {
|
||||
$styles .= '
|
||||
#header-inner-inner-inner { background-color: '.esc_attr( get_theme_mod('color-header') ).'; }
|
||||
@media only screen and (min-width: 720px) {
|
||||
#nav-header .nav > li.current_page_item > a:before,
|
||||
#nav-header .nav > li.current-menu-item > a:before,
|
||||
#nav-header .nav > li.current-menu-ancestor > a:before,
|
||||
#nav-header .nav > li.current-post-parent > a:before { border-top: 8px solid '.esc_attr( get_theme_mod('color-header') ).'!important; }
|
||||
}
|
||||
.site-title { border-bottom-color: rgba(255,255,255,0.1)!important; }
|
||||
'."\n";
|
||||
}
|
||||
// gradient left
|
||||
if ( get_theme_mod('gradient-left','#da1b60') != '#da1b60' ) {
|
||||
$styles .= '
|
||||
|
|
|
@ -685,6 +685,14 @@ Kirki::add_field( 'curver_theme', array(
|
|||
'section' => 'styling',
|
||||
'default' => '#ed542f',
|
||||
) );
|
||||
// Styling: Header Color
|
||||
Kirki::add_field( 'curver_theme', array(
|
||||
'type' => 'color',
|
||||
'settings' => 'color-header',
|
||||
'label' => esc_html__( 'Header Color', 'curver' ),
|
||||
'section' => 'styling',
|
||||
'default' => '#000000',
|
||||
) );
|
||||
// Styling: Gradient Left
|
||||
Kirki::add_field( 'curver_theme', array(
|
||||
'type' => 'color',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue