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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...