The intranet site won't have access to the internet so I will need to host the font files locally on the Wordpress site.Ĭan I take it that when I upload the site to a web server everything will show OK? And why do I need the font file on my mac for it to show with a declaration. This is an important step to avoid errors. The formatting and contents of the posts may not display perfectly. The archive contains over 1,600 articles written over a ten year period. You are viewing an archived post from my old WordPress blog. When you click the choose button, MAMP will ask you to create a folder within the destination folder. The default password for MySQL under MAMP Historical content: I wrote this article over 10 years ago on. Give your host a name and choose a destination folder. The site in development is going to be both a website and also a different version as an intranet site. When the dialog box appears, click the WordPress icon, then click continue. ![]() I can't work out why this is only happening with the google font. I've tested another non-google font and it works fine without it being in Font Book on my mac, so I know the files are in the correct location etc. font-family: 'Poppins-Regular' ) but it seems to be calling the font from Font Book (my system fonts) and not the local files in my Wordpress site. ![]() This worries me, because it shows my code is correct (i.e. When I'm running mamp I can connect to my wordpress site through localhost:8888 on my new computer but I cannot reach wp-login to enable me to login or edit my site. Now, when I do the normal declaration, the font only shows on the localhost website if the font is installed in Font Book on my mac (i.e. I've also copied the Wordpress folder over to htdocs in my mamp folder. ![]() I have placed these files locally on my Wordpress site in development on a localhost Mamp site. I have downloaded a Google web font (Poppins) and converted it to the necessary formats (.woff.
0 Comments
Leave a Reply. |