Page 1 of 1

Where to edit...?

Posted: Mon Apr 09, 2007 3:15 pm
by hes
Hi,

The fotter is displayed under the menu... and the copyright in the body. I can not find where to edit. Anybody?

http://norsk-stein.no/v2/no

--hans

Re: Where to edit...?

Posted: Mon Apr 09, 2007 3:47 pm
by RonnyK
Hans,

the text within the footer is probably coming from the Global Content Block called "footer". This canbe edited in "Content -> Global Content Block". The position of copyright,footer etc, is done in the template you're using. That is to be changed in "Layout -> Templates".

Ronny

Re: Where to edit...?

Posted: Mon Apr 09, 2007 4:00 pm
by hes
Thank you for quick reply.

The footer is in Global Content Block and contain only the text. In the layout I have tryed a lot, but I can't find the problem.

It seems like the footer position is wrong.

Here is the layout code...

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>

<!-- Type the title of your site here -->
<title>Norsk Stein AS - {title}</title>

{metadata}
{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

{global_content name='JavaScript for IE page width'}
</head>

</__body>

<div id="pagewrapper">
<div id="container">

    <!-- start accessibility skip links -->
    <ul class="accessibility">
      <li><a href="#menu_vert" accesskey="s" title="Skip to navigation">Skip to navigation</a></li>
      <li><a href="#main">Skip to content</a></li>
    </ul>
    <!-- end accessibility skip links -->

    <hr />


   <!-- Start Header, with logo image that links to the default start page -->
   <div id="header" class="clearfix">
           <h1>{cms_selflink dir="start"}</h1>
   <hr />
   </div>
   <!-- End Header -->


   <!-- Start Breadcrumbs -->
   <!-- ***** hes  <div class="breadcrumbs">
   {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
   <hr /> 
   </div> -->
   <!-- End Breadcrumbs -->


   <!-- Start Content (Navigation and Content columns) -->
   <div id="content" class="clearfix">

      <!-- Start Navigation -->
      <div id="menu_vert">
         <h2 class="accessibility">Navigation</h2>
         {cms_module module='menumanager' collapse='1'}
      <hr />
      </div>
      <!-- End Navigation -->


      <!-- Start Content Area -->
      <div id="main">
         <h2>{title}</h2>
         {content} <br />

         <!-- Start relational links -->
 <!-- ****	 <div class="hr"></div>
	 <div class="right49">
	 	<p><a href="#main">^ Top</a></p>
	 </div>
         <div class="left49">
            <p>{cms_selflink dir="previous"} <br />
            {cms_selflink dir="next"}</p>
         </div>  -->
	 <!-- End relational links -->

      <hr />
      </div>
	  <!-- End Content Area -->


   </div>
   
   <!-- End Content -->


   <!-- Start Footer -->
   <div id="footer" class="clearfix">
      {global_content name='footer'}
   </div>
   <!-- End Footer -->


</div><!-- end container -->
</div><!-- end pagewrapper -->


<__body>
</__html>

Re: Where to edit...?

Posted: Mon Apr 09, 2007 5:20 pm
by RonnyK
Hans,

wat do you exactly mean. I checked your site and the "footer" is displayed under the total area, so nothing wrong there (as far as I see), for copyright, I think that that normally goes in the footer. Did you mean footer or is "fotter" as you named it originally something else?

Ronny

Re: Where to edit...?

Posted: Mon Apr 09, 2007 6:00 pm
by hes
Ronny

Sorry bad spelling. I mean "footer". In short, the footer is displayed under the menu. It shall be at the bottom of the page. Can't find out why. As far as I can see the template is ok. Think it is som css trouble.

Hans

Re: Where to edit...?

Posted: Mon Apr 09, 2007 6:17 pm
by RonnyK
Hans,

the footer in your template is placed under the total width of the container "container", your container "container", is made with a "header", which is closed, then a container called "content", a container called "menu", which is closed, then a container called "main" which is closed, and then content is closed, getting you back in the container called "container", where footer is called and closed. Then the container "container" is closed and "pagewrapper".

Where do you want your footer placed, now it is in "container" and thus is completely having the widht of the header and the widht of the menu/content -block. If you want the footer styled differently you can style the "DIV#footer" in your attached CSS. Maybe you can post an image of the way you have it now, with an arrow where it has to go.....

Ronny

Re: Where to edit...?

Posted: Mon Apr 09, 2007 6:53 pm
by hes

Re: Where to edit...?

Posted: Mon Apr 09, 2007 7:01 pm
by RonnyK
Hans,

that was just to make sure, as I see the footer in the correct in both IE6 and FF.

Ronny

Re: Where to edit...?

Posted: Mon Apr 09, 2007 7:58 pm
by hes
Argh…. >:(  I use IE7. Checked in FF, and as you say…ok. Do you/anybody know if there is a IE7 fix…?

hans

EDIT Solution  ;D  http://forum.cmsmadesimple.org/index.php/topic,9341.0.html

Thank you for the IE7 problem tip!  :)

hans