I am currently making a website and I have put my logo in like this:
header .logo a {
background-image: url(Images/FRANKEN\ DEVELOPMENT\ FATTER\ AND\ OTHER\ COLOR2.png);
background-size: 250px;
display: inline-block;
height: 80px;
text-indent: -9999999px;
width: 300px;
background-repeat: no-repeat;
position: relative;
top: -21px;
left: 25px;
filter: contrast(2);
}
<header>
<nav>
<ul id="navbar">
<li class="logo"><a>Franken Development Logo</a></li>
<li><a class="categories" href="#">Home</a></li>
<li><a class="categories" href="#">Websites</a></li>
</ul>
<nav>
<header>
As you can see, my text is out of frame with text-indent: -9999999px;
But know, when I make it a link (the logo), it will not work because the text will become a link (which is far away from vision) and not the image.
How do I make it so my logo goes to index.html? And not the text, representing the logo.
-Ian