Jump to content

Make a Welcome box in Killer


Guest

Recommended Posts

Hi

In Killer skin I want to make a Welcome box like this and place it above the Shopping Cart Box

box.jpg

I have tried the recomended fixes, but cant`t get them to work and need help.

Best regards

Nils

Link to comment
Share on other sites

This should do it. Add this code to yourKiller/styleTemplates/global/index.tpl above {SHOPPING_CART} don't forget to remove the old sessionbox info or you'll duplicate it.

<div class="boxTitleRight">Velkommen</div>

<div class="boxContentLeft">

<div id="sessionBox">

<div style="padding: 0px 5px 0px 5px; margin: 0px;">

<border="0" >

</div>

<div class="boxFootRight">&nbsp;</div>

You can change <border="0"> to whatever you like but the default "0" gives a nice fine line border.

Link to comment
Share on other sites

Hi Roban

Thanx for helping out, but I cant get it to work :w00t:

Here is my site: bonsaibutikken.no

and here is the code:

<!-- BEGIN: body -->

<!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">

<head>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<title>{META_TITLE}</title>

<meta name="description" content="{META_DESC}" />

<meta name="keywords" content="{META_KEYWORDS}" />



<link href="skins/{VAL_SKIN}/styleSheets/layout.css" rel="stylesheet" type="text/css" />

<link href="skins/{VAL_SKIN}/styleSheets/style.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="js/jslibrary.js" type="text/javascript"></script>

</head>



<body>

<div id="pageSurround">



	

  <div id="topHeader">

 	 {SEARCH_FORM}

    {SESSION}

    </div>

 	 </div>

  </div>

  

  

  <div id="subSurround">

  

  {CATEGORIES}

  <table border="0" cellspacing="0" width="100%" cellpadding="0">

    <tr valign="top">

 	 <td width="175">

<div class="boxTitleRight">Velkommen</div>

<div class="boxContentLeft">

<div id="sessionBox">

<div style="padding: 0px 5px 0px 5px; margin: 0px;">

<border="0" >

</div>

<div class="boxFootRight">&nbsp;</div>

       {SHOPPING_CART}  

    {INFORMATION}

<div class="boxTitleLeft">Samarbeidspartnere</div>

<div class="boxContentLeft">

<center><a href='http://www.bonsai-auction.com' target='_blank'>

<img src="http://www.bonsaibutikken.no/images/uploads/bonsaiauction.gif" width="120" height="126"  border="0" ></a><br><br>

<a href='http://www.2checkout.com' target='_blank'><img src='images/uploads/13.jpg' border='0'></a><br><br>

<a href='http://www.bonsaibutikken.no/index.php?act=viewDoc&docId=2' target='_blank'>

<img src="http://www.bonsaibutikken.no/images/uploads/eget-banner.gif" width="120" height="42"  border="0" ></a><br><br>

<a href='http://www.norshopper.no' target='_blank'>

<img src='http://www.norshopper.no/nslenker/img/anbefalt.gif' width='120' height='42' border='0' hspace='2' vspace='0'></a>

</div>

<div class="boxFootLeft">&nbsp;</div>	

    

    </td>

 	 <td style="padding: 0px 5px 0px 5px;">{PAGE_CONTENT}</td>

 	 <td width="175">

   	 {RANDOM_PROD}

   	 {POPULAR_PRODUCTS}

   	 {SALE_ITEMS}

   	 {MAIL_LIST}

{CURRENCY}

 	 </td>

    </tr>

  </table>



	

	

	</div>

	{SITE_DOCS}

	

	

</div>



</body>

</html>

<!-- END: body -->

Best regards

Nils

Link to comment
Share on other sites

You have a lot of problems in there, in the opening & closing of divisions, table cells, etc. and applying the sessionBox style to your new box is what's causing the gray areas . . .

I'm still working on cleaning everything up.

I think I'll upload the index.tpl to http://allservico.com/skinTest/ when I'm done editing, into the Killer skin, to test results before I send you the code :w00t:

@ Roban, the code you posted would not work. You're opening five divisions and closing only three. Also, you haven't placed either {SEARCH_FORM} or {SESSIONS} into the box, but you've introduced the "sessionBox" id selector, which is not needed since this box must be formatted like boxContentLeft rather than sessionBox . . .

But I know you're intentions were good as gold :)

Link to comment
Share on other sites

Here you go:

Note to others: This file is specific to tcbhaagan's site. Do not copy entire file. Changes for sessions box shown in red.

<!-- BEGIN: body -->

<!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">

<head>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<title>{META_TITLE}</title>

<meta name="description" content="{META_DESC}" />

<meta name="keywords" content="{META_KEYWORDS}" />

<link href="skins/{VAL_SKIN}/styleSheets/layout.css" rel="stylesheet" type="text/css" />

<link href="skins/{VAL_SKIN}/styleSheets/style.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="js/jslibrary.js" type="text/javascript"></script>

</head>

<body>

<div id="pageSurround">

<div id="topHeader"<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p></div>

<div id="subSurround">

{CATEGORIES}

<table border="0" cellspacing="0" width="100%" cellpadding="0">

 <tr valign="top">

 <td width="175">

 <div>

<div class="boxTitleLeft">Velkommen</div>

<div class="boxContentLeft">

{SESSION}

<p>

{SEARCH_FORM}</p>

</div>

<div class="boxFootRight">&nbsp;</div>

</div>

 {SHOPPING_CART}  

 {INFORMATION}

 <div>

   <div class="boxTitleLeft">Samarbeidspartnere</div>

   <div class="boxContentLeft">

   <center><a href='http://www.bonsai-auction.com' target='_blank'>

   <img src="http://www.bonsaibutikken.no/images/uploads/bonsaiauction.gif" width="120" height="126"  border="0" ></a><br><br>

   <a href='http://www.2checkout.com' target='_blank'>

   <img src='images/uploads/13.jpg' border='0'></a><br><br>

   <a href='http://www.bonsaibutikken.no/index.php?act=viewDoc&docId=2' target='_blank'>

   <img src="http://www.bonsaibutikken.no/images/uploads/eget-banner.gif" width="120" height="42"  border="0" ></a><br><br>

   <a href='http://www.norshopper.no' target='_blank'>

   <img src='http://www.norshopper.no/nslenker/img/anbefalt.gif' width='120' height='42' border='0' hspace='2' vspace='0'></a>

   </div>

   <div class="boxFootLeft">&nbsp;</div>

   </div>

 </td>

 <td style="padding: 0px 5px 0px 5px;">{PAGE_CONTENT}</td>

 <td width="175">

   {RANDOM_PROD}

   {POPULAR_PRODUCTS}

   {SALE_ITEMS}

   {MAIL_LIST}

   {CURRENCY}

 </td>

 </tr>

</table>

</div>

{SITE_DOCS}

</div>

</body>

</html>

<!-- END: body -->

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...