Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #841393

    I was wondering if there is a way to change fonts on a single page. I am currently changing the fonts under the tab <enfold<general styling<fonts. Which is awesome for changing everything on the site. But is there a way to change to these fonts on only a specified page, or specified areas of the site. Even when I use the advanced styling to specify headings, it will change the side bar as well.

    #841418

    Hey servingpaleo,
    If you find your page ID using the inspector in your browser, you can target one page or an element with code like this:

    
    /* this is for one page */
    body.page-id-1 p { 
        font-family: Raleway;
    }
    /* this is for one element */
    .avia-builder-el-45 p {
        font-family: Raleway;
    }

    2017-08-19_150145

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.