Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / can I put a margin or border just on the right side of the shop

can I put a margin or border just on the right side of the shop

Locked

Started by touchclothing on 3 Apr 2007, 8:56 PM · Views: 1,168

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
3 Apr 2007, 8:56 PM
#1
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Post #1 by touchclothing

If you look at the main site here http://www.orange20bikes.com/ you will see it has the yellow strip going down the right side now I need to do that in the shop http://orange20bikes.com/bikeshop/ can this be done?

3 Apr 2007, 10:17 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,761
Plugin Contributions:
0

Post #2 by Kim

Yes add it to #mainWrapper

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Apr 2007, 11:30 PM
#3
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Post #3 by touchclothing

I did add it to the #mainWrapper but it made it around the whole shop and I just want it on the right side

this what i added
#mainWrapper {
background-color: #FFFED8;
text-align: left;
width: 920px;
vertical-align: top;
border: 1px solid #9a9a9a; _____________ I added this is this not right

4 Apr 2007, 12:40 AM
#4
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #4 by rstevenson

You need to define the borders for the 4 sides separately. You can use 4 numbers in a row, the sides being (in order) top, right, bottom, left, like so...

border: 0 1px 0 0 solid #9a9a9a;

You don't need to use a unit of measurement if the value is zero.

HTH

Rob

Breakfast: the most important donut of the day.

4 Apr 2007, 12:49 AM
#5
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Post #5 by touchclothing

I guess I dont get it so what would it look like for the right side. Then maybe it will make sense to me. and what does it look like added to the css

4 Apr 2007, 12:54 AM
#6
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Post #6 by touchclothing

this is what I added but it does nothing

#mainWrapper {
background-color: #FFFED8;
text-align: left;
width: 920px;
vertical-align: top;
border: 2 10px 0 0 solid #9a9a9a;
}

4 Apr 2007, 8:01 PM
#7
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Post #7 by touchclothing

I dont really understand this can some one please help me out?

4 Apr 2007, 8:36 PM
#8
ghostrider2110 avatar

ghostrider2110

New Zenner

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

Post #8 by ghostrider2110

Try this:
#mainWrapper {
background-color: #FFFED8;
text-align: left;
width: 920px;
vertical-align: top;
border-right: 6px solid #fff804;
border-bottom: 12px solid #fff804;
}

What you have is border side, witdh of border, type and then color....
That should give you the border on the right and the one that is on the bottom of the page you gave as an example.

Hope that helps..

--Mitch

Mitchell Baker
CoffeeCup Software Ambassador
Get 20% Off CoffeeCup Web Design Software
Use this code when you checkout: 226STS

https://www.getcoffeecup.com

4 Apr 2007, 8:39 PM
#9
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Post #9 by touchclothing

Thank you so much

5 Apr 2007, 12:35 PM
#10
ghostrider2110 avatar

ghostrider2110

New Zenner

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

Post #10 by ghostrider2110

Tell you my secret... Firefox with Web Developer (just started useing it and it may replace CSSViewer) Firebug and a couple other like PHPebugger and CSS/HTML validator. These have helped me tremendously in finding the little things wrong with a layout.

--Mitch

Mitchell Baker
CoffeeCup Software Ambassador
Get 20% Off CoffeeCup Web Design Software
Use this code when you checkout: 226STS

https://www.getcoffeecup.com