Support » Theme: Virtue » The style of “heading 1” passed on to misc elements

  • I want the first level headings to have a different font than anything else, so I go to Appearance -> Theme Options -> Typography and change the font family at “H1 Headings”.

    However, this font seems to be passed on to various other elements that are far from being level 1 headings, like the date of posts, “Add to cart” button, and “Back to Shop Category” link.

    It seems unnatural, so maybe I’m doing something incorrectly. Is there a way to set font only to the H1 headings?

    (The site I’m experimenting with is not public, but on a local PC, having all the latest versions installed a couple of days ago.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey,
    This is a theme thing, it doesn’t work for every design so you can override with a little css:

    body .headerfont {
        font-family: Lato;
    }

    That will make those other items that take on the font family of the h1 setting to be whatever font family you want.

    You can add css in your theme options > advanced settings

    Ben
    Kadence Themes

    Thread Starter Jānis Elmeris

    (@jaanise)

    Thanks for the tip!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The style of “heading 1” passed on to misc elements’ is closed to new replies.