Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change search results text


Guest

Recommended Posts

Posted

I want to change the color and possibly the font of the text the search results generate (i.e. the "Displaying 1-4 of 5.......>>>Next"). I think I have found the right page to edit (split_page_results.php), but can't seem to figure out where it tells it the color and font. I have arleady changed several things on the website thanks to you all. I have found many answers already in the forums, like how to remove my language and currency boxes. Hard as I tried though, I could not find an answer to this one. I am new to PHP, but not new to coding in many languages so I feel like this should be an easy fix, just need to know how PHP handles these things. Thanks!

Posted

99% of the colours and fonts are defined in the stylesheet.css file, you want;

 

A.pageResults {
 color: #0000FF;
}

A.pageResults:hover {
 color: #0000FF;
 background: #FFFF33;
}

Posted

Burt,

Thanks for the heads up on the stylesheet.css file. That was what I needed. I am still having one problem though. That only changed PART of the whole line, and that confuses me. Say the text on the line is:

 

Displaying 1 to 10 (of 100 products) Results Pages: 1 2 3 4 5 [Next>>]

 

the "Displaying 1 to 10 (of 100 products) Results Pages: 1" remained the old color and "2 3 4 5 [Next>>]" changed color. Is that weird? Shouldn't the entire line of results have changed color?

Posted

This handles the parts of that which are not linked

In stylesheet.css

TD.smallText, SPAN.smallText, P.smallText {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
}

Posted

Thanks bktrain,

 

I assume when I find that code I can just add a "color=#######" line after the font info right? Is this code in the stylesheet.css or another one?

Posted

I found it, added the line and it worked perfect. Thanks eveyone for the help!!!

Archived

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

×
×
  • Create New...