| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Border Around Entire Website | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to add a border around my entire Website virtually identical to the Xcart Forum here. I want to add different color to the outside of border together with a seperate color border line.
Any ideas, anyone!!! ![]() Thanks and happy xcarting!!!!! PeterB |
|||||||
#2
|
|||||||
|
|||||||
![]() I think you will need to make the modifications to the rectangle_top.tpl and rectangle_bottom.tpl files
|
|||||||
#3
|
|||||||
|
|||||||
![]() Yes, as well has head.tpl and customer/home.tpl,
You will need to create about 6 border styles in the css. Here is an example of my css file. I have split them up because you can't just stick a border around the head.tpl because it isn't in the home main table so you end up with double lines: .tabletopleft { border-top : 1px solid #A5A5A5; border-left : 1px solid #A5A5A5} .tabletopright { border-top : 1px solid #A5A5A5; border-right : 1px solid #A5A5A5} } .tableleft { border-left : 1px solid #A5A5A5 } .tableright { border-right : 1px solid #A5A5A5 } .tablebotright { border-bottom : 1px solid #A5A5A5; border-right : 1px solid #A5A5A5} } .tablebotleft { border-bottom : 1px solid #A5A5A5; border-left : 1px solid #A5A5A5} } .tabletop { border-right : 1px solid #A5A5A5; border-left : 1px solid #A5A5A5; border-top : 1px solid #A5A5A5;} } .tablebottom { border-bottom : 1px solid #A5A5A5; |
|||||||
#4
|
|||||||
|
|||||||
![]() I have tried both suggestions and still have not achieved what I want to do. Have either of you completed the style and if so could you please give me a step by step guide to the modification.
Thank you, regards, PeterB |
|||||||
#5
|
|||||||
|
|||||||
![]() are you still having problems with this??
|
|||||||
#6
|
|||||||
|
|||||||
![]() Yes. Help??????????????
thanks |
|||||||
#7
|
|||||||
|
|||||||
![]() ok, since I don't know what you tried or what your files look like so I am going to start here with the basic.
skin1/rectangle_top.tpl Code:
skin1/rectangle_bottom.tpl Code:
This SHOULD put a 1 pixel black border around EVERYTHING. |
|||||||
#8
|
|||||||
|
|||||||
![]() Thankyou. That works. How would I add a background color to the outer section of the table?
Thanks PeterB |
|||||||
#9
|
|||||||
|
|||||||
![]() This would be the (e.g) <body bgcolor="#132031". I think you can put this in the style sheet, but check the head file as well.
|
|||||||
#10
|
|||||||||
|
|||||||||
![]() Quote:
should this not be skin1/rectangle_bottom.tpl Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
|
|||
X-Cart forums © 2001-2020
|