RSS
October 15, 2008 | Melissa | Comments 1

Change Background Color Or Hover Color In PhpBay Column Results

When you first upload phpBay to your site, you will notice that the background behind the products is solid white. This may not fit in with your template and maybe you want to change the color.

The good news is that this can easily be accomplished. There are a few options you can choose to make phpBay fit in with your site. You can change the background color to any solid color of your choice or you can change both the background color as well as the hover color to make the auctions blend well with your template. I am writing this for those of you who are using the column results as this is the most popular option. Here is how to do it.

Login to your cPanel account and navigate to your plugins folder. Click to open phpBay. This will bring up a list of the files for the plugin. Next, click on the templates folder. You will now see a list of files. Open the template.column.results.html file for editing.

You will see the following code:

<td width="300" align="center" style="word-wrap: break-word;border: 1px solid #eeeeee;font-size:12px;" bgcolor="#ffffff" onmouseover="style.backgroundColor='%%hover%%';" onmouseout="style.backgroundColor='#ffffff'">
<img src="%%image%%" alt="%%alt_title%%" border="0" /><br />
<a href="%%link_url%%" target="_blank" rel="nofollow"><strong>%%title%%</strong></a><br />
%%paypal%%&nbsp;&nbsp;&nbsp;%%currency%%%%price_or_bin%%
</td>

If you want to change the background color to a solid color, then replace both #ffffff that you see in the code above with the color of your choice.

If you want to change the hover color, you can play with how you would like it to look by placing the colors of your choice where the #ffffff appears in both places above. You may want the background itself darker and the hover color lighter or vice versa.

I have already covered changing the background color of the paging area and my hope is that between the two, you can easily make the auctions blend in with your site.

Digg This! | Add To Del.icio.us (0) | Stumble It!

Entry Information

Filed Under: phpBay Tips

Tags:

About the Author:

RSSComments: 1  |  Post a Comment  |  Trackback URL

  1. Hi, it’s really a good news it is interesting information that I can modify my page using that phpBay, thanks for the direction you gave, I’ll try it ass soon as possible in my page.. thanks again for the information.

RSSPost a Comment  |  Trackback URL

I am using KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.