What do these lines of code do in Coraline theme
-
They start alittle after body tag
<div id=”header”>
<div id=”masthead” role=”banner”>
<h1 id=”site-title”>
<span>
</span>
</h1>
<div id=”site-description”>my descriptiont</div>
I get this when i view source in webreader. Does it set an H1 ? Because i do that already in the content and i dont want two H1 on one page…..
And this link that is inside the span, i dont see it on my site. But i guess its the text you can get above the header image, but i selected not to display that text in the header options. Why do i still see it in my source code ? Being a beginner i worried about hidden text and links, but surely thats not the case here right ?
-
hm something happened in between the span tags in this post, supposed to look like this minus the a tag.
href=”my site” title=”my title” rel=”home”>my sitename
-
@spaframtiden: Please post your code snippets between code tags or link out to something like https://gist.github.com/ so it’s easy to read the code you’re posting. Cheers.
- The topic ‘What do these lines of code do in Coraline theme’ is closed to new replies.