WordPress.org

Support

Support » Themes and Templates » How do I add css classes to individual archive links?

How do I add css classes to individual archive links?

Viewing 1 replies (of 1 total)
  • paulwpxp

    @paulwp

    Font hero

    I would use CSS attribute selector.

    For example, this will make background red for June’s link in archive widget.

    .widget_archive li a[title*="June"] {
    	background: red;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘How do I add css classes to individual archive links?’ is closed to new replies.
Skip to toolbar