Is it possible to add a class to entry content heading?
-
Hi!
Is it possible to modify the exact heading tags withclass="active"
, by toggling it, same as EToC navigation items?<h2 class="active"> <span class="ez-toc-section" id="my-heading"></span> My Heading <span class="ez-toc-section-end"></span> </h2>
Thanks to this I would style content after active heading, e.g.
H2.active ~ P.highlight { position: fixed }
Have a great day! ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Is it possible to add a class to entry content heading?’ is closed to new replies.