New Landing How can we help? Atelier change type body font only in one page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #327754
    micol
    Member
    Post count: 24

    hi, i would do you like use garamond font for the body text in this page
    https://www.officinadada.it/about/

    i try to add this code in this page but not works

    body, p, nav {
    font-family: garamond;
    line-height: 18px;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    }

    #327836
    David Martin – Support
    Moderator
    Post count: 20834

    WordPress adds a unique body class or each page which corresponds to the Page ID. View the source to find this:

    You example CSS would be:

    body.page-id-13116 {
        font-family: serif !important;
    }

    This assumes you have correctly added the font “garamond” to your site.

    #327845
    micol
    Member
    Post count: 24

    I add this code but the text change in top bar

    Attachments:
    You must be logged in to view attached files.
    #327848
    David Martin – Support
    Moderator
    Post count: 20834

    Do you only want to the text within the Page Builder to change?

    #327850
    micol
    Member
    Post count: 24

    ok i have resolve

    p {
    font-family: serif !important;
    font-size: 14px;
    line-height: 18px
    }

    #328095
    David Martin – Support
    Moderator
    Post count: 20834

    Glad you got it working!

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register