{"id":783232,"date":"2008-06-07T19:56:39","date_gmt":"2008-06-07T19:56:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-link-an-image-header\/"},"modified":"2016-08-19T01:29:36","modified_gmt":"2016-08-19T01:29:36","slug":"how-to-link-an-image-header","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-link-an-image-header\/","title":{"rendered":"How to link an image header?"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I have an image header (www.loglo.org) I just added to my blog.<\/p>\n<p>I am trying to add a link to it, so users can use it to return to the home page. <\/p>\n<p>Here is how I&#8217;ve implemented it (I realize this is probably not ideal):<\/p>\n<p>in my stylesheet.css: <\/p>\n<p>#header {<br \/>\n\tbackground: #a2d073 url(images\/loglo.web6.trans.png) top center;<br \/>\n        background-repeat:no-repeat;<br \/>\n        height:184px;<br \/>\n\ttext-align: center;<br \/>\n\t}<\/p>\n<p>The default code that previously was just plain text (but linked back to home) was, in header.php: <\/p>\n<p>&lt;h2&gt;<a>\/&#8221;&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;<\/a>&lt;\/h2&gt;<\/p>\n<p>How do I combine the two. . . or is there a better way to do this?<\/p>\n","protected":false},"template":"","class_list":["post-783232","topic","type-topic","status-closed","hentry","topic-tag-header-image","topic-tag-linking","topic-tag-stylesheet"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/783232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/783232\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=783232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}