Hello David
how do I add menu links in the Top Bar and can this be a drop down menu?
Thanks
Philip
Hi Philip,
Sure - if you edit html/menu.php you'll find the left hand menu area (category, merchant / brand items) opened at line 19:
<ul class='left'>
...and the right-hand menu area where the Voucher Code and My Shopping List (if enabled) appear opened at line 49:
<ul class='right'>
Within either list depending on which side you want the menu to appear, you can insert a single link as list item for example:
<li><a href='/contact.php'>Contact Us</a></li>
Or to make a drop-down, for example:
<li class="has-dropdown"> <a href="#">About example.com</a> <ul class="dropdown"> <li><a href='/contact.php'>Contact Us</a></li> <li><a href='/privacy.php'>Privacy Policy</a></li> </ul> </li>
There's lots more functionality in Foundation 5's top bar not used in the template, for other ideas check out the documentation at;
http://foundation.zurb.com/sites/docs/v/5.5.3/components/topbar.html
Hope this helps!
Cheers, David. -- PriceTapestry.com
thanks again Philip
Thank you for that and for getting back on a bank holiday Sunday, beyond the call of duty.
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hi Philip,
Sure - if you edit html/menu.php you'll find the left hand menu area (category, merchant / brand items) opened at line 19:
<ul class='left'>
...and the right-hand menu area where the Voucher Code and My Shopping List (if enabled) appear opened at line 49:
<ul class='right'>
Within either list depending on which side you want the menu to appear, you can insert a single link as list item for example:
<li><a href='/contact.php'>Contact Us</a></li>
Or to make a drop-down, for example:
<li class="has-dropdown">
<a href="#">About example.com</a>
<ul class="dropdown">
<li><a href='/contact.php'>Contact Us</a></li>
<li><a href='/privacy.php'>Privacy Policy</a></li>
</ul>
</li>
There's lots more functionality in Foundation 5's top bar not used in the template, for other ideas check out the documentation at;
http://foundation.zurb.com/sites/docs/v/5.5.3/components/topbar.html
Hope this helps!
Cheers,
David.
--
PriceTapestry.com