Remove link from site name in header

Permalink
Hey, all.

I imagine you're all tired of hearing questions that touch on the site name and the ability to edit it, but here's another.

I want to remove the link back to my homepage that is attached to the site title in the header. I am fine with the text being there, and I know all about the site name in the Dashboard settings and Scrapbook.

I am using the Simple Blue theme and have gone into the theme's folder and edited the header.php file to remove the relevant code (as I saw suggested in a forums post).

I changed this:

<div id="logo" class="left"><h1><a href="<?php  echo DIR_REL?>/"><?php  echo SITE?></a></h1></div>


To this:

<div id="logo" class="left"></div>


I have cleared my cache in my browser and cleared the concrete5 cache in the Dashboard.

And yet the link is still there in the site title on all pages. I'm at a loss. Can someone help me?

Thanks.

campbell
 
Steevb replied on at Permalink Best Answer Reply
Steevb
Hi,

What you've done would seem to right?

But should the code not look like this?

<div id="logo" class="left"><h1><?php  echo DIR_REL?>/"><?php  echo SITE?></h1></div>


The other thing is, is the path right to the header.php?

Just a thought?
campbell replied on at Permalink Reply
campbell
Hi, 55.

I did originally change the code to what you have listed, but the link in the header persisted, so I just wiped out all the text in that part of the code. It didn't seem to have any effect.

In fact, I think you're on to something asking about the path. I even removed that entire div id="logo" line, and the site title is still there, with the link.

I have no idea where the header is pulling the information from, though.


EDIT/UPDATE: Okay, so instead of going into the themes/simple_blue folder where I assumed the relevant files were, I discovered that the header.php file I needed to alter was in the packages directory... I managed to get everything working correctly. Thanks for the guidance!
Steevb replied on at Permalink Reply
Steevb
Just as I suspected Watson!

Paths can be strange things!

I'm sure you have two locations and sods law is you're calling the wrong one or the theme could be in the wrong place.

If you want to pm me the url I could have a look?

Steev
campbell replied on at Permalink Reply
campbell
Guess I updated right as you were posting. Thanks for the help!
Steevb replied on at Permalink Reply
Steevb
Good news,

Glad I could help.