• I’m relatively new to wordpress with a basic understanding of CSS, HTML etc. I’ve pretty much finished my site, just adding the last images and final touches. Really want to use a custom font (not google etc) with the Opulus Sombre Theme, having tried several tutorials I still can’t seem to use a custom font for this theme.

    I’ve uploaded the font files and tried to change the font family in the pages but can’t seem to get it to work. I know I probably need to change the themes CSS but can’t see what it is in the CSS that i need to change.

    Any suggestions? if you solve this then you are my hero ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Rascal

    If possible please provide a link to your site and the font and maybe the code (via pastebin.com) you have implemented.

    Thread Starter Rascal87

    (@rascal87)

    https://ld-designs.co.uk/
    font i like is Sansation ( i have it in all formats)
    https://pastebin.com/e4rAey3L copy of the CSS

    Also please note my website is a complete mess right now lol.

    Thanks

    I don’t see any mention of Sansation in your css or source code… how are you implementing it?

    Thread Starter Rascal87

    (@rascal87)

    yeah, sorry i forgot i took it back out, as it did nothing. I’ve tried using the whole @font method in the Opulus Sombre Theme CSS. I also uploaded it to my directory then was told just to edit the ‘font-family’ in the page text from Helvetica to Sansation and that didn’t work. so now I’m pretty sure i can put it in the CSS i copied just not sure where as when i try it still reverts back to Helvetica, Arial etc :/

    You still need to apply it to page elements for it to take affect.

    body {
        font-family: 'sansationregular';
    }

    Thread Starter Rascal87

    (@rascal87)

    finally got some free time to try this again, it now works properly using the @fontface method- just had to put it in the ‘general settings’ part of Opulus Sombre CSS, upload font files to theme folder and Had to use

    ‘<span style=”font-family: sansationregular; font-weight: normal; font-style: normal;”>’

    No idea why this didn’t work before but it’s there for anyone else who’s having trouble… Thanks for your comments ppl

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to customise the font’ is closed to new replies.