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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

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

Post 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
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

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

Post 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"}
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

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

Post by burlington »

Found it.

Thank you
Post Reply

Return to “CMSMS Core”