Colored Header With Underline When Hover

Colored Header With Underline When Hover
0.0 0

#1

Hi There,

I was wondering if someone could help me.

I am busy with my personal portfolio and when I try to create my contact page, my header’s color is blue and when I hover over, it gets underlined. I think it has to do with bootstrap.

I can get my text to be black but for some reason I can’t get rid of the underline. I have tried text-decoration: none !important, and that also doesn’t work.

Here is the link to my project: https://codepen.io/mrcj101111/pen/PQVwKP?editors=1100

I would appreciate any help.


#2

On line 47 it seems you are opening an anchor link tag, but it is never closed.

I assume you want to wrap the image with the anchor link, so it should be closed as follows:

<a target="_blank">
   <img src="...">
</a>

When you close the anchor link, the text-underline (applied by default on all text in between <a> </a> tags) disappears.


#3

Thank you so much, I missed that one. It works perfectly now.


#4

Glad to be of help :slight_smile: