Jump to content
GazCBG

Sub Categories in CE Phoenix Styling

Recommended Posts

Hi,
 

Using the CE Phoenix version of osCommerce and have enabled sub-catoriges by changing bm_categories.php in includes > modules > boxes

What I changed was

$OSCOM_CategoryTree->setMaximumLevel(1);


To

$OSCOM_CategoryTree->setMaximumLevel(10);



Now I would like the sub categories to have some padding-left on it with either an icon or a > before it.

I have tried using the below to do it, but that didn't work

$OSCOM_CategoryTree->setChildString('', '');



Any one have any ideas?

Regards,
Gaz

Share this post


Link to post
Share on other sites

in the bm_categories.php file

change line 40 to

$OSCOM_CategoryTree->setParentGroupString('<div class="list-group list-group-flush phoenix">', '</div>', false);

then in user.css add

.phoenix a {
	padding-left: 50px;
}

which gives you

 image.png.26a6cf897d83ca457a3e9a83dca11f41.png

 


App created for phoenix
TinyMCE editor for admin

 

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

×