add a home page link the the header logo
Home › Forums › GovIntranetters › add a home page link the the header logo
- This topic has 5 replies, 3 voices, and was last updated 7 years, 11 months ago by
Andrew S.
-
AuthorPosts
-
-
4 Dec 2017 at 18:33 #3317
Andrew S
ParticipantHi
I am using a logo on the home page – however I can not seem to add a link to the logo to make it return to the homepage – a link is not an option in the edit menu
I tried when I upload the image to add a url here – but its not honoured
I have a child theme, and copied header.php in to that for experimentation but no luck, despite quite a bit of digging
is there an easy way to get the logo bar to link back to the home page?
I feel I am missing something incredibly simple yet again.
thank you in advance -
6 Dec 2017 at 09:38 #3320
Matthew Jasek
ParticipantHey Andrew,
I had the same issue after updating. It’s not a clean fix but in your header.php you can wrap a link around the div with the ID of
crownlinkHopefuly this get’s updated in the theme at some point however it’s a small bug for such a great theme!
-
6 Dec 2017 at 15:11 #3321
Andrew S
ParticipantHi Matthew
thanks for the response, could you be a more explicit as I am new to this, I have had a good look at the headers php, can see the div for crownlink, but I am unclear as to how to code the link ? had a few trial goes with no success.
thank you in advance -
6 Dec 2017 at 23:03 #3322
Luke Oatham
KeymasterThanks for spotting!
This bug has crept in as the theme moves towards using the customiser. If you hide the site title in the header, the hyperlink hides too. For now, using a textual site title will include the homepage link.
I’m working on the custom logo next in the customiser which will include the hyperlink.
-
7 Dec 2017 at 15:45 #3323
Matthew Jasek
ParticipantHi Andrew,
add
<a href="http://www.yoursiteaddress.com">before this piece of code
<div id="crownlink">then close the tag with
</a>Thanks for the update Luke, much appreciated.
-
8 Dec 2017 at 17:14 #3324
Andrew S
Participantthanks for that Matthew – I have tried but its not liking me for some reason, we can pop back to something more standard for now – I am happy to wait for Luke’s update and also thanks Luke for the update on the customiser
-
-
AuthorPosts
- You must be logged in to reply to this topic.