Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Main menu item not clickable when submenu is defined

Featured Lock Resolved
Hello, I need your help for a problem I can't find a solution for. When you are on the page http://burning-change.ch/fr/mon-experience and you click on the sub menu item Témoignages you come to the corresponding page. When clicking on the main menu item À propos again nothing happens even though the correct url is shown when mouse-over.
Thx. Kurt

14 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

There was the problem. Fixed your issue.

This line of code was commented


->addJS('bootstrap.min.js, jquery.sticky.js, main.js, smoothscroll.js, jquery.nav.js') // JS Files//


Commented this js code

// $('.sp-megamenu-wrapper ul li a').click(function(){
// $('html, body').animate({
// scrollTop: $( $(this).attr('href') ).offset().top
// }, 900);
// return false;
// });


Added some css code

#sp-header.has-slideshow.menu-fixed-out {
background: #f07c00;
}

.itemid-437 #sp-header.has-slideshow.menu-fixed-out .sp-megamenu-parent > li.active > a {
color: #000000!important;
}
#sp-section-1 {
padding-top: 20px;
padding-bottom: 20px;
background: #f07c00!important;
color: #fff;
font-size: 90%;
position: fixed;
height: 80px;
z-index: 999;
width: 100%;
}
#sp-header.menu-fixed {
background-color: #f07c00;
border-bottom: 0px;
height: 80px!important;
top: 80px !important;
}
#sp-header {
z-index: 999;
-webkit-transition: 400ms;
-o-transition: 400ms;
transition: 400ms;
position: relative;
background: rgba(245,245,245,0.9);
top: 80px;
}


Note: We don't provide the customization support, please don't request customization in future. I hope you will understand.

-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hello,

Thanks for your query. Please follow this instruction.

1. Open index.php file of your templates
2. fine out below line from index.php file and remove true text only


$doc->addScriptdeclaration( "\nvar onePageUrl = '".JURI::base(true) . "';\n" );


-Thanks

kspecht

More than a month ago #Permalink
Hello Toufiq,
This setting was already enabled as $doc->addScriptdeclaration( "\nvar onePageUrl = '".JURI::base() . "';\n" ); in the index php of the template. It is working fine for all menu items except for the menu item http://burning-change.ch/fr/mon-experience when you have previously clicked or actually came from this page http://burning-change.ch/fr/mon-experience/temoignages

Thanks for your continued help. This is a real issue as I want to add more sub menu items to other main menu items.
Cheers,
Kurt

LianneHolland

More than a month ago #Permalink
Hi Toufiq,
I have the same problem on http://cayentist.mooifunctioneel.nl/
Choose by example http://cayentist.mooifunctioneel.nl/microsoft-dynamics-crm-integratie/exact-online, then you can't follow http://cayentist.mooifunctioneel.nl/microsoft-dynamics-crm-integratie/ by the menu.

It's the template Qubic. I see in the demo on joomshaper-site the same problem.

How to solve this?

greetings, Lianne

Toufiq - Staff

More than a month ago #Permalink
LianneHolland wrote:

Hi Toufiq,
I have the same problem on http://cayentist.mooifunctioneel.nl/
Choose by example http://cayentist.mooifunctioneel.nl/microsoft-dynamics-crm-integratie/exact-online, then you can't follow http://cayentist.mooifunctioneel.nl/microsoft-dynamics-crm-integratie/ by the menu.

It's the template Qubic. I see in the demo on joomshaper-site the same problem.

How to solve this?

greetings, Lianne


Dear, Thanks for your query. Please give me your site admin info with forum post url via pm. Thanks

LianneHolland

More than a month ago #Permalink
Hi Toufiq,

I've send you last Friday by p.m. the site admin info.Have you recieved those?

Thanks,
Lianne

Toufiq - Staff

More than a month ago #Permalink
LianneHolland wrote:

Hi Toufiq,

I've send you last Friday by p.m. the site admin info.Have you recieved those?

Thanks,
Lianne


Dear, I am sorry to say that, i did't get any pm from you. Thanks

LianneHolland

More than a month ago #Permalink
Hi,

I've send the credentials again by p.m.

Have a nice evening,


Lianne

LianneHolland

More than a month ago #Permalink
Hi Toufiq,

Have you recieved the login-credentials?

Thanks,
Lianne

L. Leijen

More than a month ago #Permalink
Hello Toufiq,

I am having the same problem on my website:
http://websites.powerinternet.nl/SO_43266/onderhoud-en-service/dakinspectie

When I am on one of the subpages and I want to go back to 'Onderhoud en Service' nothing happens. I have the newest version of the Qubic template.The 'true' text was already removed from the index.php file. Can you give me advise on how to solve this?

With kind regards,

Toufiq - Staff

More than a month ago #Permalink
Hello Toufiq,

I am having the same problem on my website:
http://websites.powerinternet.nl/SO_43266/onderhoud-en-service/dakinspectie

When I am on one of the subpages and I want to go back to 'Onderhoud en Service' nothing happens. I have the newest version of the Qubic template.The 'true' text was already removed from the index.php file. Can you give me advise on how to solve this?

With kind regards,


Hi, Could you send me the Joomla administrator access via pm? Thanks

L. Leijen

More than a month ago #Permalink
Hi, Could you send me the Joomla administrator access via pm? Thanks


Thank you for the reply.
The menu works now, but the menu and the toprow are not fixed anymore..
And the offcanvas menu doesn't work, it links to "#"

Toufiq - Staff

More than a month ago #Permalink
Hi, Please check now. Thanks


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

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 101
Toufiq

Toufiq

Total Accepted Answers: 87
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 86
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 2
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

295672

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us