Page 1 of 1

How to add link on menu bar?

Posted: Tue Dec 29, 2009 7:37 pm
by chessmagic5
Say I have another website which I want to be included in the menu bar on the Open Cart, how do I do it?

Can you also add a page within Open Cart front page?

Re: How to add link on menu bar?

Posted: Tue Dec 29, 2009 8:07 pm
by scot80
- With Standard Template open header.tpl in the folder catalog/view/theme/default/template/common.
- search for div class="div4"
- there are the links for Start, Login, etc.
- You can add a hyperlink with the html-ancor <a> like the other links in there

Could look like this:

Code: Select all

<div class="div5"><a href="http://www.google.com" style="background: url('catalog/view/theme/default/image/icon_google.png') center left no-repeat;">Link to google</a>

<img src="catalog/view/theme/default/image/split.png" alt="" style="position: relative; top: 6px;" />

<div class="div5"><a href="<?php echo $home; ?>" style="background: url('catalog/view/theme/default/image/icon_home.png') center left no-repeat;"><?php echo $text_home; ?></a>

<img src="catalog/view/theme/default/image/split.png" alt="" style="position: relative; top: 6px;" />

etc...

Re: How to add link on menu bar?

Posted: Sun Aug 22, 2010 1:22 am
by CEOself
Thanks, that helped me!