Jump to content
Latest News: (loading..)
Sign in to follow this  
Daft Moniker

Main categories in front page - Remove Text?

Recommended Posts

I am using the "Main categories in front page" contribution and it works beautifully. The client I am building the site for however wants the text generated underneath the product category images removed as the images they provided have said-text for the categories on them already.

 

I have gone through the file for hours now trying to find where/how to remove the text. Or atleast make it white so it appears invisible.

 

How can I accomplish this?

 

 

 

 

Main categories in front page

Share this post


Link to post
Share on other sites
The client
Should employ someone who knows how to search a site for a text string.

 

Assuming you do not have command line access or know how to use grep.....

 

Copy the site to your pc and use something like editplus to search the entire directory structure for part of the text.


Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Share this post


Link to post
Share on other sites
includes/main_categories.php

 

remove from line 178

<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $categories['categories_name'] . '</a>

 

Awesome! That's exactly what I needed. Thanks so much!

Share this post


Link to post
Share on other sites

I am using the "Main categories in front page" contribution and it works beautifully. The client I am building the site for however wants the text generated underneath the product category images removed as the images they provided have said-text for the categories on them already.

 

I have gone through the file for hours now trying to find where/how to remove the text. Or atleast make it white so it appears invisible.

 

How can I accomplish this?

 

 

 

 

Main categories in front page

 

 

I've used the same contribution and basically the 'category' header background color doesn't match the other headers like the what's new box etc. (i.e. the grey box) can someone help me locate where I can update the classes that the category header background should be grey?


"Be who you are and say what you feel, because those who matter don't mind, and those that mind, don't matter." (Theodor Seuss Geisel)

Share this post


Link to post
Share on other sites

I've used the same contribution and basically the 'category' header background color doesn't match the other headers like the what's new box etc. (i.e. the grey box) can someone help me locate where I can update the classes that the category header background should be grey?

 

 

I figured it out!

the line in the page: main_categories.php

 

new infoBoxHeading($info_box_contents, false, false);

change to this:

new contentBoxHeading($info_box_contents);


"Be who you are and say what you feel, because those who matter don't mind, and those that mind, don't matter." (Theodor Seuss Geisel)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×