nueva sección + cambio de style del top-navigation
This commit is contained in:
parent
e0da362ae5
commit
325c69e36e
@ -2,4 +2,14 @@
|
||||
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
|
||||
function theme_enqueue_styles() {
|
||||
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* * A simple function to control the number of Twenty Seventeen Theme Front Page Sections
|
||||
* * Source: wpcolt.com
|
||||
* */
|
||||
|
||||
function wpc_custom_front_sections( $num_sections ) {
|
||||
return 5; //Change this number to change the number of the sections.
|
||||
}
|
||||
add_filter( 'twentyseventeen_front_page_sections', 'wpc_custom_front_sections' );
|
||||
|
13
style.css
13
style.css
@ -43,10 +43,11 @@ li {padding:5px;}
|
||||
.page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {margin-bottom:1em !important;}
|
||||
.custom-logo {width:200px !important;height:auto !important;max-height:1000px !important;}
|
||||
|
||||
.main-navigation a:hover,
|
||||
a
|
||||
{ color:#008000;}
|
||||
.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title
|
||||
.main-navigation a {color:#eee;}
|
||||
.main-navigation a:hover
|
||||
{ color:#fff;}
|
||||
.icon-arrow-right {color:#fff;}
|
||||
a, .page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title
|
||||
{color: #000000;
|
||||
font-family:"Libre Franklin", "Helvetica Neue", helvetica;
|
||||
}
|
||||
@ -56,4 +57,6 @@ button, input[type="button"], input[type="submit"]
|
||||
{background-color:#008000;}
|
||||
h2 {font-weight:500;color:#008000;}
|
||||
|
||||
.navigation-top {bottom:auto !important; top:0 !important; }
|
||||
.navigation-top {bottom:auto !important; top:0 !important; background-color:#008000; }
|
||||
|
||||
#post-16 .entry-header {display:none;}
|
||||
|
Loading…
Reference in New Issue
Block a user