Jump to content


[template] 'Spring' by WebbyMom


  • You cannot reply to this topic
9 replies to this topic

#1 WebbyMom

    Etomite Forum Fan

  • Member
  • Pip
  • 112 posts

Posted 12 July 2004 - 06:59 PM

I have a finished template for Phase! (ver. 0.5.3) I've tried to comment it to give some help.

I use basically this template on my site. However, I've changed a few things for the sake of standardizing it - like, you won't get all the cool graphics included that I have. ;) Also, I've coloured the header and footer - but I find that it will probably look nicer if the background colour is just white (or #ffffff) for those areas, and you can add in your own header graphics, etc. (Note - if you change the background color to white, remember to change the text colour to something readable, as it's white right now! LOL)

1) This is a CSS layout, generated online at www.csscreator.com. I have tested it in IE6.0 and Moz Firefox, and it works fine in both. Have not had it tested on a Mac, so no guarantees there.

2) This template uses the following snippets, found here on the forums:
[list]PoweredBy
PageTrail
MainSubMenu
[list]
So remember to copy them out and create them before expecting your site to work with this template. ;)

3) I haven't checked for W3C validation, but the DOCTYPE is for HTML 4.1 Transitional Loose. Just something to remember when adding your own stuff. ;)

Let me know if you have something totally screw up, but I did test it on a page on my site, and it worked well, so I think it should be OK. :D

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
<html>
<head>
<title>[(site_name)] - [*pagetitle*]</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<!-- "Spring" template for PhaseCMS v0.5.3 created by Coleen Hein (aka WebbyMom) July 2004 -->

<!-- <link  rel="stylesheet" href="styles.css" type="text/css" /> -->
<!-- once your styles are set, put the following styles into an external file and link as per example above -->

<style type="text/css">
html, body { 
 margin:0; 
 padding:0; 
 font: 0.9em verdana, sans-serif; 
 color: #000000;
 } 

a:link {color: #696;} /* drk green */
a:visited {color: #c9f;} /* mauve */
a:hover {background-color: #c9f; color: #fff;} /* mauve bg */
a:visited:hover {background-color: #c9f; color: #fff;}
a:hover.nohover { background-color: #fff; }

h1 {color: #c9f;} /* mauve */
h2 {color: #9c0;} /* lite green */
h3 {color: #696;} /* drk green */
h4 {color: #000;} /* black */

.parahdg { padding-top: 8px; } /* padding for paragraph heading images */
.bold {font-weight: bold;}
.indent { margin-left: 2em; margin-top: -15px; padding-top: 0; }
.tab {margin-left: 2em;}

#pagewidth { 
 width:100%; 
 min-width: 500px; 
} 

#header { 
 height:70px;  /* change this height to suit */
 padding-top: 10px;
 padding-left: 150px; 
 padding-bottom: 5px;
 width:80%; 
 background-color:#fff;

 /* take the font and colour styles out if you use an image instead in the hdr */ 
 font: bold 45px verdana, arial, sans-serif;  
 color: #696;
 } 

#leftcol {
 width:150px; 
 float:left; 
 position:relative; 
 margin-left:-150px; 
 margin-right:2px;
 background-color: #fff; 
 border-right: 2px solid #696;
 border-bottom: 2px solid #696;
 }

#leftcol img {
 margin: 0 0 10px 0;
 padding: 0;
}

#outer{ 
 border:solid white 0px; 

  /*/*/ border-left-width: 150px;  /* left column width. NN4 hack to hide borders */ 
border-left-color: #fff;   /* left column colour */ 
border-left-style: solid; 
background-color: #fff; /* center column colour */ 
width: auto; 

 } 

#footer {
 height:50px; /* change this height to suit */
 width:100%; 
 font-style: italic; 
 font-weight: bold;
 background-color: #c9f;
 color: #fff;
} 

#inner {margin:0; width:100%;}

#maincol{ 
 float: left; 
 width: 90%; 
 position: relative; 
 margin: 0 -8px 0 -2px; 
 background-color: #fff; 
 }

#outer>#inner { border-bottom: 1px solid #fff;  }

.clr {clear:both;}

.content {padding:10px;} /*padding for content */ 

#pagetrail {  
 padding: 3px 5px 3px 0;
 font-size: 85%;
 font-style: italic;
 text-align: right; 
 background-color: #9c0; color: #fff;
 width: 100%; 
}

#pagetrail a:link {
 color: #fff;
}

#pagetrail a:hover {
 background-color: #c9f;
 color: #fff;
}

#pagetrail a:visited {
 color: #000;
}

/* Menu Styles */

#mainsubmenu { 
   margin: 0; 
   padding: 0; 
   list-style: none; 
   width: 95%;
} 

.navig a {
   display: block;
   text-decoration: none;
   margin: 0; padding: 1px 6px 1px 3px;
}

.navig a:hover {
   color: #000;
   background-color: #eedeff; /* light mauve */
   border-right: 4px solid #c9f;
   padding-right: 3px;
}

#mainsubmenu li ul { 
   margin: 0 0 0 1em; 
   padding: 0; 
   list-style: none;
} 

#mainsubmenu li ul li ul { 
   margin: 0 0 0 1em; 
   padding: 0; 
   list-style: none; 
} 

#mainsubmenu_active {/* --- style for the current page --- */ 
     font-weight: bold; 
     font-style: italic; 
} 

#submenu { 
display: inline; 
}


#header .content{padding-bottom:0;} /*padding bottom 0 to remove space in IE5 Mac*/ 

 /*printer styles*/ 
@media print{ 
/*hide the left column when printing*/
#leftcol{display:none;} 
#outer{border-left:0;} 
}
</style>
</head>
<body>

 <!-- Generated at www.csscreator.com -->

<div id="pagewidth" >
 <div id="header" >
  <a href="index.php" class="nohover">[(site_name)]</a> <!-- Replace with site logo image or header image -->
 </div>

<div id="outer" >
 <div id="inner">

  <div id="leftcol" >
  <div class="navig">	
  <div class="content"><p>Main Menu</p>[[MainSubMenu]]</div></div>  <!-- replace paragraph with image if you like -->
 </div>

<div id="maincol" >
<div id="pagetrail">[[PageTrail]]</div>
 <div class="content">[*content*]</div><!-- end div class content -->
</div><!-- end div class maincol -->

 <div class="clr"></div>
 <!-- close inner and outer -->
 </div>
 </div>

<div id="footer" >
 <div class="content">&copy; Your name, 2004.  All rights reserved.<br />
   <div>[[PoweredBy]]</div>
 </div>
</div>
	<div class="clr"></div>
</div>
</body>
</html>
Enjoy!

#2 codemonkeypete

    Likes Etomite Forums!

  • Member
  • PipPip
  • 170 posts

Posted 13 July 2004 - 12:46 AM

Webbymom wrote:

Quote

Have not had it tested on a Mac, so no guarantees there.
tested in IE5.2 on OSX (Puma) and Safari(Under Classic). Both render without problems. :D

#3 c@csvp

    Etomite Forum Newbie

  • Member
  • 5 posts

Posted 25 April 2005 - 03:45 AM

Looks nice - I noticed though with "Large" or "Larger" font size in IE 6, the content pane appears below the menu bar.

#4 Jojo-05

    Etomite Forum Newbie

  • Member
  • 3 posts

Posted 10 July 2005 - 01:59 PM

Where can i find the snippet "MainSubMenu"?

#5 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 10 July 2005 - 02:27 PM

This was originally intended for Phase 053, so it may have been one of those snippets - you will need to replace the snippet call with a new up to date one :D

#6 amc

    Etomite Forum Newbie

  • Member
  • 25 posts

Posted 28 January 2006 - 12:12 PM

Jojo-05, on Jul 10 2005, 11:59 PM, said:

Where can i find the snippet "MainSubMenu"?

Ah, sweet nostalgia! :P I wrote MainSubMenu back in the days of Phase 0.5.x Good to see it's surviving in a template still, even if it's a little useless now.

I would recommend the ListMenu snippet now included (I think) with the default installation. It's very similar.

#7 cathode

    Loves Etomite Forums!

  • Staff
  • 648 posts
  • Gender:Male

Posted 06 February 2006 - 11:31 PM

When posting templates, please post a link to view it and/or screenshot.

We appreciate it :)

#8 yoleonard

    Etomite Forum Newbie

  • Member
  • 5 posts

Posted 07 March 2006 - 04:17 AM

I'm guessing this is the template she's talking about: http://pghea.com/

#9 jwdepee

    Etomite Forum Newbie

  • Member
  • 1 posts

Posted 20 March 2006 - 06:58 AM

It is almost spring over there! :betterwink:

#10 WebbyMom

    Etomite Forum Fan

  • Member
  • Pip
  • 112 posts

Posted 30 May 2006 - 04:25 PM

Thanks, yoleonard, that is indeed the site. B) I posted that two years ago, so yes, it's a little outdated although the site is still running just fine and is now under the administration of another gal in our support group. :D

Sorry about the 'no screenshot' thing, as well. :( I goofed. If I post anymore up-to-date templates, I'll be sure to include a shot. :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users