X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Header on Storefront Design (https://forum.x-cart.com/showthread.php?t=37079)

DezineJunkie 01-27-2008 11:01 AM

Header on Storefront Design
 
I want to place a header on my page for placement at this point.
Is this the correct code to use and would this go on the header.tpl page or the css page or ?. ( of course i will add an image to my images folder)

</style>
</head>

<body>
<div align="center"> </div>
<div align="center"><a href="http://www.mysite.com"><img src="images/HomePageHeader.jpg" alt="My Site - yada yada " width="900" height="200" border="0"></a></div>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>

balinor 01-27-2008 11:57 AM

Re: Header on Storefront Design
 
skin1/head.tpl

DezineJunkie 01-27-2008 12:07 PM

Re: Header on Storefront Design
 
Quote:

Originally Posted by balinor
skin1/head.tpl


thank you- WOW it actually worked- and i can see i finnally posted in the correct section!

DezineJunkie 01-27-2008 12:10 PM

Re: Header on Storefront Design
 
Quote:

Originally Posted by DezineJunkie
thank you- WOW it actually worked- and i can see i finnally posted in the correct section!


now how do i bump it up a bit about 2 or 3 picas or 1/4"
what method of code to bump up to top of page in that direction

balinor 01-27-2008 05:40 PM

Re: Header on Storefront Design
 
Check your css to see if there is a top margin set for the body style. If there is, remove it.

DezineJunkie 01-27-2008 06:14 PM

Re: Header on Storefront Design
 
That is what i found i take it u men HTML,BODY Margin?
}
HTML,BODY {
HEIGHT: 100%;
MARGIN: 0px;
PADDING: 0px;
BACKGROUND-COLOR: #fffafo;
}


}FORM {
MARGIN: 0px;
}
TABLE,IMG {
BORDER: 0px;
}

/*
Content enviroment styles
*/
TABLE.Container {
HEIGHT: 100%;
WIDTH: 90%;
margin-right: 5%;
margin-left: 5%;
BACKGROUNG-COLOR: #ffffff

}
TD.Container {
VERTICAL-ALIGN: top;

}

/*
Header styles
*/
.HeadLogo {
PADDING-LEFT: 10px;
TEXT-ALIGN: center;
}
.HeadRightBox {
VERTICAL-ALIGN: top;
TEXT-ALIGN: right;
}
.HeadText {
FONT-SIZE: 12px;
FONT-WEIGHT: bold;
}
.HeadLine {
BACKGROUND-COLOR: #FFFFFF;
}
.HeadThinLine {
BACKGROUND-COLOR: #FFFFFF;
HEIGHT: 1px;
}
.PrintableRow {
WIDTH: 100%;
VERTICAL-ALIGN: middle;
PADDING-RIGHT: 176px;
HEIGHT: 18px;
}
.HeadTopPad {
HEIGHT: 18px;
}
.HeadTopPad IMG {
WIDTH: 1px;
HEIGHT: 18px;
}


All times are GMT -8. The time now is 10:35 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.