• hi,

    I have setup my CSS code to change the font family as follows:

    @font-face { font-family: Din-Regular;
    src: url(/public_html/test/Fonts/ufonts.com_din-regular_1_.ttf);
    }

    But it does not seem to change the font style on my website:

    test.propertywealthadvisors.com.au

    What have I done wrong? Please assist.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Adrian

    (@adrianfraguela)

    Your CSS is wrong to get the font installed, you need to change your FONT location to this:

    @font-face { font-family: Din-Regular;
    src: url(Fonts/ufonts.com_din-regular_1_.ttf);
    }

    You then need to declare the font family on the elements you want to apply it to. So something like this:

    body {font-family: Din-Regular }

    Thread Starter designpoint

    (@designpoint)

    Thanks for the quick response.

    Are you able to tell if I applied the font correctly on this page:

    https://test.propertywealthadvisors.com.au/about-us/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change font in pagelines?’ is closed to new replies.