I've been trying to display a logo on the header of my website, but I'm having trouble getting it to show up. I attempted to set the logo using HTML syntax as well as the following CSS code:
.div
{
content: url (...jpg);
}
However, both methods only resulted in a small box with a question mark inside. I can't figure out why the logo won't display.
Here's what it currently looks like:
And here is the CSS code I have:
.logo::before {
content: url(new-bcu-logo.jpg);
}
HTML:
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-slide-dropdown">
<span class="sr-only">Toggle navigation</span>
</button>
<div class="logo navbar-brand">Student Dashboard</div>
</div>
If you have any ideas on how I can successfully display this logo, I would greatly appreciate it.