• Resolved Mike Hindle

    (@mikehindle)


    Hi there.

    My site isn’t live yet so sorry for no link. I’m just trying to figure out how to style the citation text in the quote block. It’s stuck on italics and I just want to turn that off really.

    A screenshot is here if needed.

    Any help would be much appreciated, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Mike,

    Italics is the browser default style for the cite element, which is what’s used there. So we’re not styling that with the theme. However, you can undo that with a little line of CSS:

    .wp-block-quote > cite?{ font-style: normal; }

      Thread Starter Mike Hindle

      (@mikehindle)

      Ah right, understood and thanks for the explanation and CSS to fix it.

      Worked a treat. Much appreciated.

    Viewing 2 replies - 1 through 2 (of 2 total)
    • The topic ‘Quote Citation Text Styling’ is closed to new replies.