Pinoo Posted February 2, 2007 Posted February 2, 2007 I found this topic: http://www.oscommerce.com/forums/index.php?sho...c=63864&hl= The horizontal line is exactly what i want on my site. However when i try to apply it to my site it doesnt work. Does anyone have another solution which does the same or some tips. Thx
Guest Posted February 2, 2007 Posted February 2, 2007 I tried this too & didn't work. I have been trying to get a HR between each product for a while now, but can't seem to get anything to work. Please post back here if you get help outside this forum.
vixahuja Posted February 2, 2007 Posted February 2, 2007 I tried this too & didn't work. I have been trying to get a HR between each product for a while now, but can't seem to get anything to work. Please post back here if you get help outside this forum. I am also trying same. Please post back if you are able to get it done Thanks
dlewis22 Posted February 2, 2007 Posted February 2, 2007 Try this and let me know if it is what you are looking for. Open the stylesheet.css file find the line: TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; } and add a border to the bottom of the td. TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; border:solid black; border-width:0 0 1px 0; }
Guest Posted February 3, 2007 Posted February 3, 2007 Try this and let me know if it is what you are looking for. Open the stylesheet.css file find the line: TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; } and add a border to the bottom of the td. TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; border:solid black; border-width:0 0 1px 0; } This works, but since the data is listed in columns you can see the tiny space where the lines break & start in the next column. I tried messing around w/the boxes classes & adding another <tr> after the </tr> closes in the box classes, but I couldn't get anything to work.
Pinoo Posted February 4, 2007 Author Posted February 4, 2007 Try this and let me know if it is what you are looking for. Open the stylesheet.css file find the line: TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; } and add a border to the bottom of the td. TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; border:solid black; border-width:0 0 1px 0; } Yes, i think this solution works fine for me, thx for support!
Pinoo Posted February 5, 2007 Author Posted February 5, 2007 Try this and let me know if it is what you are looking for. Open the stylesheet.css file find the line: TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; } and add a border to the bottom of the td. TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; border:solid black; border-width:0 0 1px 0; } One question, i get the horizontal lines, but when i click an article i see the article name is underlined. Is there a solution for this?
241 Posted February 6, 2007 Posted February 6, 2007 One question, i get the horizontal lines, but when i click an article i see the article name is underlined. Is there a solution for this? The links code is using <a href which is referenced to A:hover { color: #AABBDD; text-decoration: underline; } in the stylesheet.css if you changed this it would be site wide which you may not want, therefore you may choose to create a new class in stylesheet.css A.product_listing { color: #000000; text-decoration: none; } A.product_listing:hover { color: #AABBDD; text-decoration: underline; } and then change this part A.product_listing:hover { color: #AABBDD; text-decoration: underline; } so as to not have an underline like this A.product_listing:hover { color: #AABBDD; text-decoration: none; } you would then call the class in the link code of the includes/modules/product_listing.php case 'PRODUCT_LIST_NAME': $lc_align = ''; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> '; } break; so as to reference the class like this case 'PRODUCT_LIST_NAME': $lc_align = ''; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a class="product_listing" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $lc_text = ' <a class="product_listing" href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> '; } break; No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
applebox Posted May 25, 2007 Posted May 25, 2007 my site currently has an entire row between each product with an <hr> : </tr><tr><td colspan="6"><HR></td></tr> I've looked through product_listing.php and could not find any code that is generating it. If someone could show me where else i should be looking i can post a solution. Because its definitely not being implemented like the first post
Recommended Posts
Archived
This topic is now archived and is closed to further replies.