I can't find the reference to change the url of my theme logo, can someone help?
I know it should my in header.php, but I can't seem to find it there. My objective is to change its destination, so that instead of the homepage, the logo will open a video.
I'd appreciate your help, thank you :)
EDIT: I forgot to add the website :p avotreboncoeur.com (work in progress)
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 4gnox7
11 comments
If you want to change the src of your header logo, you can use javascript, add this to your custom js file.
If you don't have that then checkout other parts to your template checkout page.php, header.php and there is sometimes two headers a main header, and a theme header but it varies per theme.
Should the file be called something like "custom.js"? Because I don't think there is one. I'm checking almost every file, without success :(
In your theme directory there is usually a folder labelled JS and in that folder is a script.js file which is all the script functions used by your site, past it in at the bottom of the script file and see what happens :)
I've not used the game-over theme before, might be worth asking on their support forum.
The logo might not be in your header.php file depending on how the developer structured the theme. The containing div is below. Try searching through the files for that. Don't forget to create a child-theme, otherwise updating the theme you will lose all your changes.
I've already asked the support theme, and also left a comment on their public page (where sometimes they help costumers). The support theme replied they don't do customisation assistance, so I replied I'd wish at least to know where the function is. Let's hope they'll reply sooner or later...
Thank you for the suggestion, but I couldn't find this wrapper :(
Deleted before we saved it.