• Resolved preso

    (@preso)


    I have created a child theme of Simplest. In the parent theme, h2 is underlined. When I try to make h2 normal in my child theme’s CSS, nothing changes. Also, when looking through my parent theme’s style sheet, I don’t find any mention of underlining this text. So, why is this text underlined in the first place?

    How can I alter the font in my child theme? Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Link?

    Absent the specific page the has the problem I can only offer a general bit of help. The CSS for turning on underlining is text-decoration: underline, and for turning it off is text-decoration: none. Changing the font (or anything else) will not effect the text-decoration attribute; you have to do that explicitly.

    Thread Starter preso

    (@preso)

    Thanks for your suggestion. I couldn’t post a link because the theme is not yet live. Since there wasn’t any text-decoration:underline in the parent’s stylesheet, I solved the problem with h1 a, h2 a {text-decoration:none;}

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing font in child theme’ is closed to new replies.