Applying styles to <li> elements in the ToC

Created on 15 August 2024, 4 months ago

Problem/Motivation

Please forgive me if I am being a bit dim here but I cannot quite understand the guidance attached this input field in the block configuration form…

I do not understand how the input can be used to specify both the prefix and classes?

What I would like to a achieve is for each list item to be a button (BS 5) so I would like to apply the btn class like this…

<li class="toc-h1 btn toc-active">

Is that possible?

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024