Page 1 of 1

Unwanted a href link in header- how can I remove?

Posted: Fri Jul 15, 2011 7:40 am
by burlington
I don't know if this is a newish CMSMS development but using a template in CMSMS 1.9.4.2 there is an automatic link back to the site's Home page embedded within the Header.

If I 'inspect element' in the browser, I see the link in the 'Header' Div:
<a href="http://www.****.co.uk/"title="Home">****</a>

However, if I go to the Styesheets, the Header Div reads:
<quote>
div#header {
/* adjust according your image size */
height: 100px;
margin: 0;
padding: 0;
/* you can set your own image here, will go behind h1 a image */
background: #f4f4f4 url(http://www.****.co.uk/originalheader2.jpg) repeat-x left top;
/* border just the bottom */
border-bottom: 1px solid #D9E2E6;
}
</quote>

I want to be able to change this link to something else or indeed delete it altogether BUT I can't find it anywhere in either the template or the stylesheets being used.

Can anyone tell me where I can find this control please.

Thank you

Martin

Re: Unwanted a href link in header- how can I remove?

Posted: Fri Jul 15, 2011 8:27 am
by Jos
You need to look in your page template. It's this line of code that is responsible for the link:

Code: Select all

{cms_selflink dir="start" text="$sitename"}

Re: Unwanted a href link in header- how can I remove?

Posted: Fri Jul 15, 2011 9:08 am
by burlington
Found it.

Thank you