Price Tapestry Templates


Post Reply  Post Thread 
Customise search results in At Home With Lewis
Author Message
andy
Junior Member
**


Posts: 2
Group: Registered
Joined: Sep 2008
Status: Offline
Thank 1
0 was thanked in 0 posts
Post: #1
Customise search results in At Home With Lewis

Hi,

I have made some changes to the At Home With Lewis template and am trying without success to add an image into each table row of the search results.

You can see my attempt at http://www.satnavs-direct.co.uk where the image keeps repeating.

Any help is appreciated.

Andy


Andy
http://www.satnavs-direct.co.uk
http://www.discexchange.co.uk
11 09 2008 03:56 PM
Find all posts by this user Quote this message in a reply
dbfcs
Moderator
*******


Posts: 137
Group: Administrators
Joined: Jul 2007
Status: Offline
Thank 0
5 was thanked in 5 posts
Post: #2
RE: Customise search results in At Home With Lewis

Andy,

The problem is that each row is of a different height due to varying descriptions.

Also, div ID's should only be used once per page whereas classes can be used mutliple times. Therefore, in your searchresults.php, change:

Code:
<tr id="searchrows">

to read:

Code:
<tr class="searchrows">


In default.css, change:

Code:
#searchrows {background: url(http://www.satnavs-direct.co.uk/images/searchresults.jpg);}

to:

Code:
.searchrows {background: url(http://www.satnavs-direct.co.uk/images/searchresults.jpg) top left; height:150px;}

This will make each search box line up. You'll need to resize the background image you use to around 750px wide to make it fit nicely on the page.

Hope this helps Big Grin


Dave
Price Tapestry Templates

If I've helped and you want to say thanks, please buy me a coffee!
11 09 2008 09:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Thanks given by andy (12 09 2008 09:54 AM)
andy
Junior Member
**


Posts: 2
Group: Registered
Joined: Sep 2008
Status: Offline
Thank 1
0 was thanked in 0 posts
Post: #3
RE: Customise search results in At Home With Lewis

Thanks for that.

It worked fine in Firefox but not in IE. I have managed it by splitting the image up and using different images for different table cells.

Its working but will need a bit of tidying up to finish.

Cheers!

12 09 2008 09:54 AM
Find all posts by this user Quote this message in a reply
dbfcs
Moderator
*******


Posts: 137
Group: Administrators
Joined: Jul 2007
Status: Offline
Thank 0
5 was thanked in 5 posts
Post: #4
RE: Customise search results in At Home With Lewis

Just ask if you need any more help Big Grin


Dave
Price Tapestry Templates

If I've helped and you want to say thanks, please buy me a coffee!
13 09 2008 01:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

Please note that PriceTapestryTemplates.com sells templates for the Price Tapestry. To purchase the Price Tapestry script (required for our templates), please visit www.pricetapestry.com.

Home | Sitemap | Contact

By using this website and its services, you agree to the terms and conditions of usage, privacy policy and disclaimer. By purchasing any template from this website, you agree to the template terms and conditions of usage. Price Tapestry Templates is © DBFCS 2007 onwards. All rights reserved. E&OE. All brands and trademarks referred to on this website are the property of their respective owners.

PriceTapestryTemplates.com is in no way affiliated with Price Tapestry or IAAI Software.