Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

magento top menu -i’m trying to edit the file with no success
 
abcdasilver
Jr. Member
 
Total Posts:  3
Joined:  2013-08-24
 

i’m trying to design the top menu in all the pages of my website on magento, to do so i need to add a div inside the li tag ,like this - but the div doesn’t show, why?

this is the file i’m editing app/design/default/default/template/page/topmenu.phtml

<?php if ($_menu): ?>
<div id="topmenu">
<
div class="nav-container">
    <
ul id="nav" class="clearfix">
        
<?php echo $_menu ?>
        
<li class="last"><div id="extra-div-for-design"></div></li>
    </
ul>
</
div>
</
div>
<?php endif ?>
 
Magento Community Magento Community
Magento Community
Magento Community
 
kieranjfahy
Jr. Member
 
Total Posts:  6
Joined:  2011-05-13
 

Are you using the default template? Also, you can try and turn on the template hints.

Have you cleared the cache?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top