[Bug report] Simple v3.0.1.0 - miss class="active" in menu type "Post index link" #1749
-
Operating systemmacOS Sequoia 15.0.1 Publii version0.46.1 Issue typeApplication Bug descriptionMy homepage is a simple page. In my menu, I've add a link to my blog, using "Post index link" type link. Steps to reproduceNew website Relevant log outputNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I do not think this is a bug. I have never noticed this type of feature when using the Simple theme. This is probably something that has to be set in the theme. By the way you did not mention setting the post prefix to a specific value in your list of steps. This needs to be done as well: |
Beta Was this translation helpful? Give feedback.
-
When using the Simple theme, you just have to add this custum css
And you get the activ menu item in bold when it links to a Page. It doesn't work if it links to a post or the blog. @bjazmoore, yes, I've set the post prefix to "blog" Any idea to get the blog menu bold when active? Any hack? |
Beta Was this translation helpful? Give feedback.
-
Finally, I've just found a workaround:
Then, when you are on the list blog, or in a post, the Blog menu item will be bolded. :D |
Beta Was this translation helpful? Give feedback.
Finally, I've just found a workaround:
<style> .navbar .navbar__menu li.blog {font-variation-settings: "wght" 700}</style>
[BOLDBLOGMENU]
[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