WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Fourteen
Killing a top level link using # not working that good (5 posts)

  1. lillastina
    Member
    Posted 10 months ago #

    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.

  2. Zulfikar Nore
    Member
    Posted 10 months ago #

    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?

  3. lillastina
    Member
    Posted 10 months ago #

    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.

  4. stephencottontail
    Member
    Posted 10 months ago #

    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;
    }
  5. lillastina
    Member
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic