readjust h1 brand name styling with link

This commit is contained in:
Holger Könemann 2017-02-04 11:15:22 +01:00
parent a5ad17133e
commit 333f1c90a8
6 changed files with 14 additions and 3 deletions

View File

@ -6863,6 +6863,9 @@ aside.widget {
#wrapper-hero .carousel-inner .textwidget { #wrapper-hero .carousel-inner .textwidget {
width: 100%; } width: 100%; }
h1.navbar-brand a {
color: inherit; }
/*! /*!
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

View File

@ -6863,6 +6863,9 @@ aside.widget {
#wrapper-hero .carousel-inner .textwidget { #wrapper-hero .carousel-inner .textwidget {
width: 100%; } width: 100%; }
h1.navbar-brand a {
color: inherit; }
/*! /*!
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -48,7 +48,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<?php if ( is_front_page() && is_home() ) : ?> <?php if ( is_front_page() && is_home() ) : ?>
<h1 class="navbar-brand mb-0"><?php bloginfo( 'name' ); ?></h1> <h1 class="navbar-brand mb-0"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?> <?php else : ?>

View File

@ -130,4 +130,9 @@ aside.widget{clear:both;}
// Makes widgets in hero slider 100% width // Makes widgets in hero slider 100% width
#wrapper-hero .carousel-inner .textwidget { #wrapper-hero .carousel-inner .textwidget {
width:100%; width:100%;
}
// Adjusting brand link if h1 is used
h1.navbar-brand a {
color:inherit;
} }