Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Header to headerless boxes


Elrahc

Recommended Posts

Posted

Hey all

 

Thanks for a great support thus far guys, this is a really nice community :thumbsup:

 

Now, to the point of this post. I'm always flabberghasted when it comes to tables, but this once more so. I've been trying and failing. Here's what I would like to do.

 

If you click this link you'll see the login page of our upcoming webshop. What I'd like to do is to add the header from the info boxes to the New Customer and the Returning Customer "boxes", to tie the theme in nicely.

 

I'm so confused about how to put the table header in there though - when I've tried it ended up with the "Continue" and "Sign in" buttons being pushed down inside the boxes in a way that hides half the button. The border of the box itself would also just disappear at the bottom.

 

I'd appreciate some feedback on how to do this since I have many of these pages to do the same with.

 

Thank you for reading, have a great day/night :)

 

Sincerely,

Elrahc

Posted

Fiddle with these lines in your catalog/stylesheet.css

 

TD.main {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

line-height: 1.5;

}

Posted

I've tried modifying it with adding information that's from

 

TD.headerNavigation {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

background-image: url(images/infobox/tkingbar_top.gif);

background-repeat: repeat-x;

color: #ffffff;

font-weight : bold;

height: 24px;

}

 

but it's not turning out very nice. Anyone have anything more specific? I need to put the header in touch with the boxes, like all the other infoboxes - I don't want a gap between the header and the box as it is now:

http://thewell.ws/catalog/login.php?osCsid...cde14fb96188423

 

Thanks for the tip though, but I think something in the login.php has to be changed to achieve this - but I don't have the wits to piece it together. If someone does I'd appreciate the help =)

 

Elrahc

Posted
Thanks for the tip though, but I think something in the login.php has to be changed to achieve this - but I don't have the wits to piece it together. If someone does I'd appreciate the help =)

 

Elrahc

Try locating the following in your login.php page. I think it's the main one, not the includes/languages/english one.

		<td class="smallText"><?php echo TEXT_VISITORS_CART; ?></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
<?php
 }
?>
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
	  <tr>
		<td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td>
		<td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td>

 

I think if you remove the

	  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>

part of that, it should bump the create/log-in boxes up to the header. There are indents in that, but they just don't wanna show here.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...