MyBB Community Forums

Full Version: Change menus "help" into website link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where it says Home Memberlist Contact and Help, I want to replace "help" with "website" and when you click it, it should open "www.mywebsite.com" instead of "mywebsite.com/help".

Here is the code 


<nav class="main-menu float-left ">
 <ul>
<li class="line-right"><a href="{$mybb->settings['bburl']}/index.php" title="">Home</a></li>
<li class="line-right"><a href="{$mybb->settings['bburl']}/memberlist.php" title="">Memberlist</a></li>
<li class="line-right"><a href="{$mybb->settings['bburl']}/contact.php" title="">Contact</a></li>
<li class="#line-right"><a href="#index.html" title="">Help</a></li> 
</ul>
</nav>

Thanks a lot in advance!
Change

<li class="#line-right"><a href="#index.html" title="">Help</a></li>

to

<li class="#line-right"><a href="www.website.com" title="view site">Website</a></li>

(2019-07-24, 05:34 PM)Wildcard Wrote: [ -> ]Change

<li class="#line-right"><a href="#index.html" title="">Help</a></li>

to

<li class="#line-right"><a href="www.website.com" title="view site">Website</a></li>

Opens 
https://www.mywebsite.com/forum/www.mywebsite.com
(2019-07-24, 05:40 PM)lukericherman Wrote: [ -> ]Opens https://www.mywebsite.com/forum/www.mywebsite.com

Of course it does. I just used the URL you gave us in the OP.

You have to change www.website.com to whatever the actual URL is.
And think it must be the full url, with the leading http(s):// (also called scheme)