Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help..how do i align my information box text links and to change its font colour


rayjuan

Recommended Posts

Posted

hi all,

 

i have managed to install an information box for my website but it appears that the text links in the information box itself does not align properly to the above catagories box .

 

i would like to make it shift slightly to the left as you can see in the picture below and also to change its font colour to match the fonts in the catagories box.

 

i have tried opening stylesheet.css but to no avail..

 

please kindly advice ! much appreciated.

 

boxboxy.PNG

Posted

hi all,

 

i have managed to align my information text but im still cracking my head on changing the font colour to match the catagories font colours.

 

i believe its somewhere in my /public_html/tablesg/includes/boxes/information.php file . i have copied the code here . i hope someone can help me identify the problem. i have tried stylesheet.css but cant seem to find it too. please see below on the information.php file

 

osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- information //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 /*$info_box_contents[] = array('text' => '<div style="line-height:20px;"><img src="images/spacer.gif" width="16" height="1"><a class="ibox" href="videos.php">Videos</a><br>' .
																			 '<img src="images/spacer.gif" width="16" height="1"><a class="ibox" href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                        '<img src="images/spacer.gif" width="16" height="1"><a class="ibox" href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                                        '<img src="images/spacer.gif" width="16" height="1"><a class="ibox" href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . BOX_CATALOG_FEATURED_PRODUCTS . '</a><br>' .
									 										 '<img src="images/spacer.gif" width="16" height="1"><a class="ibox" href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                                        '<img src="images/spacer.gif" width="16" height="1"><a class="ibox" href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></div>');*/
 $info_box_contents[] = array('text' => '<div style="line-height:20px;"><a class="ibox" href="job.php">Jobs</a><br>' .
																			 '<a class="ibox" href="corporate.php">Corporate</a><br>' .
																			 '<a class="ibox" href="instructions.php">Retail Outlets</a><br>' .
																			 '<a class="ibox" href="giftideas.php">Gift Idea</a><br>' .
																			 '<a class="ibox" href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                        '<a class="ibox" href="payments.php">Payments & Warranty</a><br>' .
                                        '<a class="ibox" href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
									 										 '<a class="ibox" href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></div>');

 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- information_eof //-->

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...