Changing font

This topic contains 4 replies, has 2 voices, and was last updated by  Hesham 3 years, 1 month ago.

  • Author
  • #6000

    Carl Street

    Hi Hesham

    I’d like to change the font that all the WP Rich Snippets boxes use (I don’t want them to just use the primary font that my website uses). Is there an easy way to accomplish this via some custom CSS? I figured I’d ask before digging into the CSS myself.

    Thank you!

  • #6002


    Hi Carl,

    You can use this class: wprs_container, so you can change the font by adding o your theme’s style file:

    .wprs_container {}

    I hope this helps.

    • #6004

      Carl Street

      Thanks Hesham – that worked for the review box. Is there separate CSS for the Pros/Cons box?

      I’m also using the CTA, Ranking Table, and Compare add-ons – can you also tell me what CSS properties I need to change to affect those fonts?

  • #6006

    Carl Street

    Think I figured it out – I changed these and it seems to be working – correct me if I’m wrong:

    Pros Box = .wprs_pros {}

    Cons Box = .wprs_cons {}

    CTA Box = .wprs_cta {}

    Comparison Table = .table-responsive {}

    The Ranking Table is using its own fonts that I’m fine with

  • #6034


    Yes, that is correct. Glad you’ve made it to work.

The forum ‘WP Rich Snippets Plugin’ is closed to new topics and replies.