• Hey guys,

    I have a logo in my header which is screen wide. The logo links to the homepage by default, so now my entire header is one big link button. I just want to get rid of the entire link, but if I remove it out my child theme, it will simply get the information out of the parent theme. Removing it out of the parent theme doesn’t sound like a good plan to me. So I need to change this information:

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" class="site-title site-logo-text"><?php echo esc_html( get_bloginfo( 'name' ) ); ?></a>

    in logo.php in the child theme in a way that it will no longer contain a link, but it still has to override the parent theme. Any ideas?

    Thanks!! ??

    Update: I just removed this piece of code form both the child and the parent just to see if it would work, and the link is still there.. :S Should I change it somewhere else?

    • This topic was modified 6 years, 5 months ago by bonnie85.
    • This topic was modified 6 years, 5 months ago by bonnie85.
    • This topic was modified 6 years, 5 months ago by bonnie85.
    • This topic was modified 6 years, 5 months ago by bonnie85.
    • This topic was modified 6 years, 5 months ago by bonnie85.
  • The topic ‘How to remove link from logo in OceanWP’ is closed to new replies.