I have used the following CSS to make the background image responsive for a specific page
@media (max-width: 768px) {
.page-id-xx .page-hero {
background-image: url(http://MOBILE-BACKGROUND-IMAGE-HERE);
}
}
Using this causes the {{post_title}}
template tag when wrapped in H1 tags to align to the bottom of the page hero container.
The code I have used in the element is
<div class="page-hero-h1">
<h1>
{{post_title}}
</h1>
</div>
What CSS do I need to use to get the post_title to appear at (or near) the top of the page hero.