Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add a border

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-19-2007, 09:14 AM
 
Bryan Crenshaw Bryan Crenshaw is offline
 

Member
  
Join Date: Jun 2005
Posts: 16
 

Default 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/
__________________
X-Cart Friendly Hosting & Design
www.frictionsweb.com
Reply With Quote
  #2  
Old 10-19-2007, 09:16 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-19-2007, 10:07 AM
 
Bryan Crenshaw Bryan Crenshaw is offline
 

Member
  
Join Date: Jun 2005
Posts: 16
 

Default 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
__________________
X-Cart Friendly Hosting & Design
www.frictionsweb.com
Reply With Quote
  #4  
Old 10-19-2007, 10:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Add a border

You simply need to add a css border to the container of the site in the master stylesheet.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-19-2007, 10:42 AM
 
Bryan Crenshaw Bryan Crenshaw is offline
 

Member
  
Join Date: Jun 2005
Posts: 16
 

Default 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?
__________________
X-Cart Friendly Hosting & Design
www.frictionsweb.com
Reply With Quote
  #6  
Old 10-19-2007, 10:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 10-19-2007, 10:52 AM
 
Bryan Crenshaw Bryan Crenshaw is offline
 

Member
  
Join Date: Jun 2005
Posts: 16
 

Default 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
__________________
X-Cart Friendly Hosting & Design
www.frictionsweb.com
Reply With Quote
  #8  
Old 10-19-2007, 11:05 AM
 
Bryan Crenshaw Bryan Crenshaw is offline
 

Member
  
Join Date: Jun 2005
Posts: 16
 

Default 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
__________________
X-Cart Friendly Hosting & Design
www.frictionsweb.com
Reply With Quote
  #9  
Old 10-19-2007, 12:22 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020