Please help with template- 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"
Locked
Sigal

Please help with template- Solved

Post 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
Last edited by Sigal on Wed Dec 26, 2007 3:49 pm, edited 1 time in total.
wietster
Forum Members
Forum Members
Posts: 35
Joined: Thu Dec 20, 2007 6:27 pm

Re: Please help with template

Post by wietster »

Hello,

Try putting the h7 tag in de main div


Wietster
Sigal

Re: Please help with template

Post 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.
Sigal

Re: Please help with template

Post by Sigal »

Ok, I tired that, and it worked:

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

At last  :-X
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Please help with template

Post by Nullig »

Please edit the topic on your first post in this thread to show [Solved].

Nullig
mike-r

Re: Please help with template

Post by mike-r »

What the Hell is "h7"?
Sigal

Re: Please help with template

Post by Sigal »

h7 is a tag that I created in css....
mike-r

Re: Please help with template- Solved

Post 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)
Last edited by mike-r on Wed Dec 26, 2007 4:09 pm, edited 1 time in total.
Sigal

Re: Please help with template- Solved

Post by Sigal »

Well, as you can see in the css I sent I created a class called h7, and it worked fine.

Thanks
mike-r

Re: Please help with template- Solved

Post 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..
Last edited by mike-r on Wed Jun 25, 2008 1:34 am, edited 1 time in total.
Locked

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