Author Topic: Product menu formating not working  (Read 3133 times)

iamalive

  • Jr. Member
  • **
  • Posts: 133
  • Life is good
    • Websites4U
Product menu formating not working
« on: February 14, 2008, 15:53:08 pm »
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

  • Full Member
  • ***
  • Posts: 651
Re: Product menu formating not working
« Reply #1 on: February 14, 2008, 16:57:04 pm »
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

  • Jr. Member
  • **
  • Posts: 133
  • Life is good
    • Websites4U
Re: Product menu formating not working
« Reply #2 on: March 01, 2008, 11:18:38 am »
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...