Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 hard question


globalx

Recommended Posts

Hello everyone,

Sorry to bother you but I would really appreciate your help with these 2 problems that I have.

 

Problem 1:

On my index.php page it shows a New Products for December box. I have changed the title to !!!Best Sellers!!! Now I would like to change the content in the box. At the moment there are nine products, each displaying a picture, the title of the product and the price. I would like to change it so that the Name of the product and the price of the product is listed above each picture and then underneath each picture there is a short description. Could someone please help me with this.

 

Second problem:

On all of my pages I have a categories box on the left coloumn. It lists the links but I would like to change each link to a button. So basically remove the text and add a flash button or some sort of picture there instead. Help me please :)

 

 

Thanks

Link to comment
Share on other sites

have you got any coding skills (html mainly)?

if so, open includes/boxes/categories.php

change:

	$categories_string .= '<a href="';

to

	$categories_string .= '<a class="YOUR_NEW_CLASS_HERE" href="';

then save and upload, and define this new class in your stylesheet to show something:

a.YOUR_NEW_CLASS_HERE:link, a.YOUR_NEW_CLASS_HERE:visited {
filter: alpha(opacity=65);
-moz-opacity:.65;
opacity: .65; 
cellpadding: 0;
cellspacing: 0;
display: block;
background: url(images/menu_bg.gif) no-repeat;
vertical-align: middle;
white-space: nowrap;
font-size: 10px;
font-weight: bold;
color: #ffffff;
text-align: left;
padding-top: 5px;
padding-left: 27px;
height: 21px !important;
height: 21px !important;
width: 171px;
text-decoration: none;
}

a.YOUR_NEW_CLASS_HERE:hover {
filter: alpha(opacity=75);
-moz-opacity:.75;
opacity: .75; 
background-position: 0px -26px;
text-decoration: none;
color: #333333;
font-weight: bold;
}

All can be changed at will

opacity is not manditry, but can be used and so forth

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...