![]() |
Borders around fields
I'm wanting to add a border around the different fields in my store. I see other sites that have this but I'm at a loss for where to add it myself.
Example: http://www.elementalscraps.com/shoppe/home.php See how the border goes around the "Feature Products" section? |
Re: Borders around fields
A border can be added to most elements quite easily with css.
You need to determine the css class that is used for whatever you want to put a border around, then add something like this to it in your main.css file: border: solid 1px red; |
Re: Borders around fields
What code would I be looking for to but a boarder around the "featured products" section?
|
Re: Borders around fields
i also have a question about the css and featured products. I would like to completely remove the css from my featured products because when moused over, the products jump around and get confusing.
|
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. |
Re: Borders around fields
toolman,
Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version (as per forum rules) so that we can answer your questions correctly. Thanks! |
All times are GMT -8. The time now is 05:30 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.