Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Font size of the categories box


mrossi

Recommended Posts

Posted

anyone know how to change the font size of the categories infobox on the homepage? and how to change the width of the reft side infoboxes.

 

thanks, matt

Posted

catalog/stylesheet.css

 

.infoBoxContents {
 background: #f8f8f9;
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 color: Teal;
}

 

column widths

 

INSTRUCTIONS

 

1. Open catalog/includes/application_top.php

2. Find the line (around line 47) that reads

// customization for the design layout
 define('BOX_WIDTH', 145); // how wide the boxes should be in pixels (default: 125)

3. after this, add the following lines ....

// customization for the design layout left column
 define('BOX_WIDTH_LEFT', 165); // how wide the boxes should be in pixels (default: 125)
 
// customization for the design layout right column
 define('BOX_WIDTH_RIGHT', 125); // how wide the boxes should be in pixels (default: 125)

 

6. (set your own width preferences (I have used 165 pixels for the left column and 125 pixels for the right) Save file

 

7. Now open the second file to edit: catalog/default.php

8. Find the first line to change at (around line 51) that reads

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

9. REPLACE this line, with the following line ....

<td width="<?php echo BOX_WIDTH_LEFT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="2">

10. Find the second line to change at (around line 325) that reads

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

11.REPLACE this line with the following line....

<td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2">

5. save the file and upload your 2 changed files to your active installation.

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...