Forum How do I...?

Suppress underscore on table of contents

JoeT
Hi...

I'm doing a table of contents and it works just fine.
However, the output is appearing as:

topic 3
------------

with the underscore (line, whatever), under each selection.
Is there a way to suppress this line?

TIA
Joe
jim_albright
We will need to see your CSS.

See if you can change the formatting in the CSS. Try adding a color or bold to the text in question.

Jim Albright
Wycliffe Bible Translators

JoeT
Right now, all I have is this:

.toc a::after {
color: #F7BC1E;
/*border-bottom: 2px solid #F7BC1E; */
content: leader("") target-counter(attr(href), page);
}

not sure what else I need to do.
mikeday
Links are underlined by default, just like in browsers. You can disable underlining with this CSS rule:
a { text-decoration: none }