Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing table heading titles from product listing


Gil_e_n

Recommended Posts

Posted

I'm attempting to remove all the titles from the product listing for a few reasons. And even after removing all the other titles just by removing all the text from the includes/languagues/english/index.php and advanced_search.php define TABLE_HEADING_?, there remains a plus mark. (See graphic illustrating problem here.) Does anyone know where this is coming from? I've been combing product_listing, advanced_search_result, and index.php, but I can't figure out where this is coming from. If anyone could point out to me where this plus mark is coming from, I'd be grateful.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

Right. I apparently lose at phrasing questions into the search engine correctly the first few times. For anyone reading this, go to includes/functions/general.php and change this:

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

to

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '' : '') : '') . '</a>';

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

Thanks so much for that - I've just made that change. But what I've been searching and searching for is where to change the color of that heading background. I have changed every other color (in stylesheet.css) without a problem. I've even changed this color once, clearly, since it's orange. But I want it pink, and I have spent two days trying to work out WHERE to change the thing! I can't seem to find any answer in the forum (though I've found HEAPS of other things along the way).

 

Can anyone please tell me where to change the color of the border for the product listing?

 

Thank you VERY much,

amy

Posted

Look for productListing-heading in stylesheet.css - that should be where it's defined.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Posted

Thanks, Gillian. I appreciate your help. But I still can't find where the code says orange! Here's that section of my stylesheet.css (ff7799 is the color I *want* it to be, and it's the code that's in there, but... it's still orange!):

 

.productListing-heading {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 10px;

background: #ff7799;

color: #ffffff;

font-weight: bold;

}

 

 

Ooooohhhh... wait a minute. Stupid Safari! I just checked it out in Firefox (I know, I know, it's so much better - why am I still using Safari??), and it's pink, like I want, like the code says. Safari makes it orange, which it was previously, and no matter how many times I empty cache, reset, etc, it doesn't change. I changed it to pink MONTHS ago, and it's just been giving me a pain. Now it's pink!

 

So. Lesson learned. No more Safari. Thanks so much for your help, anyway. If you hadn't told me exactly where it was, I just would have kept assuming I was getting it wrong, and wouldn't have thought to check it on Firefox. So you helped me solve this problem.

 

many thanks,

amy

Posted

EXCELLENT! :thumbsup:

That worked for me too! It removed the plus sign after product name!

Thanks!

:D

MV

 

Right. I apparently lose at phrasing questions into the search engine correctly the first few times. For anyone reading this, go to includes/functions/general.php and change this:

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

to

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '' : '') : '') . '</a>';

Archived

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

×
×
  • Create New...