• Resolved vildemiou123

    (@vildemiou123)


    Hi. I am creating my own theme in wordpress. And for some reason my headers are blue with an underline. I belive it is a matter of simple css. but i cant seem to figure out what to do to remove it. Any ideas? Would love some help as I am stuck.

    Thank you so much

Viewing 3 replies - 1 through 3 (of 3 total)
  • This css should solve your problem with underlines and color (replace black with the colour you want)
    h1 {text-decoration: none !important; color: black !important }

    If this will not help, please provide more details – the code or the link to an example

    Since this is your own theme, you may not have any CSS at all saying how it should look and your browser is just using the default which is usually blue with an underline.

    Here’s some info: https://www.w3schools.com/css/css_link.asp

    To make all links black with underline with a different color when hovering:

    h1 a , h1 a:visited {
      color: #000000;
      text-decoration: none;
    }
    h1 a:hover {
      color: #0f3647;
    }

    Thread Starter vildemiou123

    (@vildemiou123)

    Thank you so much, problem solved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘underline on all headers’ is closed to new replies.