Change underline colour of text links (Narrative)

Hi, I use Narrative and I am a noob :slightly_smiling_face:

I managed to change the colour of my text links in page templates by adding this to theme.scss.liquid:

.template-page .rte a {
color: #242424 ;
}

It worked! But now the underline in text links still show up red. How do I make these also black (#242424) - only in page templates though.

website: officetarot.com

Thank youoouo!

1 Like

Hello,

Add this css

.template-page .rte a:not(.image-link)::after {
    border-bottom: none !important;
}

Thanks

1 Like

@Claudy

Please add the following code at the bottom of your assets/theme.scss.liquid file.

.template-page .rte a:not(.image-link)::after{
    border-bottom: 1px solid #242424 !important;
 }

Hope this helps.

Thanks!

1 Like

wow so quick, amazing. Thank you! I went for the other solution, which added the 1px. But big big thank you!

1 Like