• Good morning,

    This is my website. (http://dimitrisouzounis.com)
    I can’t get my menu work properly, meaning that when i choose “Home” there is indeed an underline under the word “Home” which appoints the menu location i am, right now. However, when i choose the rest of the menu items this doesn’t happen. I’ve figured out that my “home” page is a “Page” and the rest of the menu pages are “Posts”, linked as menu items.
    Here is the header for your own convinience (https://www.dropbox.com/s/jdfhlnvm5a7b2ul/header.php).
    Is there any way to make this work for the rest of the menu items, as well as my home page?

    Many thanks,
    Nebereth

Viewing 5 replies - 1 through 5 (of 5 total)
  • J M

    (@hiphopinenglish)

    The following styling is applied to menu items with “current-menu-item” class applied:

    .sf-menu li.current-menu-item a {
        border-bottom: 4px solid #ED1C24;
    }

    The problem is, only your “Home” button is receiving this class. I can’t see why this class is not getting applied, though I have a suspicion it’s to do with the Superfish script you/your theme is using. See if you can hunt down the cause now that you know the likely problem.

    Thread Starter Nebereth

    (@nebereth)

    Thanks for your reply.

    To be honest, i am not too familiar with html, that’s why i came here to ask for advices. 🙂 I’ve found the…
    .sf-menu li.current-menu-item a {
    border-bottom: 4px solid #ED1C24;
    }

    but i have no clue why isn’t applied on the rest of the menu items. Maybe, as i’ve already said before, it’s the fact that the rest of the menu items are posts instead of pages. Not sure, just saying.

    J M

    (@hiphopinenglish)

    Be sure to use complete URLs rather than relative ones.

    i.e. for your “Work” header, use http://www.dimitrisouzounis.com/?p=29 rather than /p=29. You could also try adding a trailing slash, like so: http://www.dimitrisouzounis.com/?p=29/.

    Note, I’ve found this has helped other people, I haven’t had this problem myself.

    Thread Starter Nebereth

    (@nebereth)

    The problem has been solved by using the default permalink settings. You were right about the Superfish script. It recognizes only the page id, rather than the custom names.

    If you know a way to make this work, since i’ve hunted down the problem, please post it below. If not, it’s ok.

    Thank you so much for helping out with my technical issue. It’s very appreciated.

    God bless,
    Nick

    J M

    (@hiphopinenglish)

    This seems like a good solution. If it’s working fine for you then I’d say leave it like that. Glad we got it sorted, and no problems!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Main menu selection underline doesn't work properly.’ is closed to new replies.