Page 1 of 1

Please help with template- Solved

Posted: Mon Dec 24, 2007 10:22 am
by Sigal
Hi,

I'm new to cms and css and I am losing my hair trying to create a site :(

The first thing I'm trying to do is put some text under my header picture and move it a bit to the Right.

I use the template: CSSMenu top + 2 columns as my base template and making changes on it and on it's css stylesheets.

So my template header section looks like this:

{* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet  "For template: Left menu + 1 column" *}
   
           {cms_selflink dir="start" text="$sitename"}
   
   

   {* End Header *}

Freeware by VE2DBE

I added the tag in the css like this:

h7 {
   font-size: 1em;  /* font size for h1 */
   line-height: 1em;
  margin: 500px 500px 100em 0;
}
Trying to play with the margin values but it changes nothing in the page display.

All I want is to have the "freeware..." text under my header picture and a bit to the Right.

How do I do that?

Please, can someone help?

Thanks,
Sigal

Re: Please help with template

Posted: Mon Dec 24, 2007 11:13 am
by wietster
Hello,

Try putting the h7 tag in de main div


Wietster

Re: Please help with template

Posted: Mon Dec 24, 2007 11:43 am
by Sigal
Hi,

Ok, tried that:

div#content h7 {
  font-size: 1em;  /* font size for h1 */
  line-height: 1em;
  margin: 500px 500px 100em 0;
}

didn't help either.

Re: Please help with template

Posted: Mon Dec 24, 2007 11:54 am
by Sigal
Ok, I tired that, and it worked:

div#header h7 {
  font-size: 1em;
  line-height: 2em;
padding-left: 155px;
}

At last  :-X

Re: Please help with template

Posted: Mon Dec 24, 2007 5:39 pm
by Nullig
Please edit the topic on your first post in this thread to show [Solved].

Nullig

Re: Please help with template

Posted: Tue Dec 25, 2007 7:09 pm
by mike-r
What the Hell is "h7"?

Re: Please help with template

Posted: Wed Dec 26, 2007 3:46 pm
by Sigal
h7 is a tag that I created in css....

Re: Please help with template- Solved

Posted: Wed Dec 26, 2007 4:06 pm
by mike-r
you cannot create Tags/ Elements, possible is to create a .Class or an #ID

(Or use existing Elements like h6, h5 and so on)

Re: Please help with template- Solved

Posted: Wed Dec 26, 2007 4:10 pm
by Sigal
Well, as you can see in the css I sent I created a class called h7, and it worked fine.

Thanks

Re: Please help with template- Solved

Posted: Wed Jun 25, 2008 1:31 am
by mike-r
Better late as never:
Sigal wrote: Well, as you can see in the css I sent I created a class called h7, and it worked fine.
No, and No and No.
You don't have created a Class called h7, you have created a CSS-RULE for a non-existent Element. And that cannot never "works" fine.
Header-elements in HTML exists only from H1 to H6 never other - in html 0.x transitional to XHTML 1.1 Strict..