Changing font on specific hyperlinks

Home Forums Use Any Fonts Changing font on specific hyperlinks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #279211
    Paige
    Guest

    Hi, I want to change the font on the post title hyperlinks but not the font of the menu or links within the blog post. Is there a way to isolate the font of the post titles?

    #279360
    Dinesh
    Keymaster

    Hi Paige,

    Can you please send me your site url ? I will check and let you know.

    Thanks

    #285336
    John
    Guest

    The Use Any Font Plugin is not working when I create affiliate links.

    See this example:

    https://www.321danceparty.com/ref/1/

    and compare to

    https://www.321danceparty.com/

    How do I fix that?

    #286204
    Dinesh
    Keymaster

    Hi John,

    Found that the fonts are not working in both url and there is cross domain issue.

    This is the error i am getting in the console. Access to font at ‘https://321danceparty.com/wp-content/uploads/useanyfont/190313101859BubbleBoddyRegular.woff’ from origin ‘https://www.321danceparty.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    Url with www and without www is marked as different url here and it is not allowing to load the font.

    So please keep this in your htaccess file and this should fix your issue.

    <FilesMatch "\.(ttf|otf|eot|woff|css)$">
      <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
      </IfModule>
    </FilesMatch>

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Changing font on specific hyperlinks’ is closed to new replies.