Forum Replies Created
-
AuthorPosts
-
tim6007Member
Bingo!
That’s done the trick thanks Sakin.
tim6007MemberLol, yes I remembered I needed to do that after posting the reply, I have the header back but the home link still remains.
I will have one last try at resolving this.
Here is what I believe is the offending code as it appears in the browser source code
\
<div id=”page” class=”hfeed”>
<header id=”branding” role=”banner”><div id=”header-content” class=”clearfix”>
<div class=”logo-wrap clearfix”>
<div id=”site-logo”>
</div><div id=”hgroup” class=”site-details with-logo”>
<h1 id=”site-title”>xxxxx.com</h1>
<h2 id=”site-description”></h2>
</div><!– #hgroup –></div><!– .logo-wrap –>
\But this does not appear in the header.php or anywhere else I can see
tim6007MemberThanks Sakin and yes, I did miss the bracket child theme now works.
This code however removes the whole header image, but the link is still active.
I want to show the header image but break the link to the home page.
Something tells me it is to do with this line…. Line 315 functions php
especially this part … ( home_url( ‘/’ ) )
I have tried deleting that but it just breaks the theme, so I must be missing something.
Any ideas?
tim6007MemberHi Sakin,
I just tried that code and got an error
Parse error: syntax error, unexpected $end in /themes/catchbox-child-theme/functions.php on line 23
That’s this line below…
<?php endif; // end check for removed header imageAs I’m not a coder I have no idea what this means, but I just want to say again in case I wasn’t clear, I don’t want to remove the header image only the internal code link from the header image to the home page.
I only used that snippet in the functions.php child file and left the parent functions as it was, this is correct yes?
Any ideas or corrections please?
tim6007MemberHi Sakin,
Thanks for your very prompt response, much appreciated.
I had a feeling it was something to do with the functions file.
Fortunately I already know how to add a child theme, and it did have it on the backburner for this project looks like I will have to do it now.I’ll give that code a go thanks.
-
AuthorPosts