add a home page link the the header logo
- This topic has 5 replies, 3 voices, and was last updated 6 years, 11 months ago by .
Viewing 5 reply threads
Viewing 5 reply threads
- You must be logged in to reply to this topic.
Home › Forums › GovIntranetters › add a home page link the the header logo
Hi
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
Hey 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 crownlink
Hopefuly this get’s updated in the theme at some point however it’s a small bug for such a great theme!
Hi 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
Thanks 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.
Hi 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.
thanks 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
Cookie | Duration | Description |
---|---|---|
comment_author_email_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_url_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
wordpress_logged_in_[hash] | Indicates when you’re logged in, and who you are, for most interface use. | |
wp-settings-{time}-[UID] | This is used to customize your view of admin interface, and possibly also the main site interface. |
Cookie | Duration | Description |
---|---|---|
_ga | 2 years | Used to distinguish users. |
_gat | 1 minute | Used to throttle request rate. |
_gid | 24 hours | Used to distinguish users. |