Drop title down over featured image

this doesn't happen on home, where there will never be a featured image

@TODO make sure nothing terrible happens when there is no featured image
This commit is contained in:
Benjamin Melançon 2019-08-30 23:00:57 -04:00
parent 26477c4272
commit b95b91ce09
2 changed files with 10 additions and 1 deletions

View file

@ -16,3 +16,12 @@
.logo > .image { .logo > .image {
display: inline-block; display: inline-block;
} }
/* On any page except the home, drop the title over (where we want) the image (to be). */
.page-title {
height: 0;
position: relative;
overflow: visible;
z-index: 10;
}

View file

@ -58,7 +58,7 @@
</div> </div>
</div> </div>
{% if not is_front %} {% if not is_front %}
<section> <section class="page-title">
{% block header_and_search %} {% block header_and_search %}
{% if page.header %} {% if page.header %}
{# Header region #} {# Header region #}