Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a space between categories in categoies box?


Guest

Recommended Posts

Posted

I've searched and found 3-4 posts on this, but none seemed to really have an answer.

I just want a one line space between the different categories in the left column category box. I've downloaded a contribution (categories With dropdow,fixed) which is a nice addition, but I still can't figure out how to space them out a bit better.

 

Any help?

Posted

Bump.

 

I'm also wondering if there is a way to change the "what's new" box to only show items from certain categories. I have the same item listed in multiple categories since it can be used for different things, and right now, my what's new box looks like it has the same item listed multiple times.

Posted

In catalog/includes/boxes/categories.php about line 54:

Change:

$categories_string .= '<br>';

To:

$categories_string .= '<hr>';

 

but i dont now if it wil work with the contribution that you used (categories With dropdow,fixed)

Posted

That actually adds a partial line, as opposed to a space, but it looks much better now, thanx!

Posted
In catalog/includes/boxes/categories.php about line 54:

Change:

$categories_string .= '<br>';

To:

$categories_string .= '<hr>';

 

but i dont now if it wil work with the contribution that you used (categories With dropdow,fixed)

 

 

I changed the line

$categories_string .= '<br>';

To:

$categories_string .= '<br><br>';

 

It gave me a blank line between each catagory.

Archived

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

×
×
  • Create New...