Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

vertical centering of the shop?


wenim

Recommended Posts

Posted

Hi community,

 

I am struggling around with adding some extra space above the header and below the footer so that the Background could be seen there. Or lets say a kind of vertical centering the shop.

 

I have tried it with including a br/> in header.php, but this does not work because the modified code “streches” only the header. (Header is white background is black)

 

br />
<?php
/*
$Id: header.php 1739 2007-12-20 00:52:16Z hpdl $

osCommerce, Open Source E-Commerce Solutions
[url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

// check if the 'install' directory exists, and warn of its existence
if (WARN_INSTALL_EXISTENCE == 'true') {
if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
}

 

 

Does somebody have any ideas?

Posted

you want the stylesheet.css look for margin and adjust it.

the larger the margin figure the more of a space there will be

Regards

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
you want the stylesheet.css look for margin and adjust it.

the larger the margin figure the more of a space there will be

Regards

 

Many thanks,

Could you please specify which margins. eg. header?

Archived

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

×
×
  • Create New...