title problems (SOLVED)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

title problems (SOLVED)

Post by maryjane »

Thanks for all of your help so far.  I am slowly but surely learning about all of this.

I am trying to design a site that is very clean and simple. I put a global title in my template but I cannot get rid of the home page and site name that come up automatically. I have tried to style the header to get the sitename to look like the global title but it doesn't change. Can you help me?
My site is maryjaneparkerart.com/cmsms.

Here is my template so far:



{* Change lang="en" to the language of your site *}

{title}-{sitename}
{global_content name='Title'}
{stylesheet}



{menu number_of_levels="1" template="minimal_menu.tpl"}
home





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

{content}



Last edited by maryjane on Tue Dec 21, 2010 10:00 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: title problems

Post by Jos »

Your tag is at the wrong spot and a tag is missing.

Try this:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>{title}-{sitename}</title>

{stylesheet}
</head>
</__body>

{global_content name='Title'}

<div id="navcontainer">
{menu number_of_levels="1" template="minimal_menu.tpl"}
</div> <!-- end navcontainer -->

<div id="header">
  <h1>{cms_selflink dir="start" text="$sitename"}</h1>
</div> <!-- end header -->

<hr class="accessibility" />

{content}

<__body>

</__html>
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

Re: title problems

Post by maryjane »

Thanks, I pasted the code exactly as you had it and it got rid of the "home" title but it cannot get rid of the underlined site name.
uniqu3

Re: title problems

Post by uniqu3 »

This outputs your underlined sitename
{cms_selflink dir="start" text="$sitename"}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: title problems

Post by Dr.CSS »

This is where a link to the site would help, underline links is a default behavior of browsers, you need css to change that, I most times use a default template and change what I need to build sites, actually I have an older default install, 1.5.4, I export them from for starters, no comments in template or style sheets...

If you go to layout > templates and hit new template it gives a pretty good start on a template adding all the basic tags, then you have to make a style sheet for it etc...
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

Re: title problems

Post by maryjane »

great, thanks. I'll try that.
MJ
Post Reply

Return to “Layout and Design (CSS & HTML)”