-
AuthorPosts
-
August 17, 2017 at 2:28 am #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
August 17, 2017 at 6:02 am #840225Hey vlkwatchman,
I have checked your site and all looks normal. Can you send to us a screenshot?
Best regards,
John TorvikAugust 17, 2017 at 2:05 pm #840381John,
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
August 18, 2017 at 5:08 am #840725bump. help anyone???
August 18, 2017 at 4:51 pm #840928Hi 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,
VictoriaAugust 18, 2017 at 5:40 pm #840965ah, 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
August 22, 2017 at 7:08 am #842330Hi,
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,
IsmaelAugust 22, 2017 at 3:03 pm #842588yes 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
August 23, 2017 at 10:08 am #842941Hmmmm yes the last three links are not being bolded as the page thinks the hidden version is the current item.
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.
August 23, 2017 at 12:49 pm #842994yeah, 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
August 23, 2017 at 4:23 pm #843139The 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
August 23, 2017 at 5:02 pm #843184hey there!
swapped all the menu items out … IT WORKS!
thanks for the idea!!!
we can close this now.
chris
August 24, 2017 at 12:43 pm #843449 -
AuthorPosts
- The topic ‘main menu buttons NOT BOLD when you are on their ANCHORS’ is closed to new replies.