Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Building a new site... need help!

Building a new site... need help!

Locked

Views: 1,607

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
5 Feb 2008, 6:09 AM
#1
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Building a new site... need help!

I've got a site theme in mind, and I need some help getting it all together.
The site I'm building for a friend is http://www.binkyblanky.com
It's going to sell custom baby blankets...

Here's what I want it to look like.

I guess we should start with the purple border around the entire site, and the image at the footer. I'm pretty sure I can figure out everything else...

Thank you!

5 Feb 2008, 7:25 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Building a new site... need help!

canemasters:

I've got a site theme in mind, and I need some help getting it all together.
The site I'm building for a friend is http://www.binkyblanky.com
It's going to sell custom baby blankets...

Here's what I want it to look like.

I guess we should start with the purple border around the entire site, and the image at the footer. I'm pretty sure I can figure out everything else...

Thank you!

for the border, add the following highlighted portion to this declaration in your stylesheet.css

#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 900px;
vertical-align: top;
border: 3px solid #B28AA5;

}

The footer is a bit more complicated and requires adding a declaration to your stylesheet.css and editing includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

add the following declaration to your stylesheet.css

#footerWrapper {
background: url(../images/Your_Image.jpg);
}

Now open includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

find the following line of code

<!--eof-navigation display -->

add the following just below
<div id="footerWrapper">

Now go all the way to the bottom and immediately after the last

?>
add
</div>

save the file and upload to your server

5 Feb 2008, 8:22 AM
#3
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Building a new site... need help!

Thank you!!! :clap:

I swear I'm going to learn all of this one day!

one more itty bitty thing... how hard would it be to put a 3px wide white padding on the outside of the purple border to seperate it from all of the bubbles in the background? You can see what I'm talking about in that picture. Thank you again!

5 Feb 2008, 2:07 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Building a new site... need help!

canemasters:

Thank you!!! :clap:

I swear I'm going to learn all of this one day!

one more itty bitty thing... how hard would it be to put a 3px wide white padding on the outside of the purple border to seperate it from all of the bubbles in the background? You can see what I'm talking about in that picture. Thank you again!

You could try editing
includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php

so that you place an "outer wrapper" <div> around the page.

First find the mainWrapper line of code and immediately above it add the highlighted portion as shown.

<div id="outerWrapper">

<div id="mainWrapper">

Now find the following line of code and add the closing </div> as shown

</div>

<!--bof- parse time display -->

Save the file and upload to your server.

Add the following declaration to your stylesheet.css

#outerWrapper {
margin: auto;
paddidng: 3px;
background: #fff;
width: 903px;
}

Save the file and upload to your server

5 Feb 2008, 4:44 PM
#5
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Building a new site... need help!

I'm learning a lot from this that I didn't before. Notice how I figured out how to place those stripes below my header from what you showed me on the footer??

Thank you! I'll give this a shot.

(I wish there was a diagram of what php file controled what aspect on the live page!)

5 Feb 2008, 9:44 PM
#6
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Building a new site... need help!

worked great! only, I had to change it to 806px, not 803px... needed 3px on each side.

But still, it worked.

Thank you.

6 Feb 2008, 12:20 AM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Building a new site... need help!

canemasters:

worked great! only, I had to change it to 806px, not 803px... needed 3px on each side.

But still, it worked.

Thank you.

Glad to help.