Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Adding a fixed banner over showcase image?

Started by Lewis 9 years ago · 1 replies · 1407 views
9 years ago

This should help get you started in the right direction.

HTML

HTML
<section id="hero">
    <div class="row">
       ...
    </div>
    <div class='hero__overlay">Overlay content</div>
</section>

CSS

CSS
#hero { position: relative; }
.hero__overlay { position: absolute; top: 0; left: 10px; } /* Change top & left to whatever works best */

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by David Garner, 5 years ago
15 1138 3 days ago
Themes & Styling · by MarkP, 3 weeks ago
3 220 2 weeks ago
Themes & Styling · by TomW, 3 weeks ago
0 138 3 weeks ago
Themes & Styling · by themetman, 4 weeks ago
1 233 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 357 3 weeks ago