Zen Cart Logo

Site Borders

Locked

Views: 1,867

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
10 Oct 2006, 12:36 PM
#1
pettiger15 avatar

pettiger15

Zen Follower

Join Date:
Oct 2006
Posts:
97
Plugin Contributions:
0

Site Borders

How do i change the height of the lower main bar, as you can see, the lower one has half a bamboo border and so does the footer bar, and would like to remove it. Another question is how to i make the "New products for october" bar a different border than the rest. Thank you here is my site
http://www.thebonsaimarket.com/store

10 Oct 2006, 12:52 PM
#2
clydejones avatar

clydejones

Deceased

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

Re: Site Borders

Try changing the highlighted portion of this declaration in your stylesheet:

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_main.jpg) repeat-x;
    padding: 0.5em 0.2em;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 750px;
	}
10 Oct 2006, 12:57 PM
#3
pettiger15 avatar

pettiger15

Zen Follower

Join Date:
Oct 2006
Posts:
97
Plugin Contributions:
0

Re: Site Borders

and do what to it?, I just want to make the height less so the half bamboo won't show.

10 Oct 2006, 1:15 PM
#4
clydejones avatar

clydejones

Deceased

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

Re: Site Borders

For the second part of your question...

You have two choices depending on whether you want an image or just a background color.

(one)
Using your image editing software create your new image and save it to:
includes -> templates -> YOUR_TEMPLATE -> images -> your_image.???
upload the image to your server.
Now in your stylesheet.css make the following changes.
Find the following code:

.leftBoxHeading, .centerBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_back.jpg);
    padding: 0.5em 0.2em;
	}

create two declarations as follows:

.leftBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_back.jpg);
    padding: 0.5em 0.2em;
	}
.centerBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/your_image.???) repeat-x;
    padding: 0.5em 0.2em;
	}

Save the changes and upload to your server.

(two)
in your stylesheet.css make the following changes.
Find the following code:

.leftBoxHeading, .centerBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_back.jpg);
    padding: 0.5em 0.2em;
	}

create two declarations as follows:

.leftBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_back.jpg);
    padding: 0.5em 0.2em;
	}
.centerBoxHeading {
	margin: 0em;
	background-color: #abbbd3; /*Change this to whatever color you want */
    padding: 0.5em 0.2em;
	}

Save the changes and upload to your server.

10 Oct 2006, 1:19 PM
#5
clydejones avatar

clydejones

Deceased

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

Re: Site Borders

pettiger15:

and do what to it?, I just want to make the height less so the half bamboo won't show.

save the changes and upload to your server.

What you've done is tell the background image to repeat itself horizontialy across the area.

The way you have it now it is repeating itself across and down the area.

10 Oct 2006, 7:32 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,777
Plugin Contributions:
11

Re: Site Borders

Pettiger,
On line 239 of your stylesheet, you need to tell it either 3em or 3px whichever it should be.
On line 287, you need a ; at the end.

That AND clydejones earlier repeat-x suggestion > Try changing the highlighted portion of this declaration in your stylesheet:

Code:

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
margin: 0em;
background-color: #abbbd3;
background-image: url(../images/tile_main.jpg) repeat-x;
padding: 0.5em 0.2em;
font-weight: bold;
color: #ffffff;
height: 1%;
width: 750px;
}

10 Oct 2006, 9:37 PM
#7
pettiger15 avatar

pettiger15

Zen Follower

Join Date:
Oct 2006
Posts:
97
Plugin Contributions:
0

Re: Site Borders

I added the "repeat-x;" after

background-image: url(../images/tile_main.jpg)
#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_main.jpg) repeat-x; 
    padding: 0.5em 0.2em;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 750px;
	}

but then the border just dissapears.

10 Oct 2006, 9:46 PM
#8
pettiger15 avatar

pettiger15

Zen Follower

Join Date:
Oct 2006
Posts:
97
Plugin Contributions:
0

Re: Site Borders

Never mind the last post i got it. Instead of

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #abbbd3;
    background-image: url(../images/tile_main.jpg) repeat-x;
    padding: 0.5em 0.2em;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 750px;
	}

and have the "repeat-x; after the image directory, you had to make a new line stating

background-repeat: repeat-x;

Thanks it working great now.