From: Andrew Engelbrecht Date: Wed, 24 Jul 2019 16:04:19 +0000 (-0400) Subject: updated search bar displacement css code X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=e78bc9ba73944b342f0b95e494df53d6c3e755e8 updated search bar displacement css code now that we're using breadcrumbs, the search bar needs to be moved relative to that, not the page-header. --- diff --git a/css/style.css b/css/style.css index 3480ac0..cd05ad6 100644 --- a/css/style.css +++ b/css/style.css @@ -82,7 +82,9 @@ a { transition: 0.3s; } .navbar-default { min-height: 230px; margin-bottom: 30px; } #block-ryf-main-menu .navbar-nav { max-width: 130px; } .search-block-form { margin-top: -50px; } - .page-header { margin-top: 50px; } + /* note that the following will not work if the breadcrumb is missing on a + * page, such as the main page */ + .breadcrumb { margin-top: 50px; } } @media screen and (min-width: 768px) {