Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Remove dash in front of Categories

Remove dash in front of Categories

Locked

Views: 1,419

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
22 Sep 2008, 1:54 AM
#1
roadliner avatar

roadliner

New Zenner

Join Date:
Sep 2008
Location:
san diego, ca
Posts:
30
Plugin Contributions:
0

Remove dash in front of Categories

This is probably a simple problem and sorry for the noob question but how do you remove the dash in front of the category names? I have been trying for a couple of days searching this site trying to find out how to do this. I have also tried the Config Layout Settings with no success.

Thanks!

22 Sep 2008, 5:17 AM
#2
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Remove dash in front of Categories

You are seeing the dash as it is a part of the Rustic Template you are using.

22 Sep 2008, 5:33 AM
#3
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Remove dash in front of Categories

The dash image is defined in the following code of the /includes/templates/rustic/sideboxes/tpl_categories.php file and cannot be altered from the Config Layout settings.

$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_cat_no_sub.gif');
```To prevent the image from displaying, you can change the code to ```php
$pointer = '';
22 Sep 2008, 5:52 AM
#4
roadliner avatar

roadliner

New Zenner

Join Date:
Sep 2008
Location:
san diego, ca
Posts:
30
Plugin Contributions:
0

Re: Remove dash in front of Categories

Thank you so much Goh!!! That works!

Now I noticed that since I have so many categories that the category box lines doesn't complete the box - it goes up only 3/5ths of the way. How can I get the lines to complete the category box?

22 Sep 2008, 6:45 AM
#5
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Remove dash in front of Categories

It's because it is a background image, and the amount of categories you have extend beyond the image:

#categoriesContent {stylesheet.css (line 373)
background-image:url(../images/cb_content.gif);
background-position:center bottom;
background-repeat:no-repeat;
font-weight:bold;
padding:0.4em 0.4em 10px;
}

You would need to open the image in a graphics program and modify it so it could be longer (basically clone a section onto the top end of it)

22 Sep 2008, 6:52 AM
#6
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Remove dash in front of Categories

I modified the image for you and uploaded it to my site, save this image (right-click the link and save target as) and replace the one your images directory with this and you should be good to go :)

http://www.havendesignz.com/cb_content.gif

22 Sep 2008, 7:06 AM
#7
roadliner avatar

roadliner

New Zenner

Join Date:
Sep 2008
Location:
san diego, ca
Posts:
30
Plugin Contributions:
0

Re: Remove dash in front of Categories

Thank you so much christon26!! That is awesome! :clap:

You have a really nice site!!

22 Sep 2008, 7:10 AM
#8
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Remove dash in front of Categories

You're welcome, and thanx! I am continually tweaking it just a lil more LOL