q a home page
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
10 changed files
with
53 additions
and
10 deletions
| ... | @@ -16862,7 +16862,8 @@ html.mega-menu-primary-off-canvas-open #wpadminbar { | ... | @@ -16862,7 +16862,8 @@ html.mega-menu-primary-off-canvas-open #wpadminbar { |
| 16862 | flex-wrap: wrap; | 16862 | flex-wrap: wrap; |
| 16863 | border-left: 0.0625rem solid #999; | 16863 | border-left: 0.0625rem solid #999; |
| 16864 | padding-left: 1.6875rem; | 16864 | padding-left: 1.6875rem; |
| 16865 | margin-left: 2.3125rem; | 16865 | margin-left: 30px; |
| 16866 | text-decoration: none; | ||
| 16866 | } | 16867 | } |
| 16867 | 16868 | ||
| 16868 | .branding { | 16869 | .branding { |
| ... | @@ -16870,6 +16871,9 @@ html.mega-menu-primary-off-canvas-open #wpadminbar { | ... | @@ -16870,6 +16871,9 @@ html.mega-menu-primary-off-canvas-open #wpadminbar { |
| 16870 | margin-bottom: 0rem; | 16871 | margin-bottom: 0rem; |
| 16871 | margin-top: 0.9375rem; | 16872 | margin-top: 0.9375rem; |
| 16872 | } | 16873 | } |
| 16874 | .branding .navbar-brand { | ||
| 16875 | margin-right: 0px; | ||
| 16876 | } | ||
| 16873 | 16877 | ||
| 16874 | #main-nav { | 16878 | #main-nav { |
| 16875 | box-shadow: 0rem 0.1875rem 0.375rem rgba(0, 0, 0, 0.1607843137); | 16879 | box-shadow: 0rem 0.1875rem 0.375rem rgba(0, 0, 0, 0.1607843137); |
| ... | @@ -17212,7 +17216,7 @@ button, input, optgroup, select, textarea { | ... | @@ -17212,7 +17216,7 @@ button, input, optgroup, select, textarea { |
| 17212 | .appArea.responsive input[type=submit] { | 17216 | .appArea.responsive input[type=submit] { |
| 17213 | margin-top: 0.625rem; | 17217 | margin-top: 0.625rem; |
| 17214 | color: white !important; | 17218 | color: white !important; |
| 17215 | padding: 0.4375rem 1.875rem 0.625rem 1.875rem !important; | 17219 | padding: 0.5375rem 1.875rem 0.625rem 1.875rem !important; |
| 17216 | width: auto !important; | 17220 | width: auto !important; |
| 17217 | font-size: 0.875rem !important; | 17221 | font-size: 0.875rem !important; |
| 17218 | line-height: 1.1875rem; | 17222 | line-height: 1.1875rem; |
| ... | @@ -17222,7 +17226,7 @@ button, input, optgroup, select, textarea { | ... | @@ -17222,7 +17226,7 @@ button, input, optgroup, select, textarea { |
| 17222 | background-color: #e00 !important; | 17226 | background-color: #e00 !important; |
| 17223 | margin-right: 0px; | 17227 | margin-right: 0px; |
| 17224 | float: right; | 17228 | float: right; |
| 17225 | border: 1px solid transparent !important; | 17229 | border: 0px solid transparent !important; |
| 17226 | } | 17230 | } |
| 17227 | @media screen and (max-width: 48rem) { | 17231 | @media screen and (max-width: 48rem) { |
| 17228 | .appArea.responsive input[type=submit] { | 17232 | .appArea.responsive input[type=submit] { |
| ... | @@ -19174,7 +19178,7 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -19174,7 +19178,7 @@ ul.sf_date_field .sf-datepicker { |
| 19174 | line-height: 2.25rem; | 19178 | line-height: 2.25rem; |
| 19175 | margin-bottom: 2.5rem; | 19179 | margin-bottom: 2.5rem; |
| 19176 | width: 100%; | 19180 | width: 100%; |
| 19177 | max-width: 45rem; | 19181 | max-width: 1068px; |
| 19178 | font-weight: bold; | 19182 | font-weight: bold; |
| 19179 | } | 19183 | } |
| 19180 | @media only screen and (max-width: 48.875rem) { | 19184 | @media only screen and (max-width: 48.875rem) { | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| 1 | <?php | ||
| 2 | /** | ||
| 3 | * Navbar branding | ||
| 4 | * | ||
| 5 | * @package Understrap | ||
| 6 | * @since 1.2.0 | ||
| 7 | */ | ||
| 8 | |||
| 9 | // Exit if accessed directly. | ||
| 10 | defined( 'ABSPATH' ) || exit; | ||
| 11 | |||
| 12 | if ( ! has_custom_logo() ) { ?> | ||
| 13 | |||
| 14 | <?php if ( is_front_page() && is_home() ) : ?> | ||
| 15 | |||
| 16 | <h1 class="navbar-brand mb-0"> | ||
| 17 | <a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"> | ||
| 18 | <?php bloginfo( 'name' ); ?> | ||
| 19 | </a> | ||
| 20 | </h1> | ||
| 21 | |||
| 22 | <?php else : ?> | ||
| 23 | |||
| 24 | <a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"> | ||
| 25 | <?php bloginfo( 'name' ); ?> | ||
| 26 | </a> | ||
| 27 | |||
| 28 | <?php endif; ?> | ||
| 29 | |||
| 30 | <?php | ||
| 31 | } else { | ||
| 32 | the_custom_logo(); | ||
| 33 | } |
| ... | @@ -24,7 +24,9 @@ $container = get_theme_mod( 'understrap_container_type' ); | ... | @@ -24,7 +24,9 @@ $container = get_theme_mod( 'understrap_container_type' ); |
| 24 | <!-- Your site branding in the menu --> | 24 | <!-- Your site branding in the menu --> |
| 25 | <div class="branding"> | 25 | <div class="branding"> |
| 26 | <?php get_template_part( 'global-templates/navbar-branding' ); ?> | 26 | <?php get_template_part( 'global-templates/navbar-branding' ); ?> |
| 27 | <div class="site-title">MSF CLIMATE HUB</div> | 27 | <a rel="home" class="site-title" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"> |
| 28 | <div class="">MSF CLIMATE HUB</div> | ||
| 29 | </a> | ||
| 28 | </div> | 30 | </div> |
| 29 | <!-- <button | 31 | <!-- <button |
| 30 | class="navbar-toggler" | 32 | class="navbar-toggler" | ... | ... |
| ... | @@ -246,7 +246,7 @@ button, input, optgroup, select, textarea{ | ... | @@ -246,7 +246,7 @@ button, input, optgroup, select, textarea{ |
| 246 | input[type="submit"] { | 246 | input[type="submit"] { |
| 247 | margin-top: 0.625rem; | 247 | margin-top: 0.625rem; |
| 248 | color:white !important; | 248 | color:white !important; |
| 249 | padding: 0.4375rem 1.875rem 0.625rem 1.875rem!important; | 249 | padding: 0.5375rem 1.875rem 0.625rem 1.875rem!important; |
| 250 | width: auto !important; | 250 | width: auto !important; |
| 251 | font-size: 0.875rem !important; | 251 | font-size: 0.875rem !important; |
| 252 | line-height: 1.1875rem; | 252 | line-height: 1.1875rem; |
| ... | @@ -256,7 +256,7 @@ button, input, optgroup, select, textarea{ | ... | @@ -256,7 +256,7 @@ button, input, optgroup, select, textarea{ |
| 256 | background-color: #e00 !important; | 256 | background-color: #e00 !important; |
| 257 | margin-right: 0px; | 257 | margin-right: 0px; |
| 258 | float: right; | 258 | float: right; |
| 259 | border: 1px solid transparent !important; | 259 | border: 0px solid transparent !important; |
| 260 | @media screen and (max-width: 48rem) { | 260 | @media screen and (max-width: 48rem) { |
| 261 | margin-right: -15px; | 261 | margin-right: -15px; |
| 262 | } | 262 | } | ... | ... |
| ... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
| 20 | line-height:2.25rem ; | 20 | line-height:2.25rem ; |
| 21 | margin-bottom: 2.5rem; | 21 | margin-bottom: 2.5rem; |
| 22 | width: 100%; | 22 | width: 100%; |
| 23 | max-width: 45rem; | 23 | max-width: 1068px; |
| 24 | font-weight: bold; | 24 | font-weight: bold; |
| 25 | @media only screen and (max-width: 48.875rem) { | 25 | @media only screen and (max-width: 48.875rem) { |
| 26 | font-size: 1.125rem; | 26 | font-size: 1.125rem; | ... | ... |
| ... | @@ -10,7 +10,8 @@ | ... | @@ -10,7 +10,8 @@ |
| 10 | flex-wrap: wrap; | 10 | flex-wrap: wrap; |
| 11 | border-left: 0.0625rem solid #999; | 11 | border-left: 0.0625rem solid #999; |
| 12 | padding-left: 1.6875rem; | 12 | padding-left: 1.6875rem; |
| 13 | margin-left: 2.3125rem; | 13 | margin-left: 30px; |
| 14 | text-decoration: none; | ||
| 14 | 15 | ||
| 15 | } | 16 | } |
| 16 | 17 | ||
| ... | @@ -20,6 +21,9 @@ | ... | @@ -20,6 +21,9 @@ |
| 20 | display: flex; | 21 | display: flex; |
| 21 | margin-bottom: 0rem; | 22 | margin-bottom: 0rem; |
| 22 | margin-top: 0.9375rem; | 23 | margin-top: 0.9375rem; |
| 24 | .navbar-brand{ | ||
| 25 | margin-right:0px ; | ||
| 26 | } | ||
| 23 | } | 27 | } |
| 24 | #main-nav{ | 28 | #main-nav{ |
| 25 | box-shadow: 0rem 0.1875rem 0.375rem #00000029; | 29 | box-shadow: 0rem 0.1875rem 0.375rem #00000029; | ... | ... |
-
Please register or sign in to post a comment