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!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok