Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

How to "highlight" active article in help center

Beantwortet


Gepostet 29. Sept. 2023

I'm looking for help with the best way to modify our help center template so that the title of the article in our left-hand view is "highlighted" based on if the user is reading that current article. Currently, the sections and categories change color based on where the user is, but not the active article's title. Anyone find a good way to update the template's css or js to do this? 


0

1

1 Kommentar

image avatar

Vlad

The Wise One - 2022Community Moderator

Hey Katie, this should be what you are looking for. Using this liquid HTML, you can easily add a class to the current article from a list.

class="{{#is id ../article.id}}current-article{{/is}}"

0


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post