Support » Plugin: Posts in Sidebar » (Possible addon?) Bold text when selected

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author aldolat

    (@aldolat)

    Good tip! 🙂
    I have just added a “current-post” class so you can highlight the line with bold, background, etc. In the next hours I’ll upload the change to the repository.

    The “current post” class appears only if we are in a single post view AND the post in the sidebar is the same (i.e., has the same ID) as the post in the main body.

    Then you can use your stylesheet to change the look.

    P.S. I’m changing the topic to “Not a support question”.

    Plugin Author aldolat

    (@aldolat)

    The plugin has been updated to 1.6 and is live now.
    Thanks for your idea!

    Bye.

    I’m the one saying thanks, but you are very welcome 🙂

    I have a problem getting it to work though. I updated the plugin, but it doesn’t highlight the selected entry.

    Do I need to add something to my theme stylesheet?

    Plugin Author aldolat

    (@aldolat)

    Do I need to add something to my theme stylesheet?

    Yes, for example a bold-style:

    li.current-post.pis-li { font-weight: bold; }

    or whatever style you like.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘(Possible addon?) Bold text when selected’ is closed to new replies.