O
onealbsMar 18, 2020
Could you direct me to code for a top bar announcement? We are trying to get COVID-19 announcement at the top of our website. Thank you!
Could you direct me to code for a top bar announcement? We are trying to get COVID-19 announcement at the top of our website. Thank you!
Hello,
Default Functionality related to this is currently not included out of the box, but you can use a simple code below to implement this:
<div class="alert bg-dark text-white m-0 rounded-0">
	<div class="container">
		<div class="d-flex align-items-center justify-content-between">
			<div>Alerts about <strong>COVID-19</strong></div>
			<button type="button" class="btn btn-light btn-sm" data-dismiss="alert" aria-label="Close">
				Close
			</button>
		</div>
	</div>
</div>Make sure you add this code just after the <body> Tag starts.
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard