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)
-   -   Add a border (https://forum.x-cart.com/showthread.php?t=34755)

Bryan Crenshaw 10-19-2007 09:14 AM

Re: Template Editing Guide
 
Hey Balinor
I'm trying to wrap up this design today :)
I'm stuck on one thing. My client would like to have a border around the outer edges of the page in order to break up the white space. I agree that this would look better.
It looks Ok on a 17inch monitor but a little rough on wide screens or 19 inch etc.. Do you have any suggestions for me?

Here is the site
http://www.pawmax.com/pmax/

balinor 10-19-2007 09:16 AM

Re: Add a border
 
Hi Bryan, moving this to its own thread as the guide is not the place for questions. Also, what version of X-Cart does this apply to?

Bryan Crenshaw 10-19-2007 10:07 AM

Re: Add a border
 
Hey!
Sorry about that I don't have my settings to email me when replied to. The version is
x-cart-4.1.9 gold. All in all I'm happy with the design I just need to add a border to the overall template. This is easy in LC but but I'm having a great time figuring it out in XC.

Thanks in advance for you great knowledge :)

Bryan

balinor 10-19-2007 10:09 AM

Re: Add a border
 
You simply need to add a css border to the container of the site in the master stylesheet.

Bryan Crenshaw 10-19-2007 10:42 AM

Re: Add a border
 
I sort of tried that.
The template is built on the artistic tunes foundation. The Style sheet has 2 places for container (TABLE.Container ) and (TD.Container) I tried to find the container value but I cant find it. There are 2 css files as well. One is skin1 and the other other is skin1_c

Are you familiar with this template?

balinor 10-19-2007 10:49 AM

Re: Add a border
 
Yea, that template is a mess. Simply add this to the TABLE.Container style in skin1_c.css:

border: 1px solid #000000;

Replace the hex color number with whatever you want.

Bryan Crenshaw 10-19-2007 10:52 AM

Re: Add a border
 
lol, I have to agree.
At least I'm not the only one that thinks that.
I will give that a shot!
Thanks for all your fast help as usual. You should be on the payroll!

Bryan

Bryan Crenshaw 10-19-2007 11:05 AM

Re: Add a border
 
Well
That did not work, It just seems to put border around a little squished table at the top of the header. I guess I could do this with an image background. Do you know which is the best way to throw up a BG in the overall template. I could just set it to the page width.

That would do it too

Bryan

balinor 10-19-2007 12:22 PM

Re: Add a border
 
I'd think the container for that template would wrap the entire template, but apparently not. Just create a new wrapper table (or even better, a div) and add the border to that. Look in rectangle_top.tpl. Background image is NOT the way to go here.


All times are GMT -8. The time now is 11:28 AM.

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