theautoguy Posted February 16, 2012 Share Posted February 16, 2012 When you are viewing the products on the home page and/or clicking thru categories, I am wanting to put borders around the products. Right now the images are next to one another with the title and price underneath. I want to show some seperation with borders around them. Does anyone know how to do this? Thanks FYI WORKING WITH VER 2.3.1 Link to comment Share on other sites More sharing options...
web-project Posted February 16, 2012 Share Posted February 16, 2012 Does anyone know how to do this? using html table you can create the border around the images Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
theautoguy Posted February 16, 2012 Author Share Posted February 16, 2012 using html table you can create the border around the images Do you know how to do this? Or what the code would be? I could not find a contribution or forum for this for 2.3 version. Link to comment Share on other sites More sharing options...
Kevin.Dallas Posted February 18, 2012 Share Posted February 18, 2012 don't use html, use your stylesheet Link to comment Share on other sites More sharing options...
theautoguy Posted February 18, 2012 Author Share Posted February 18, 2012 don't use html, use your stylesheet How can I do this on my stylesheet. Link to comment Share on other sites More sharing options...
actodc Posted June 21, 2012 Share Posted June 21, 2012 in your .css file: img {border:1px solid #000;} -or- if you want only images with a certain class img.yourclass {border:1px solid #000;} Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 21, 2012 Share Posted June 21, 2012 In your includes/modules/new_products.php find $new_prods_content = '<table border="0" width="100%" cellspacing="0" cellpadding="2">'; change it to $new_prods_content = '<table border="0" width="100%" cellspacing="10" cellpadding="2">'; This adds spacing between the cells within the table. Then in the same file find <td width="33%" align="center" valign="top"> and change it to <td width="33%" align="center" valign="top" class="newproductsbgtd"> Then in your stylesheet.css add .newproductsbgtd { background: #ff0000; border: solid 1px #ffffff; -moz-border-radius: 10px; border-radius: 10px; } Alter the two colours to match your site. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.