Skip to content

Instantly share code, notes, and snippets.

@be-mohand
Last active November 23, 2022 10:54
Show Gist options
  • Save be-mohand/a0b1dbb2826f31981af104db9a924488 to your computer and use it in GitHub Desktop.
Save be-mohand/a0b1dbb2826f31981af104db9a924488 to your computer and use it in GitHub Desktop.
Add a banner on top of all your pages.
<style>
#announcement-bar {
position: relative;
background: #000000;
width: 100%;
color: #FFFFFF;
text-align: center;
padding: 5px;
}
#announcement-bar p { margin-bottom: 0; }
#announcement-bar a, #announcement-bar a:hover, #announcement-bar a:focus {
font-weight:bold;
color: #FFFFFF;
text-decoration: underline;
}
</style>
<div id="announcement-bar">
<p><strong>Notre levée de fonds sur la plateforme Wedogood est ouverte !</strong><br>
Pour y participer <a href="http://bit.ly/3tNY2Hs" target="_blank">c’est par ici</a> ✨</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment