August 26, 20179 yr Hi, Please see the below linked image showing my issue. All im going to say is Contact. http://prntscr.com/gdddd6 HTML: <header class="header-one" id="HOME"> <div class=""> <!-- NAVIGATION --> <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button class="navbar-toggle collapsed" data-target="#my-navbar-collapse" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class= "icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <!-- TEMPLATE LOGO --> <div class="navbar-brand"> <a href="#"><img alt="img" src="images/logo.png"></a> </div> </div> <div class="collapse navbar-collapse" id="my-navbar-collapse"> <ul class="nav navbar-nav navbar-right" id="nav"> <li class="active"> <a href="">HOME</a> </li> <li> <a href="https://members-area.bostonrowingclub.co.uk">MEMBERS AREA</a> </li> <li> <a href="#ABOUT">ABOUT</a> </li> <li> <a href="#GALLERY">GALLERY</a> </li> <li> <a href="#NEWS">NEWS</a> </li> <li class="has-sub-menu"> <a href="#UPCOMING">(UPCOMING) EVENTS</a> <ul class="sub-menu"> <!-- **EVENT WITH NO SUB CATEGORY** <li> <a href="Evemt.html">Event</a> </li> !--> <li class="has-sub-menu"> <a href="head.html">HEAD</a> <ul class="sub-menu"> <li> <a href="single-right-sidebar.html">Overview</a> </li> <li> <a href="single-left-sidebar.html">Competitors Info</a> </li> <li> <a href="single-full-width.html">Entries</a> </li> <li> <a href="single-left-sidebar.html">Records</a> </li> </ul> </li> </ul> </li> <li class="has-sub-menu"> <a href="marathon.html">MARATHON</a> <ul class="sub-menu"> <li> <a href="single-right-sidebar.html">Overview</a> </li> <li> <a href="single-left-sidebar.html">Competitors Info</a> </li> <li> <a href="single-full-width.html">Entries</a> </li> <li> <a href="single-left-sidebar.html">Records</a> </li> </ul> </li> </ul> <ul> <li class="last"> <a href="index.html#CONTACT">CONTACT</a> </li> </ul> </div> </div> </nav> </div> </header>
August 26, 20179 yr Provide a link to the site - it's much easier to diagnose the problem (which is probably your CSS not the actual nav bar).
August 26, 20179 yr Author Provide a link to the site - it's much easier to diagnose the problem (which is probably your CSS not the actual nav bar). Hi, I'll just upload it temporarily now. Kind regards, Lewis.
August 26, 20179 yr Author Provide a link to the site - it's much easier to diagnose the problem (which is probably your CSS not the actual nav bar). Hi, I'll just upload it temporarily now. Kind regards, Lewis. Hi, As a quick note I have not changed the CSS for a while so I know the issue lies with the HTML somewhere. The link is: http://www.bostonrowingclub.blacklabelhost.com Kind regards, Lewis. Edited August 26, 20179 yr by Louwwieee42
August 26, 20179 yr The contact list item isn't in the same list as the rest of the nav. And in any case the nav bar jumps to the hamburger as soon as the screen gets a bit narrow. That's a CSS issue Edited August 26, 20179 yr by fisicx
August 26, 20179 yr Author The contact list item isn't in the same list as the rest of the nav. And in any case the nav bar jumps to the hamburger as soon as the screen gets a bit narrow. That's a CSS issue Sorry i'm new to all of this, how would I go about resolving these issues?
August 26, 20179 yr You need to edit the code. I don't know how you are building the site but whatever method it is you need to be in code view and shift the link back into the main <UL>...</UL> It's late here in the UK. I'll look again tomorrow if nobody else has managed to help in the meantime
August 27, 20179 yr Author Hi, Upon removing these the 'contact' nav link goes back in line but the whole bar shifts down page slightly. http://prntscr.com/gdkahe
August 27, 20179 yr Which means the 'contact' link isn't quite in the right place in the code. From the screenshot, delete lines 152 to 156 Then paste <li class="last"> <a href="index.html#CONTACT">CONTACT</a> </li> between lines 148 and 149 That should fix things But there are still a whole load of things need fixing - anything less than a wide screen really messes with the navbar. Edited August 27, 20179 yr by fisicx
August 27, 20179 yr Author Which means the 'contact' link isn't quite in the right place in the code. From the screenshot, delete lines 152 to 156 Then paste <li class="last"> <a href="index.html#CONTACT">CONTACT</a> </li> between lines 148 and 149 That should fix things But there are still a whole load of things need fixing - anything less than a wide screen really messes with the navbar. Hi, I agree regarding the other issues, which is why im looking for some help with that too. Please see the below screen shots. http://prntscr.com/gdmf8j and http://prntscr.com/gdmfo5
August 27, 20179 yr It's still not in the right place. The <li>...</li> needs be inside the closing </ul> of the main navigation list. Change this: <li> <a href="single-left-sidebar.html">Records</a> </li> </ul> </li> </ul> <ul> <li class="last"> <a href="index.html#CONTACT">CONTACT</a> </li> </ul> To this: <li> <a href="single-left-sidebar.html">Records</a> </li> </ul> </li> <li class="last"> <a href="index.html#CONTACT">CONTACT</a> </li> </ul> But it's really not going to work how you want it to even if you do get the Contact in the right place. The whole thing uses bootstrap which isn't the best basis for any website.
August 27, 20179 yr Author I have done it. http://prntscr.com/gdmre6 Everything was fine and just how I wanted it Nav Bar wise anyway until it broke.
August 27, 20179 yr It's got do to with how the lists a structured. You have a primary <ul> which holds all the top leve nav items. The last of these is the 'contact' link. Within the list items you have a nested <ul> which holds the dropdown list items. You have got something awry with the list structures. Unless you make it live it's not possible to give any further advice
August 27, 20179 yr Author I'll upload the new version to the test site now. It was all working okay so i know my CSS and that is fine it's just some Tag issues or whatever somewhere. The link is: https://bostonrowingclub.blacklabelhost.com EDIT: The new version is now live. Edited August 27, 20179 yr by Louwwieee42
August 27, 20179 yr You have got the 'contact' list item inside the 'events' submenu. Move it outside the list item for upcoming events. It's been the same issue the whole time - your list structures are all messed up. If you want me to fix this send the file to graham @ aerin.co.uk
August 27, 20179 yr Author You have got the 'contact' list item inside the 'events' submenu. Move it outside the list item for upcoming events. It's been the same issue the whole time - your list structures are all messed up. If you want me to fix this send the file to graham @ aerin.co.uk Hey, In-case you haven't already seen I have emailed you. Kind regards, Lewis.
Create an account or sign in to comment