• Resolved bodhidude

    (@bodhidude)


    Hey all
    I’m having a weird problem with this site using WordPress 2.9.2 and the Deep Silent Theme. There is a navigation bar across the top but when I have more than 5 items (pages) on the navbar the additional pages show up but they are not hyperlinked. Viewing the source for the page they show up with <a> tags with the standard <li> like the other page links but somehow the hyperlinks don’t apply to the last two items on the navbar. Anyway know how this might be happening?
    thanks
    The site is https://www.russianballetacademy.com, check out the contact us and news buttons.

    CSS is here:
    https://wordpress.pastebin.com/4svH3h0p

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s a CSS issue. Consider using display:inline; on your header nav links instead of float:left.

    Thread Starter bodhidude

    (@bodhidude)

    Thanks, I replaced float: left on the #navmenu ul li with display: inline and it did not seem to make a difference.

    Thread Starter bodhidude

    (@bodhidude)

    This is a strange and frustrating problem, I can’t understand how the last two menu items when they are displayed just fine in the nav bar could have their hyperlinks stripped off. I know this is a CSS issue but I can understand whats causing it. Any further help from anyone would be appreciated, its unusable as is.

    in a way, it is a css issue:

    the last menu links are covered by another div:
    in style.css of your theme:

    #headerimg h1{
    	color:#ebeae5;
    	font-size:28px;
    	font-weight:normal;
    	text-transform: uppercase;
    	padding-top:70px;
    	text-align:center;
    	width:570px;
    }

    if you exchange ‘padding-top:70px;’ with ‘margin-top:70px;’ the position of the h1 stays the same, but the menu links are free.

    if you use firefox with the web developer add-on and choose ‘css’ ‘view style information’ and then hover over the elements on the screen, you can very easily and quick see the boundaries of the individual divs.

    Thread Starter bodhidude

    (@bodhidude)

    Thank you very much, that did it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Nav bar menu items losing hyperlinks’ is closed to new replies.