Title: Feature request: current-post, current-archive, current-tag CSS classes
Last modified: August 19, 2016

---

# Feature request: current-post, current-archive, current-tag CSS classes

 *  [ymf](https://wordpress.org/support/users/ymf/)
 * (@ymf)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/feature-request-current-post-current-archive-current-tag-css-classes/)
 * There exist CSS classes **current-cat** and **current-cat-parent** allowing different
   styling of **Current Category** in the “_Category_” widget.
 * There exist CSS classes **current_page_item**, **current_page_parent** and **
   current_page_ancestor** allowing different styling of **Current Page** in the“
   _Pages_” widget.
 * But there are _no_ CSS classes supporting **Current Post / Archive / Tag** in
   the “_Recent Posts_” / “_Archives_” / “_Tag Cloud_” widgets respectively.
 * I suggest:
    - adding the new CSS class **current-post** allowing different styling of **
      Current Post** in the “_Recent Posts_” widget;
    - adding the new CSS class **current-archive** allowing different styling of**
      Current Archive** in the “_Archives_” widget;
    - and adding the new CSS class **current-tag** allowing different styling of**
      Current Tag** in the “_Tag Cloud_” widget.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [James Mehorter](https://wordpress.org/support/users/jamesmehorter/)
 * (@jamesmehorter)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/feature-request-current-post-current-archive-current-tag-css-classes/#post-1407039)
 * Agreed!!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/feature-request-current-post-current-archive-current-tag-css-classes/#post-1407040)
 * Duplicate request: [http://wordpress.org/support/topic/348503](http://wordpress.org/support/topic/348503)
 *  [fouadovic](https://wordpress.org/support/users/fouadovic/)
 * (@fouadovic)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/feature-request-current-post-current-archive-current-tag-css-classes/#post-1407048)
 * Here’s the solution i found:
    [http://css-tricks.com/snippets/wordpress/list-posts-highlight-current/](http://css-tricks.com/snippets/wordpress/list-posts-highlight-current/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Feature request: current-post, current-archive, current-tag CSS classes’
is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 3 replies
 * 4 participants
 * Last reply from: [fouadovic](https://wordpress.org/support/users/fouadovic/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/feature-request-current-post-current-archive-current-tag-css-classes/#post-1407048)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
