Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit Background CSS Info Box


tassiedude

Recommended Posts

Posted

Ok I've searched through the damn CSS 3 times and cannot find it this is the last thing I have to do before the store is finally complete

 

What part of the CSS do I need to edit to get the background of the info box where the Reviews and Add To Cart Buttons are to be the same as the background

 

Here is an example:

 

http://paradisebeads.com.au/product_info.php?products_id=215

 

Thanks For All Your Help

Posted

That is controlled by

 

.infoBoxContents {

background: #f8f8f9;

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

font-size: 10px;

}

 

You could edit product_info.php, around line 209

 

<tr class="infoBoxContents">

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

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

 

Just put a new class name there in place of "InfoBoxContents"...then add the definition to the stylesheet

 

.YourNewClass {

background: #your color;

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

font-size: 10px;

}

Posted

Thanks one more quik question if I may on the checkout_success.php Page where it has:

 

Please notify me of updates to the products I have selected below:

 

How do I change that box background as well?

 

Thanks for your help!

Posted

Are you talking about the color of the part that highlights the checkbox and product name, right under the text you posted (Please notify me of updates to the products I have selected below:)

 

That's this one, near the top of the stylesheet...

 

.productsNotifications { background: #f2fff7; }

 

If I missed what you meant, let me know :)

  • 8 months later...
Posted

Hi Tassiedude,

 

I've just visited your site and seen that you have a box saying how many quests are online, how did you create that? could you post the code?

 

thanks alot

Shelton Brown

Web/Graphic Designer

Archived

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

×
×
  • Create New...