View Single Post
  #5  
Old 09-22-2009, 06:24 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Borders around fields

Well x-cart works by "capturing" sections in boxes.
The box in question is built by the template:
skin1/customer/dialog.tpl
This though applies for all sections - so as it stands, if you put a box around your featured products section, you'd put a box round other things too.

If you want to do featured products only - then take that template, and duplicate it, say to dialog_f.tpl.

then in skin1/customer/main/featured.tpl, change the include line at the bottom from dialog.tpl to dialog_f.tpl

This will now call it's own box.

Edit your new _f file and rename the classes that you want to change.
e.g. change DialogBorder to DialogBorder_f

Then go into skin1/main.css and duplicate the style DialogBorder to DialogBorder_f
and then change the styles - adding a border, etc.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote