How do I add css classes to individual archive links? (2 posts)

  1. sevenglaciers
    Posted 3 years ago #

    I want to style my archives widget by replacing each month with a different image.

  2. paulwpxp
    Font hero
    Posted 3 years ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Topic