Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wanting to put a box around images and move search box to heading


theautoguy

Recommended Posts

I know this is kind of random, but I am wanting to do 2 things:

 

working on 2.3.1 ver

 

1.Maybe I missed the "How to", but I was wanting to put a box or outline around the images, so they look a little more seperated when positioned next to one another.

 

2.I was wanting to put a search box into the header in order to get it out of my column.

 

Thanks in advance for your help.

Link to comment
Share on other sites

  • 4 months later...

I just did something similar to the new products are on the front page. In that file find

 

$new_prods_content .= '<td width="33%" align="center" valign="top">

 

and change to

 

$new_prods_content .= '<td width="33%" align="center" valign="top" class="newproductsbgtd">

 

In your stylesheet add

 

.newproductsbgtd {

background: #ececec;

border: solid 1px #029cfe;

}

 

Change #029cfe to the colour of your choice.

 

This class then be added to most places where an image occurs. Remaning the class may make a bit of sense also.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...