• Resolved freakency

    (@freakency)


    We have issue where when you choose the letter the page loses the Custom Fonts (brainstorm force). It causes a font loading error. This only happens on the Alphabetical pagination pages. It throws an error in dev tools

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Dear Friend,

    Troubleshooting is not a bad thing, and my time is equally important as yours. You are using a cache plugin, which is behaving differently on both pages. Flat shop page is using the custom font from your uploads directory which you uploaded through the library and the other paginated version is using the older one which you used maybe earlier directly through the googleapis.com.

    Isn’t it easy to post a topic on support forum than researching about the problem you are facing? Kindly reconsider the complete research next time.

    Flat shop page version: 
    
    @font-face {
    	font-family: 'Chalk Duster';
    	font-weight: 400;
    	src: url('https://ravenrecordshop.com/wp-content/uploads/2023/09/Chalkduster.ttf') format('truetype');
    }
    @font-face {
    	font-family: 'Krungthep';
    	font-weight: 400;
    	src: url('https://ravenrecordshop.com/wp-content/uploads/2023/09/Krungthep.ttf') format('truetype');
    }		
    Paginated Version:
    
    <link rel='stylesheet' id='astra-google-fonts-css'  media='all' />
    Thread Starter freakency

    (@freakency)

    Hi Fahad,

    I understand you feel I have just posted this without doing any troubleshooting myself. This is not the case here though. I have spent a number of days on this issue. I am fairly sure it is not a cache issue. (I have cleared server cache/cloudflare/local/ There are no other caching plugins. I still have the issue. I have been speaking to Brainstorm force for a number of weeks as I suspected it was an issue with their theme Astra or their Custom Font plugin. They suspected a conflict or error with the Alphabetical pagination plugin. This is why I messaged you. I have gone back to them with your reply as your reply sounded possible regarding an old plugin getting cached or autoloaded. I have checked autoload and can’t see any old font calls from a defunct plugin. There isn’t a cache issue either.

    They have replied after testing your plugin on a completely new install with no cache to see if we still have the error and we do.

    https://bsf.d.pr/v/jjucI1

    This is using Astra theme, woo, and custom fonts. So I am fairly sure at this point we are not looking at an old plugin or cache issue in this case.

    So I think there is definitely an issue with Astra and Alphabetical Pagination. Do you have any other suggestion of how I might get the plugin to work with Astra? I really like the plugin and Astra is one of the most popular themes and I would rather not swop either out if we could get it resolved.

    Apologies again if it looked like I had just posted a problem and just expected you to research it for me.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    I would suggest you to find the code which is enqueuing the googleapi related font path, simple. There is no conflict with the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom fonts’ is closed to new replies.