Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #840183

    hello there,

    i’m having trouble getting my MAIN MENU ANCHOR LINKS to show BOLD. they used to!

    on my page, my SNEAK PEEK text button becomes bold when you navigate to it on the page.

    THE SHOW and THE HOST do not become bold when you navigate to them.

    please help me! thanks!

    chris

    #840225

    Hey vlkwatchman,

    I have checked your site and all looks normal. Can you send to us a screenshot?

    Best regards,
    John Torvik

    #840381

    John,

    There’s no way.

    When you scroll down to “The Show” and then to “The Host” … the links/buttons are NOT bold.

    This is not “normal.”

    Thanks,

    Chris

    #840725

    bump. help anyone???

    #840928

    Hi Chris,

    There is another menu item, that is hidden, it id the one that gets the class current-menu-item and so gets darker, not bold.

    Best regards,
    Victoria

    #840965

    ah, yes. darker. not bold.

    you are right. i am hiding menu items based on what page you’re on.

    SO … HOW do i specify the CORRECT menu item to be the darker color???

    one menu item has the local anchor. the other is for other pages that bring you back to the anchor on the homepage.

    thanks,

    chris

    #842330

    Hi,

    Did you add any css modifications to the header? The “current-menu-item” class attribute should be added to the anchor link automatically but it’s being added later than it should.

    Best regards,
    Ismael

    #842588

    yes sir. i am using css to hide all menu items globally. then showing only certain menu items on different pages.

    where can i add this “current-menu-item” on the anchor links?

    thanks!

    chris

    #842941

    Hmmmm yes the last three links are not being bolded as the page thinks the hidden version is the current item.

    screenshot

    From the screenshot (which I still can’t embed properly) when on the anchor “the show” it is menu level 6 that should be classed as current-menu-item. The class is being put on menu level 7 which is the hidden one. The same is happening for the other menu items
    Why? No idea.

    You could try and swap the two “the show” menu items round in the back end and see if the current-menu-item class also changes. If it does you’ll have to play about with the menu structure. When on the home page which ever menu item for “the show” has the class current-menu-item will be the one you want to show and not hide. All clear as mud again lol. That will mean any of the custom css to hide menu items will have to be tweaked.

    TJ

    • This reply was modified 7 years, 4 months ago by tjswarbs78.
    #842994

    yeah, i thought about doing this. was hoping there was an easier way … like re-classifying menu buttons somehow.

    ismael wrote this … “The “current-menu-item” class attribute should be added to the anchor link” … is this possible to do?

    thanks!

    chris

    #843139

    The theme will automatically add the current-menu-item class to links I would imagine via a little javascript script. This is getting confused by the extra menu item.

    A script could be written that says when “the show” ID is active add a class of current-menu-item to such a menu button. It may be easier to try and play with the menu structure first though :)

    TJ

    #843184

    hey there!

    swapped all the menu items out … IT WORKS!

    thanks for the idea!!!

    we can close this now.

    chris

    #843449

    Hi,

    Great! Glad you figured it out. :)

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘main menu buttons NOT BOLD when you are on their ANCHORS’ is closed to new replies.