Wrong positioning and strange behaviour of module

  • Gracy
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 10 months ago - 11 years 10 months ago #26502 by Gracy
Hello,

I reinstalled all from scratch (to be able to load Virtuemart on HotWine template), but at the moment I have a problem with hot flashes menu:

1. I loaded the module in user2 position of HotWine, but it is shifed from the main module and part of the module is in another line (see attached image)

2. some menu item are not shown in the flashes menu (at the moment I have the original menu coming from HotWine template)

if you need, the link for the site is www.mostomisto.it

How can I correct such errors above please?


Thanks again

Roberto
Attachments:
Last edit: 11 years 10 months ago by Gracy.

Please Log in to join the conversation.

More
11 years 10 months ago #26517 by ivan.milic
Instead of separator type you user for those two menu items , use external url menu item type with url:
Code:
javascript:void(0)

or anything else just not separator

Please Log in to join the conversation.

  • Gracy
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 10 months ago - 11 years 10 months ago #26521 by Gracy
that is for missing menu item

... but part of the menu is in the second line and part in the first line, and the menu is shifted on the right related to the main module (see image)

see also after applying javascript:void(0) (image: flashes_menu_behaviour2.png)

Can you help me please to solve the problem in the image?

thanks in advance

Roberto
Attachments:
Last edit: 11 years 10 months ago by Gracy.

Please Log in to join the conversation.

More
11 years 10 months ago #26527 by ivan.milic
Try this, open:

templates\hot_flashes\flashes_menu\menu.js

find this line:

var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount);

replace it with:

var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount) - 1;

Please Log in to join the conversation.

  • Gracy
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 10 months ago - 11 years 10 months ago #26534 by Gracy
Sorry Ivan,

there is only a file called "menu.js" in the folder "...\modules\mod_hot_flashes_menu\tmpl"
but in this file there is only a line var ItemWidth like this
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);

and one in the folder "...\administrator\templates\bluestork\js"

the right one is one of these above?

If not, where I can find that file?

Also, please, get a look at the www.mostomisto.it , it looks also that one column is empty from every menu item in the first line, your suggestion will fix this problem also?

PS!!! EDIT: I just noted now that the problem happens when you reduce the character dimension from 100% to a lesser value --> it create an empty column on the right (see image)

... how can we can fix this problem?

Thanks in advance

Roberto
Attachments:
Last edit: 11 years 10 months ago by Gracy.

Please Log in to join the conversation.

More
11 years 10 months ago #26538 by ivan.milic
If you use module then it is :

modules\mod_hot_flashes_menu\tmpl\menu.js

Please Log in to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum