Jump to content

Adding an external page in css navigation

Recommended Posts

this the code for the navigation of a template i want to add an external page in the menu so what should i do for adding an external html page in this menu navigation.



<div id="top-menu">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a class="menu" href="#templatemo_home_page">Home</a></li>
<li><a class="menu" href="#templatemo_service_page">Services</a></li>
<li><a class="menu" href="#templatemo_work_page">Projects</a></li>
<li><a class="menu" href="#templatemo_team_page">Our Team</a></li>
<li><a class="menu" href="#templatemo_contact_page">Contact</a></li>

Link to post
Share on other sites

CSS is presentational, it has nothing to do with how navigation works for menu, its difficult to see what type of navigation this is? hash navigation which uses AJAX (JavaScript along with server script language such as php ), or JavaScript on its own to show/hide content when selected with a single page,


Have you tried just adding a link without '#'


<li><a class="menu" href="google.com">Google</a></li>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...