.widget-accordion button::before { content: "▶︎ "; } .widget-accordion button[aria-expanded="true"]::before { content: "▼︎ "; }