Post by megahuman » Tue Oct 02, 2012 1:05 pm

Hey guys,

Using opencart 1.5.4

A problem that is really doing my head in at the moment...

Okay so I'm trying to edit the styles of the category images. Here is a link to the pages, you can see ive styled the category images with the grey border and grey background behind the text of the categories.

Example: http://party.7design.com.au/index.php?r ... reproducts

However if you click on a category and go to the subcategories they don't include any style.

Example: http://party.7design.com.au/index.php?r ... ry&path=79

So I went to try style them, and I get to a div named "<div class="catbox">"

I cannot find this in ANY file...

Anyway anyone can tell me where I should be looking, I assumed it was in Template > product > category.tpl...

Hope somebody can help!

Web Design and Development at 7 Design


Active Member

Posts

Joined
Tue Dec 14, 2010 4:57 pm

Post by zuhenry » Tue Oct 02, 2012 1:24 pm

Hello,

You should try to style the file "stylesheet.css" directly instead of doing in-line styles.
path is: /catalog/view/theme/default/stylesheet/*.css - where default is your theme or default installation...
If you don't find the div you are trying to decorate, you can create one in here.

zh

Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios


Active Member

Posts

Joined
Fri Sep 09, 2011 9:54 pm
Location - Colombia

Post by megahuman » Tue Oct 02, 2012 1:29 pm

I am styling stylesheet directly, I'm just trying to find those particular divs for this page so I can give them new classes

Web Design and Development at 7 Design


Active Member

Posts

Joined
Tue Dec 14, 2010 4:57 pm

Post by zuhenry » Tue Oct 02, 2012 1:44 pm

Ok, then try using the following command, hope you are running under a linux or Apple server,
"grep -r catbox /path_to_your_OC_installationg"
for example, I did run it like this:
"grep -r catbox /catalog/*"

I didn't find anything by the way...

zh

Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios


Active Member

Posts

Joined
Fri Sep 09, 2011 9:54 pm
Location - Colombia
Who is online

Users browsing this forum: No registered users and 24 guests