I want to change the font of my navigation, theme Brooklyn.
I have added the font in assets (in WOFF)
I have tried to use: @font-face { font-family: “NAME OF FONT”; src: url(“NAME-OF-FONT-FILE.woff2”) format(“woff2”), url(“NAME-OF-FONT-FILE.woff”) format(“woff”); }
This is a solution I found within the community but somehow it doesn’t work.
Thank you for your quick response, really appreciated
Step 1: Asset->/theme.scss.liquid->upload your custom font all font tyep = TTF, OTF, WOFF, WOFF2, SVG
I have just uploaded a file called AGaramondPro-Regular.woff according to your explanation
Step 2: Asset->/theme.scss.liquid->paste below code at the bottom of the file.
I have copy pasted the code you sent me and changed the font name accordingly. Please see below. Could you check if this is right? The font has not changed yet
thanks you have user pagefly page buidel also your upload only one font file where is other OTF, TTF, WOFF, and SVG https://pasteboard.co/nfe0P2DtEth6.png
I am still working on my website yuvaliving.com and still unable to change the font of my navigation. I have followed the steps you have given me earlier, but I don’t see a change. May I ask you to check what I am missing?