diff --git a/functions.php b/functions.php index d5bacc3..7449eea 100644 --- a/functions.php +++ b/functions.php @@ -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' ); - } \ No newline at end of file + } + + /* + * * 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' ); diff --git a/style.css b/style.css index 34e02ad..0dd1df4 100644 --- a/style.css +++ b/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;}