Skip to content

[Bug report] Simple v3.0.1.0 - miss class="active" in menu type "Post index link" #1749

Answered by Vinc26
Vinc26 asked this question in Bug Report
Discussion options

You must be logged in to vote

Finally, I've just found a workaround:

  • Add a class to the menu item, like "blog"
  • In the Custom HTML "After Every post", add: <style> .navbar .navbar__menu li.blog {font-variation-settings: "wght" 700}</style>
  • In the Them > Layout > Hero Section, add as sample [BOLDBLOGMENU]
  • Using a plugin like Smart Replacer or Key Replacement, replace [BOLDBLOGMENU] by <style> .navbar .navbar__menu li.blog {font-variation-settings: "wght" 700}</style>

Then, when you are on the list blog, or in a post, the Blog menu item will be bolded. :D

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Vinc26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants