1. tbcomputerguy
  2. Commercial Templates
  3. Thursday, 18 April 2013
  4.  Subscribe via email
I have setup an alternate site to test things on, to get this responsive site working better. When viewed on a mobile phone, the menu's first item selects an item in the middle of the menu. Why does in not select the first menu (furthest left). It starts with gutters, which is somewhat unappealing.


http://elementsnorth.com/elementstest/
Accepted Answer Pending Moderation
0
Votes
Undo
Strange...

Could I ask you to try replacing the following in your templates scripts.php (../templates/j51_metropolis/php/scripts.php)..


<!-- Hornav Mobile (converts menu into select list) -->
<script type="text/javascript" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/mobile/selectnav.min.js" charset="utf-8"></script>
<script type="text/javascript">selectnav('mobile');</script>
<script type="text/javascript" >
window.addEvent('domready', function() {
selectnav('mobile', {
label: '--- Main Menu ---',
nested: true,
indent: '-',
});
})
</script>


With...


<!-- Hornav Mobile (converts menu into select list) -->
<script type="text/javascript" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/mobile/selectnav.min.js" charset="utf-8"></script>
<script type="text/javascript">selectnav('mobile');</script>
<script type="text/javascript" >
window.addEvent('domready', function() {
selectnav('mobile', {
label: '--- Main Menu ---',
nested: true,
indent: '-',
autoselect: false
});
})
</script>


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Will do, I will keep you posted....your the best
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
No luck cirian. Still shows up the same. what if i convert it to a module?
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi David

I don't believe changing to a module position would make any difference. May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Not sure if you tried to log in, but i forgot to enable you. Sorry
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Ciaran, i fixed it. When we had the novation template, we installed the third party extension mobile joomla. I got to thinking that there must be a third party extension. I uninstalled it and voila the menu works.

Dave
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Nice one.. I don't think I would have thought to check for something like that!

Thank you for the update.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!