WordPress.org

Support

Support » Themes and Templates » Killing a top level link using # not working that good

Killing a top level link using # not working that good

  • I’m wondering why when using sub menu items the main link in the menu goes bold and ugly.

    I’ve been using the regular mysite.com/# to kill of a couple of top level links in my main menu but then that particular top level link goes bold and ugly unlike when using an actual page for the top level which makes the menu look nice and normal.

    Since I don’t have use for an actual page on the top level I wonder if anyone have any ideas of how to fix this problem cause so far I’ve not managed to figure it out on my own.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Could we have a link to the site so that we can see the issue first hand and hopefully be able to work out a solution for you?

    I won’t provide links to any websites.

    I need a solution or explanation on why the # way of “unlinking” a top level menu item is making the top level item go bold in Twenty Fourteen.

    Moderator stephencottontail

    @stephencottontail

    I don’t understand why you’re so adamant about not providing a website. Is it not completed yet? Anyway, get a custom CSS plugin (or make a child theme) and put this code:

    .site-navigation .current_page_item > a,
    .site-navigation .current_page_ancestor > a,
    .site-navigation .current-menu-item > a,
    .site-navigation .current-menu-ancestor > a {
    	color: #fff;
    	font-weight: normal;
    }

    I will try the custom css and see if that does the trick, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Killing a top level link using # not working that good’ is closed to new replies.