• Resolved olistic

    (@olistic)


    In the posts on my site the cursive text is not shown (it is replaced by the normal font).

    I checked the html code and there is the em tag.

    So I searched in the css files and there it is correctly set (main.css -> font-family:’Overlock’, cursive // style.css -> @import url(‘https://fonts.googleapis.com/css2? family=Overlock:ital,wght@0,400;0,700;1,400;1,700&display=swap’))

    Why, then, is the italics not visible?

    Thanks in advance for any suggestion!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • In the style file of your theme, the formatting for em is set as it is currently seen:

    dfn, cite, em, i {
     font-style: normal;
    }

    You can customize this with

    body em { font-style: italic; }

    which you have to insert under Appeareance > Customizer > Additional CSS.

    Thread Starter olistic

    (@olistic)

    First of all, thank you for your reply.

    I’ve set that font-style as italic and it works ??

    (so i didn’t need to add the custom css)

    Thread Starter olistic

    (@olistic)

    It works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cursive text is not shown’ is closed to new replies.