You are here:  » extra links to appear in the Top Bar menu

Active Forum Topics


extra links to appear in the Top Bar menu

Submitted by gahanpip on Mon, 2017-06-26 21:06 in

Hello David

how do I add menu links in the Top Bar and can this be a drop down menu?

Thanks

Philip

Submitted by support on Tue, 2017-06-27 07:20

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

Submitted by gahanpip on Mon, 2017-07-24 20:12

thanks again
Philip

Submitted by gahanpip on Sun, 2018-05-27 18:40

Thank you for that and for getting back on a bank holiday Sunday, beyond the call of duty.

Philip