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.
|