Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Website design


demonz

Recommended Posts

Posted

Hi,

I wanted to know how i would go about changing the bottom bar:

1. the colour

2. getting rid of how many requests the page has had

3. and if its possible how to make the bar more thin

 

This is the website:

Wholesale Zippos

Posted

Answers to your questions:

 

1. Look under catalog/stylesheet.css around lines 88-98:

 

TR.footer {

background: #bbc3d3;

}

 

TD.footer {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #bbc3d3;

color: #ffffff;

font-weight: bold;

}

 

The part in bold will determine the color of the bar.

 

2. Look under catalog/includes/footer.php around lines 17-18:

 

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

 

The part in bold will show the number of requests text. Simply remove it as follows:

 

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

<td align="right" class="footer"></td>

 

3. Look under catalog/includes/footer.php around lines 15-20:

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">

<tr class="footer">

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

</tr>

</table>

 

To make the bar thinner, you'll either need to have nothing inside the bar, or reduce the size of the text inside the bar. Otherwise, no matter how small you set, it'll extent automatically to fit the size of the text. For example, you want nothing inside the bar and set the bar to 3 pixels high:

 

<table border="0" width="100%" height="3" cellspacing="0" cellpadding="1">

<tr class="footer">

<td class="footer"></td>

<td align="right" class="footer"></td>

</tr>

</table>

 

Hope that helps... :blush:

Posted

Thank You Thank You Thank You!!!!!!! It worked like a charm :)

Kathy

 

 

Answers to your questions:

 

1. Look under catalog/stylesheet.css around lines 88-98:

 

TR.footer {

  background: #bbc3d3;

}

 

TD.footer {

  font-family: Verdana, Arial, sans-serif;

  font-size: 10px;

  background: #bbc3d3;

  color: #ffffff;

  font-weight: bold;

}

 

The part in bold will determine the color of the bar.

 

2. Look under catalog/includes/footer.php around lines 17-18:

 

    <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

    <td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

 

The part in bold will show the number of requests text. Simply remove it as follows:

 

    <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

    <td align="right" class="footer"></td>

 

3. Look under catalog/includes/footer.php around lines 15-20:

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">

  <tr class="footer">

    <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

    <td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

  </tr>

</table>

 

To make the bar thinner, you'll either need to have nothing inside the bar, or reduce the size of the text inside the bar. Otherwise, no matter how small you set, it'll extent automatically to fit the size of the text. For example, you want nothing inside the bar and set the bar to 3 pixels high:

 

<table border="0" width="100%" height="3" cellspacing="0" cellpadding="1">

  <tr class="footer">

    <td class="footer"></td>

    <td align="right" class="footer"></td>

  </tr>

</table>

 

Hope that helps...  :blush:

Archived

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

×
×
  • Create New...