Mega Menu on Home Page

HI Joomlart,

I have a problem with the Mega Menu but just on the home page.

The menu is not align with the main navigation (as show on the picture)

Attachment 27538

Could you help?

Thanks,

Allain

4 answers

Profile photo of Sherlock 0.00 $tone May 13, 2013
Public

Hi alagadic,

You can try as following

Open the file of app\design\frontend\default\jm_nerostemplate\page \html\head.phtml, there you look for

PHP Code:

<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery/jquery.js'?>"></script>


Change it to

PHP Code:

<?php if(!defined('JM_ADD_JQUERY')){?>
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery/jquery.js'?>"></script>
<?php  define('JM_ADD_JQUERY'true); ?>


i hope this change helps, if it does not, give me the FTP info for further checking.

#1
Profile photo of Allain Lagadic 0.00 $tone May 13, 2013
Public

Hi Sherlock,

This is not working. I receive this error message on home page:

Parse error: syntax error, unexpected end of file in /home/toogoodc/public_html/app/design/frontend/default/jm_neros/template/page/html/head.phtml on line 95

#2
Profile photo of Sherlock 0.00 $tone May 14, 2013
Public

Sorry alagadic, my mistake, the new code should be

PHP Code:

  <?php if(!defined('JM_ADD_JQUERY')): ?>
    <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery/jquery.js'?>"></script>
    <?php define('JM_ADD_JQUERY'true); ?>
<?php 
endif; ?>

#3

This question is now closed

Written By

Comments