I am new in Hugo. I need some help regarding modify my Hugo template.
I want to remove the underline for the title link in my archive page.
I guess I need to change the following HTML script in my list.html file. But I do not know what do add here.
Thanks a lot for your help.
Wang
This is more a CSS issue. Try this:
a:hover, a:visited, a:link, a:active
{
text-decoration: none;
}
Dear Leo_Merkel,
Thanks a lot for your kind help. But how to insert this CSS code in my Hugo template?
You can create a css file, add that class that @Leo_Merkel mentioned, and reference it in your <head>
. You can put the class in /static/css/custom.css
for instance, then reference it as /css/custom.css
.
See answer from Rick. Tipp: If you really want to work with Hugo you should learn CSS. Very good basic tutorials here: https://www.youtube.com/watch?v=WZ2uqGkHoR0&list=PLLAZ4kZ9dFpNO7ScZFr-WTmtcBY3AN1M7