• Resolved peterjem

    (@peterjem)


    Hello,
    Is it possible to highlight the opened post in the sidebar?
    Tried this trick, but no success.

    .same-category-post-current {
       background-color: #F0F8FF;
       color: #00000;
    }

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Floeter

    (@kometschuh)

    It’s right. But try a more specific selector and use !important for override all your Theme’s styling:

    .same_category-post-current a {
        color: red !important;
    }
    
    .same_category-post-current {
        background-color: #F0F8FF !important;
    }
    Thread Starter peterjem

    (@peterjem)

    Thanks a lot, it worked.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hightlighting current post’ is closed to new replies.