• Resolved Rafa?

    (@ayek)


    Hi!
    Is it possible to modify the exact heading tags with class="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)
  • Steven

    (@shazahm1hotmailcom)

    Sorry, this can only be accomplished by using javascript, if I understand your question correctly.

    Thread Starter Rafa?

    (@ayek)

    Are there any chances to recognize this as a quite handy feature to implement in future releases of EToC?

    In other words – I’ve been seeking for a solution to highlight current entry content
    or
    to show additional info bar, related to current heading (that is pointed at EToC).

    Regards

    Steven

    (@shazahm1hotmailcom)

    Sorry, no, this is not a feature in ezTOC. You would have to implement using custom-developed javascript.

    Thread Starter Rafa?

    (@ayek)

    OK
    Thanks for your good job!

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.