Hello,
I want to add a triangle above the top navigation sub menu.
In wich file do I need to add the code for the triangle?
Hello, I want to add a triangle above the top navigation sub menu. |
_sub_header.html i think. so much to do.... |
I don't see the right code in _sub_header.html. |
Maybe another file? |
Hello You need to take a look at templates/base/scripts/BxBaseMenu.php file -> genTopItem function or similar PHP file/function in your custom template if it's overwritten there. By default you should see the following code <td class="top" {$sActiveStyle} {$sImgTabStyle}> It's used to generate an item in top menu. P.S. _sub_header.html HTML template is used to put the fully generated top menu in. Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV |
I've found the right file but if I put the code for the triangle there I get it under every menu item. ( not only above the sub menu box, what we want ) Is there another line in this file only for the sub menu's? |
Is there not currently an image there? Are we talking about the "+" sign on the menu?
If so you just have to change the image for it. |
Hello I've found the right file but if I put the code for the triangle there I get it under every menu item. ( not only above the sub menu box, what we want ) Is there another line in this file only for the sub menu's? If you mean that you want to add "Triangle" in menu items which have submenus only then you need to check $sMainSubs variable before adding. If it's empty then you don't need to add the "Triangle". Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV |