diff --git a/assets/sass/_global-overrides.scss b/assets/sass/_global-overrides.scss index c95d30a..170e018 100644 --- a/assets/sass/_global-overrides.scss +++ b/assets/sass/_global-overrides.scss @@ -1,8 +1,4 @@ .flex-content { - //padding: 50px 25px 0; - @media (min-width: 992px) { - padding-top: 197px; - } &.has-flexible-sidebar { @media (min-width: 768px) { .flex-content__breadcrumbs + .flex-content__page-title + .flex-content__sidebar { @@ -16,10 +12,44 @@ @media (min-width: 992px) { padding-right: calc(300px + 1vw); .flex-content__breadcrumbs + .flex-content__page-title + .flex-content__sidebar { - top: 200px; - &.sticky { - top: 97px!important; - transform: translateY(40px); + top: 100px; + } + } + } +} + +.top-menu { + .top-nav-cta { + margin: 0 -17px 0 auto; + text-transform: uppercase; + padding: 0 0 0 8px!important; + a { + transition: all 300ms ease-in-out; + background-color: #C64F00; + border-left: 2px solid #ffffff; + padding: 0 12px; + vertical-align: middle; + &:after { + margin-left: 8px; + display: inline-block; + content: ''; + transition: all 300ms ease-in-out; + background-image: url('./assets/images/link-arrow-white.svg'); + background-repeat: no-repeat; + background-size: 10px 10px; + width: 10px; + height: 10px; + } + } + &:before { + display: none; + } + &:hover, + &:focus { + a { + background-color: #903900; + &:after { + transform: translateX(4px); } } } @@ -27,37 +57,6 @@ } .navbar { - &__logo { - position: relative; - z-index: 2; - } - &__cta { - width: 100vw; - height: 66px; - left: 0; - top: 0; - position: absolute; - background-color: $isc_gray_2; - z-index: 1; - display: none; - @media (min-width: 768px) { - display: flex; - } - @media (min-width: 992px) { - height: 97px; - } - .isc_btn { - margin: 10px 20px 10px auto; - padding: 5px 16px; - @media (min-width: 992px) { - padding: 10px 28px; - margin: 20px 50px 20px auto; - } - } - } - .menu-toggle { - z-index: 2; - } &__nav { &__title { font-family: "Gotham A", "Gotham B"; diff --git a/config.codekit3 b/config.codekit3 index cd8b041..3f940ae 100644 --- a/config.codekit3 +++ b/config.codekit3 @@ -736,9 +736,9 @@ "ec" : 1, "ft" : 4, "ma" : 0, - "oA" : 0, + "oA" : 1, "oAP" : "\/new-module-styles.css", - "oF" : 2, + "oF" : 3, "oS" : 0, "pg" : 0, "sct" : 1 @@ -1637,18 +1637,6 @@ "oAP" : "\/menutest.html", "oF" : 0 }, - "\/new-module-styles.css" : { - "aP" : 1, - "bl" : 0, - "ci" : 0, - "co" : 0, - "ft" : 16, - "ma" : 0, - "oA" : 0, - "oAP" : "\/new-module-styles-min.css", - "oF" : 0, - "pg" : 0 - }, "\/page-flex-content.php" : { "cB" : 0, "ft" : 8192, diff --git a/functions.php b/functions.php index 33a2666..91ff86e 100644 --- a/functions.php +++ b/functions.php @@ -1012,16 +1012,6 @@ function disable_wp_auto_p( $content ) { } add_filter( 'the_content', 'disable_wp_auto_p', 0 ); - /** - * Enqueue Styles - Load Front End CSS - */ -function isc_enqueue_front_end_styles() { - - $version = THEME_VERSION; - wp_enqueue_style( $handle . '-new-module-styles', get_template_directory_uri() . '/new-module-styles.css', array(), $version ); - -} -add_action( 'wp_enqueue_scripts', 'isc_enqueue_front_end_styles' ); /** * Enqueue Scripts - Load Front End JS diff --git a/header-flex-content.php b/header-flex-content.php index 055e25d..75a68db 100644 --- a/header-flex-content.php +++ b/header-flex-content.php @@ -53,7 +53,6 @@ $ab_testing = get_field('ab_testing_styles'); $ab_testing_styles = $ab_testing ? 'ab-styles' : ''; - $disable_nav_cta = get_field('disable_nav_cta'); // Add the blog name. // bloginfo ( 'name' ); @@ -136,17 +135,6 @@ - - - - - -