News:

Looking for documentation? Take a look on our wiki

Main Menu

Product menu formating not working

Started by iamalive, February 14, 2008, 15:53:08 PM

Previous topic - Next topic

iamalive

Hi

I'm working on a replacement site at http://joomla.neukom-electronic.ch

The product menus show up as a tree, as needed, but the names don't sty within the module borders i.e. long product names should automatically break into several lines, rather than just stay on one straight line.

I also tried the various menus using lists, which cause a lot of problems with formatting.

Any ideas?

Regards

David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

iqapps1

Hi

Did you get same issuse if you publish VM module in left menu...?
Have you tryed to use a Product categories module if that get same issuse...?

Regards
IQAPPS


iamalive

#2
Hi
I've tried everything. I've got almost everything fixed by using CSS. But I can't get any of the tree versions to wrap. If you know where to fix this and how, I'd be very grateful!

Thanks

David

UPDATE:

After spending hours looking at every possible thing in the CSS and PHP files - I really needed to solve this - I found that there is a seperate css file for the dtree menu

/components/com_virtuemart/js/dtree/dtree.css

delete the "white-space: nowrap" entry

In the Tigramenu it's hidden in the
/components/com_virtuemart/js/tigratree/tree.js

on line 119
return '<table cellpadding="0" cellspacing="0" border="0"><tr><td nowrap>' + (this.n_depth ? a_offset.join('') + (this.a_children.length

delete the "nowrap" . Also by changing cellspacing by, say, 2px, it spaces the lines of the menu much nicer.

I hope this helps all the people with this issue

Regards

David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...