Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CSS problem


Ema_Swartz

Recommended Posts

I have a CSS problem in my listing products area

 

Its posible to have different styles for each of the 3 rows of my products and not only 'class="productListing-data"' how it is now?

 

I want to have the product name a little bigger than the rest and with another color.This is the code.

$lc_align = '';

$lc_text = '<b><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . '</a></b><br>'.$listing[$x]['products_model'].'<br><a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing[$x]['manufacturers_id']) . '">' . $listing[$x]['manufacturers_name'] . '</a>?';

 

$list_box_contents[$cur_row][] = array('align' => $lc_align,

'params' => 'class="productListing-data"',

'text' => $lc_text);

 

With this code my products are looking about like this

 

|-------------------------------------------------|

| product name

| product model

| product_manufacturer

|_________________________________|

Thank you!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...